Skip to main content
POST
/
sdk
/
create-session
Create a verification session
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"
    }
  }
}

Authorizations

Authorization
string
header
required

API key with Bearer prefix (e.g., 'Bearer bs_live_sk_...')

Body

application/json

The body is of type object.

Response

Session created successfully

data
object
required