Skip to main content
POST
Create capture session token
Create a temporary authentication token for capture sessions. Use this to generate short-lived tokens for client-side SDK authentication without exposing your API key.
  • Tokens are short-lived and expire after the specified duration (default: 24 hours)
  • user_id identifies the end user for partner tracking
  • Use these tokens in client-side applications instead of your main API key

Create Session

Create a capture session

Privacy Controls

Capture privacy controls

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Body

application/json
user_id
string

End user identifier for partner tracking

Example:

"user-123"

expires_in
integer
default:86400

Token validity in seconds

Example:

86400

Response

200 - application/json

Session token created

success
boolean
Example:

true

data
object