Retrieve the browser ID
GET /v1.2/browser/create.json?client_key=client_key
Retrieves the browser ID from Sitecore Personalize 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 Personalize.
RequestResponse
curl -X GET -g '<baseURL>/v1.2/browser/create.json?client_key=<client_key>'
RequestResponse
{
"status": "OK",
"version": "1.2",
"client_key": "ZpHxO9WvLOfQRVPlvo0BqB8YjGYuFfNe",
"ref": "a38b230c-11eb-4cf9-8d5d-274e9f344925",
"customer_ref": "f7aabbca-1c1b-4fc2-be72-3e16294a4f03"
}