Sessions

Get Session Info

Get detailed information about a specific session.

Home/Docs/Get Session Info

Endpoint

Get detailed information about a specific session.

Request
GET /sessions/{sessionId}

Authentication

Every request must include a Bearer token in the Authorization header. Missing or invalid API keys return 401 Unauthorized.

Header
Authorization: Bearer YOUR_API_KEY

Path Parameters

FieldTypeRequiredDescription
sessionIdstringYesSession unique identifier

Response: SessionInfo

FieldTypeDescription
uniqueSessionIdstringSession unique identifier
sessionNamestringHuman-readable session name
phoneNumberstringAssociated phone number
statusstringCurrent status: STARTING, CONNECTED, STOPPED, QR_REQUIRED, or ERROR
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last-update timestamp
configSessionConfigSession configuration

Examples

cURL
curl -X GET "https://api.example.com/sessions/{sessionId}" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "uniqueSessionId": "a1b2c3d4-...",
  "sessionName": "Sales Primary",
  "phoneNumber": "+6281224560101",
  "status": "CONNECTED",
  "createdAt": "2026-04-10T12:00:00.000Z",
  "updatedAt": "2026-04-15T08:30:00.000Z",
  "config": {
    "enableAccountProtection": true,
    "enableMessageLogging": true,
    "enableWebhook": false,
    "webhookUrl": ""
  }
}