Sessions
Sessions
Sessions are WhatsApp identities managed by the ChatSend service. This section follows docs/api-spec-sessions.md.
Session Status
| Value | Meaning |
|---|---|
| STARTING | Session is starting |
| CONNECTED | Connected to WhatsApp |
| STOPPED | Stopped |
| QR_REQUIRED | QR scan is required |
| ERROR | Error state |
ChatSendSession
| Field | Type | Description |
|---|---|---|
| uniqueSessionId | string | Session unique identifier |
| sessionName | string | Human-readable session name |
| phoneNumber | string | Associated phone number |
| status | string | Current status: STARTING, CONNECTED, STOPPED, QR_REQUIRED, or ERROR |
| createdAt | string | ISO 8601 creation timestamp |
| updatedAt | string | ISO 8601 last-update timestamp |
JSON
{
"uniqueSessionId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"sessionName": "Sales Primary",
"phoneNumber": "+6281224560101",
"status": "CONNECTED",
"createdAt": "2026-04-10T12:00:00.000Z",
"updatedAt": "2026-04-15T08:30:00.000Z"
}SessionConfig
| Field | Type | Description |
|---|---|---|
| enableAccountProtection | boolean? | Whether account protection is enabled |
| enableMessageLogging | boolean? | Whether message logging is enabled |
| enableWebhook | boolean? | Whether webhook notifications are enabled |
| webhookUrl | string? | Webhook callback URL |