---
title: "Retrieve the browser ID"
slug: "retrieve-the-browser-id"
abstract: "How to retrieve the browser ID when making direct HTTP requests (Sitecore CDP Stream API)."
---
# Retrieve the browser ID

`GET /v1.2/browser/create.json?client_key=client_key`

Retrieves the [browser ID](https://doc.sitecore.com/cdp/en/developers/api/integrating-with-sitecore-cdp/understanding-integration-details/browser-id.html "Browser ID") from Sitecore CDP using the Browser API (Stream API type). In the response, the `ref` key contains the browser ID.

You must include the browser ID in every follow-up request that you make to Sitecore CDP.

sidebar. Parameters

| Parameter | Type | Description | Example |
| --- | --- | --- | --- |
| `client_key` | string | Your [client key](https://doc.sitecore.com/cdp/en/developers/api/stream-api/direct-http-requests-reference/collect-required-details.html). | `ZpHxO9WvLOfQRVPlvo0BqB8YjGYuFfNe` |

```curl
curl -X GET -g '<baseURL>/v1.2/browser/create.json?client_key=<client_key>'

```

```json
{
    "status": "OK",
    "version": "1.2",
    "client_key": "ZpHxO9WvLOfQRVPlvo0BqB8YjGYuFfNe",
    "ref": "a38b230c-11eb-4cf9-8d5d-274e9f344925​",
    "customer_ref": "f7aabbca-1c1b-4fc2-be72-3e16294a4f03"
}

```