Skip to content

Create an anonymous session

Request

Creates an anonymous session.

Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Query
tokenstring

Required if browser fingerprinting is enabled on the CDN. This token is retrieved from the GET /blaize/browser-fingerprint flow.

fingerprintstring

Required if browser fingerprinting is enabled on the CDN, the fingerprint retrieved from the GET /blaize/browser-fingerprint flow.

cURL
curl -i -X POST \
  'https://demo-site/blaize/anonymous-session?token=string&fingerprint=string' \
  -b blaize_session=YOUR_API_KEY_HERE

Responses

Created

Headers
Bodyapplication/json
messagestring
Example:"Anonymous session created successfully"
tracking_idstring
Response
{ "message": "Anonymous session created successfully", "tracking_id": "33d576c7-d036-40e7-8141-8a91998a5c79" }