GET
/
v1
/
pathway
/
session
Get Pathway Session Token
curl --request GET \
  --url https://api.bland.ai/v1/pathway/session \
  --header 'authorization: <authorization>'
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires_at": "2024-01-15T15:30:00.000Z"
}

Headers

authorization
string
required
Your API key for authentication.

Response

token
string
The generated pathway session token.
expires_at
string
ISO 8601 timestamp indicating when the token expires (1 hour from creation).

Response Codes

201
success
Token created successfully.
401
error
Unauthorized - User authentication required.
500
error
Internal server error - Token creation failed or unexpected error occurred.
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expires_at": "2024-01-15T15:30:00.000Z"
}