cURL
curl --request POST \ --url https://api.botshield.ai/operations/sdk/create-session \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "data": { "session_token": "bss_abc123xyz", "expires_at": "2023-11-07T05:31:56Z", "expires_in_seconds": 300, "organization": { "id": "<string>", "environment": "development" } } }
API key with Bearer prefix (e.g., 'Bearer bs_live_sk_...')
The body is of type object.
object
Session created successfully
Show child attributes