curl --request GET \
--url https://api.bland.ai/v1/pathway/session \
--header 'authorization: <authorization>'{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2024-01-15T15:30:00.000Z"
}
Creates a new pathway session token for the authenticated user. This token can be used to access pathway chat and expires after 1 hour.
curl --request GET \
--url https://api.bland.ai/v1/pathway/session \
--header 'authorization: <authorization>'{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2024-01-15T15:30:00.000Z"
}
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_at": "2024-01-15T15:30:00.000Z"
}
Was this page helpful?