VoiceStudioDocs
Local reference

Sessions and authentication

POST
/api/auth/session

Request Body

application/json

transport*Transport

Value in

  • "cookie"
  • "bearer"

Response Body

application/json

application/json

bash
curl -X POST "https://example.com/api/auth/session" \
  -H "Content-Type: application/json" \
  -d '{
    "transport": "cookie"
  }'
json
null
DELETE
/api/auth/session

Response Body

bash
curl -X DELETE "https://example.com/api/auth/session"
Empty
POST
/api/auth/ws-ticket

Request Body

application/json

path*Path

Response Body

application/json

application/json

bash
curl -X POST "https://example.com/api/auth/ws-ticket" \
  -H "Content-Type: application/json" \
  -d '{
    "path": "string"
  }'
json
null