FOR DEVELOPERS AND AI
Start with one request.
A shared HTTP API for regular WhatsApp, Telegram and MAX accounts. The public documentation describes the API contract; your account list is available only with your own key.
1. Create an account and a connection
Register with your email, verify the address using the email message and sign in to the dashboard. Choose a messenger and complete its available QR or phone-number sign-in flow. Telegram requires your own application API credentials. Any additional sign-in steps are shown in the dashboard.
2. Create an API key
In Profile → API keys, create a separate key for your project. Reading is allowed by default; the write permission is required for sending and other changes. The value is shown only once. Store it in backend secrets, not in the browser, Git or an AI prompt.
3. Retrieve connections and the full catalog
curl 'https://api-senden.ru/api/v1/integrations/manifest' \
--header 'Authorization: Bearer YOUR_API_KEY'The response contains instances, connectedMessengers, commands and permissions. Connections belong only to your workspace; archived connections are excluded. To send, select an account with state: connected.
4. Choose a chat, send and check the result
Get actual chat IDs using GET /api/v1/instances/{id}/chats. Send text and files using POST /api/v1/instances/{id}/messages with one stable Idempotency-Key. A 202 response means queued, not delivered. Status and incoming messages are available through history, SSE, webhooks and the notification queue. See transport capabilities below.
For MAX, contacts.lookup currently returns a user ID that must not automatically be treated as a private chat ID. Use an ID from the chat list as the destination. Do not resend a message with a new key while the outcome of the first send is unknown.
Группы и переписка
Список /chats содержит доступные аккаунту чаты, а groups.get — информацию выбранной группы. Полнота снимка участников не гарантируется. groups.invite.preview checks a supported community address without joining; groups.join требует write и один стабильный Idempotency-Key. Результат joined подтверждает членство, pending — запрос одобрения, unknown требует проверки без автоматического повтора. Ссылку приглашения храните как секрет; права и ограничения мессенджера сохраняются.
A public Telegram channel or group needs no invite: pass target as @username or https://t.me/username. Private invitations still use inviteLink. Supply exactly one field.
Необязательный senderId в сообщении обозначает наблюдавшегося автора, храните его строкой. Поиск /messages?chatId=…&search=… works against the local history, not all public groups. Incoming attachments use separate attachments/prepare/content operations with source-account and permission checks. Old, deleted and protected attachments may be unavailable.
Files through API and dashboard
Reliable file upload: POST /uploads, PUT all bytes and GET the same receipt after a lost response. Sending fileId is a separate command with its own Idempotency-Key. Upload does not send a message; 202 does not confirm delivery. Full guide: file-transfer.txt.
Events and webhook security
For webhooks, verify the HMAC signature and process events idempotently. The endpoint must be a public HTTPS address; local and private networks are blocked. SSE provides an event stream; receiving a notification from the queue creates a lease and requires write, followed by an ack. Full parameters and request formats are provided in OpenAPI.
Delivery, reading and status subscriptions
Save the local message.id from the send response. message.state describes local processing; message.delivery contains observed receipts. HTTP 202, queued, submitted and observed do not mean delivered or read. unknown means no receipt has been observed.
In a status event, correlate data.messageId with the local UUID and keep data.providerId as a separate string. Legacy data.id can be a native ID. Reconcile one message with GET /api/v1/instances/{id}/messages/{messageId}. scope=participant and participants describe individual members, not the entire group; participantsComplete=false. The aggregate delivery.status can stay unknown while participants contain read receipts.
- WhatsApp: Only native delivered/read/played actually received; privacy can limit receipts.
- Telegram: sent/read and native outgoing voice played for at least one recipient; no distinct delivered or reader identity/count.
- MAX: A known participant read is confirmed only against an attested native timestamp; no delivered or all-group receipt. Ambiguous chat_read is activity only.
MAX read means one participant’s read-through position reached the message, not that they listened to its voice audio. readAt is the read-through watermark time, not an exact opening or playback time. Native MAX played is unsupported. A device played ACK is its own local playback report, not a native read/played receipt or proof that a person heard the audio.
Telegram: sent/read follows the native outgoing read position; there is no distinct delivered, reader list/count or all-member proof. For outgoing voice, played with source=telegram_voice_listened means is_listened=true for at least one recipient, without identity or exact playback time. WhatsApp: read does not mean played; direct-chat played requires native evidence. The pinned group callback reports participant delivered/read, not a separate group played. Privacy or missing receipts may leave unknown. Outgoing /voice supports all three messengers; incoming audio and device APIs remain MAX-only.
If no status arrives, check your instanceId and local message.id, the status filter and webhook/pull routing; resume /events/SSE from the saved cursor and reconcile GET message. Telegram may replace temporary providerId with a final ID, while messageId stays unchanged. Use server-returned chatId/providerId; do not construct WA PN/LID aliases yourself. Missing readAt/playedAt is valid, including Telegram played. Unknown outcomes never authorize a resend.
Include status and chat_read in notificationFilters while preserving other required types. With webhookEnabled=true, new matching events go to webhooks; with false, to pull. These are alternative channels. /events?after=… and SSE are separate readers. Resume SSE using after or Last-Event-ID; process id/data, persist the cursor after processing and deduplicate event.id. A full backlog batch ends the stream with retry:1000; continue from the last ID.
Verify the HMAC SHA-256 of the exact webhook bytes and return 2xx after durable processing. ACK a pull receipt only after processing and before leaseExpiresAt. A delivered webhook job confirms HTTP delivery to your handler, not delivery to the messenger recipient. Never resend to obtain a status. Keep keys on the server, never in URLs.
Ready-to-use materials
No keys, QR codes, sessions or user data. Running the clients performs only a discovery request.
Полный каталог: 85 HTTP-команд
This is the shared API catalog; support for each native command and the need for an active connection are listed separately. The /methods catalog contains only the native subset.
| Method and path | Purpose | Support | Permissions |
|---|---|---|---|
GET/api/v1/health | Process health check | whatsapp, telegram, max | read |
GET/api/v1/status | Подключения, состояния и usage: тариф, сроки, счётчики и maxFileBytes | whatsapp, telegram, max | read |
POST/api/v1/instances | Create connection | whatsapp, telegram, max | write |
GET/api/v1/instances | Retrieve active or archived connections | whatsapp, telegram, max | read |
DELETE/api/v1/instances/{id} | Stop and archive a connection while preserving its history and session | whatsapp, telegram, max | write |
PATCH/api/v1/instances/{id} | Rename a connection | whatsapp, telegram, max | write |
GET/api/v1/instances/{id} | Connection state | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/restore | Restore from the archive within applicable limits, without connecting automatically | whatsapp, telegram, max | write |
POST/api/v1/instances/{id}/connect | Start sign-in | whatsapp, telegram, max | write |
POST/api/v1/instances/{id}/auth | Continue the current sign-in step | whatsapp, telegram, max | write |
POST/api/v1/instances/{id}/stop | Stop while preserving the session | whatsapp, telegram, max | write |
POST/api/v1/instances/{id}/logout | Request sign-out | whatsapp, telegram, max | write |
GET/api/v1/instances/{id}/chats | Retrieve chats | whatsapp, telegram, maxConnection required | read |
GET/api/v1/instances/{id}/messages | Saved message history | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/messages | Queue text or a file | whatsapp, telegram, max | writeIdempotency-Key |
GET/api/v1/instances/{id}/messages/{messageId} | Получить сообщение по локальному UUID и сохранённые подтверждения | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/voice | Поставить нативное голосовое сообщение в очередь | whatsapp, telegram, max | writeIdempotency-Key |
POST/api/v1/instances/{id}/messages/{messageId}/voice | Загрузить голосовое MAX по UUID сообщения своего пространства | maxConnection required | write |
GET/api/v1/instances/{id}/messages/{messageId}/voice/content | Воспроизвести ранее загруженное голосовое MAX | max | read |
POST/api/v1/instances/{id}/messages/from-url | Safely download an HTTPS file and queue the document | whatsapp, telegram, max | writeIdempotency-Key |
GET/api/v1/instances/{id}/settings | Connection and event settings | whatsapp, telegram, max | read |
PUT/api/v1/instances/{id}/settings | Change settings | whatsapp, telegram, max | write |
GET/api/v1/instances/{id}/queue | Durable message queue | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/queue/clear | Cancel all queued messages | whatsapp, telegram, max | write |
POST/api/v1/instances/{id}/queue/{messageId}/cancel | Cancel one queued message | whatsapp, telegram, max | write |
POST/api/v1/instances/{id}/queue/{messageId}/retry | Retry only a confirmed failed operation | whatsapp, telegram, max | write |
GET/api/v1/instances/{id}/notifications/stats | Number of pending and processed notifications | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/notifications/receive | Receive a notification with a lease and long polling | whatsapp, telegram, max | write |
DELETE/api/v1/instances/{id}/notifications/{receiptId} | Acknowledge processing of the current receipt | whatsapp, telegram, max | write |
GET/api/v1/instances/{id}/deliveries | Webhook delivery results | whatsapp, telegram, max | read |
GET/api/v1/instances/{id}/deliveries/stats | Webhook job counters | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/deliveries/clear | Cancel pending, retrying and dead-letter webhooks | whatsapp, telegram, max | write |
GET/api/v1/instances/{id}/deliveries/{jobId}/attempts | Webhook attempt log | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/deliveries/{jobId}/retry | Retry a webhook from dead-letter | whatsapp, telegram, max | write |
GET/api/v1/events | Сохранённые события с курсором | whatsapp, telegram, max | read |
GET/api/v1/stream | Поток событий SSE с возобновлением | whatsapp, telegram, max | read |
POST/api/v1/files | Загрузить файл: до 20 МБ на пробном тарифе, до 200 МБ на Pro | whatsapp, telegram, max | write |
GET/api/v1/files/{fileId} | Download a previously uploaded local file | whatsapp, telegram, max | read |
PUT/api/v1/config | Application and network connection settings | whatsapp, telegram, max | write |
GET/api/v1/methods | Available operations catalog | whatsapp, telegram, max | read |
GET/api/v1/integrations/manifest | Current workspace connections, commands and ready-to-use integration files, without keys or authorization data | whatsapp, telegram, max | read |
GET/api/v1/integrations/files/{name} | Download an integration template or the full ZIP bundle without personal data | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/operations/account.settings.get | Connected account profile | whatsapp, telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/contacts.list | Contact list | whatsapp, telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/contacts.get | Contact information | whatsapp, telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/contacts.lookup | Check whether an account exists by phone number or ID | whatsapp, telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/contacts.create | Add a contact | telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/contacts.update | Edit a contact | telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/contacts.delete | Delete a contact | telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/profile.avatar.get | Retrieve an avatar | whatsappConnection required | read |
POST/api/v1/instances/{id}/operations/messages.history | Load history from the messenger | telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/messages.get | Retrieve a message from the messenger | telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/messages.read | Mark messages as read | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/messages.delete | Delete a message | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/messages.edit | Edit message text | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/messages.forward | Forward selected messages | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/messages.react | Change a message reaction | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/messages.contact | Send a contact card | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/messages.location | Send a location | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/messages.poll | Send a poll | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/chats.typing | Show the typing indicator | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/chats.archive | Archive a chat | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/chats.unarchive | Unarchive a chat | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/chats.expiration | Configure disappearing messages | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/chats.reactions | Retrieve available reactions | telegramConnection required | read |
POST/api/v1/instances/{id}/operations/groups.get | Group information | whatsapp, telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/groups.invite.preview | Проверить приглашение в группу без вступления | whatsapp, telegram, maxConnection required | read |
POST/api/v1/instances/{id}/operations/groups.join | Join a community: public Telegram or invite | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.create | Create a group | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.rename | Rename a group | whatsapp, telegramConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.members.add | Add a member | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.members.remove | Remove a member | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.admins.add | Appoint a group administrator | whatsappConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.admins.remove | Remove a group administrator | whatsappConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.leave | Leave a group | whatsapp, telegram, maxConnection required | writeIdempotency-Key |
POST/api/v1/instances/{id}/operations/groups.settings | Change one group permission | whatsappConnection required | writeIdempotency-Key |
GET/api/v1/instances/{id}/messages/{messageId}/attachments | List safe observed attachment metadata; no remote download. | whatsapp, telegram, max | read |
GET/api/v1/instances/{id}/messages/{messageId}/attachments/{attachmentId} | Read metadata and preparation state; suitable for polling. | whatsapp, telegram, max | read |
POST/api/v1/instances/{id}/messages/{messageId}/attachments/{attachmentId}/prepare | Prepare a private cached copy of an observed attachment. | whatsapp, telegram, max | read |
GET/api/v1/instances/{id}/messages/{messageId}/attachments/{attachmentId}/content | Stream only a ready local attachment as a download. | whatsapp, telegram, max | read |
HEAD/api/v1/instances/{id}/messages/{messageId}/attachments/{attachmentId}/content | Headers of a ready copy without a body or remote download. | whatsapp, telegram, max | read |
POST/api/v1/uploads | Reserve a durable upload intent; no messenger send. | whatsapp, telegram, max | writeIdempotency-Key |
GET/api/v1/uploads/{uploadId} | Recover own upload receipt and fileId after a lost response. | whatsapp, telegram, max | write |
PUT/api/v1/uploads/{uploadId}/content | Verify a full raw stream into one immutable fileId. | whatsapp, telegram, max | write |
GET/api/v1/files/{fileId}/metadata | Read own safe file metadata/tombstone, not a filesystem path. | whatsapp, telegram, max | read |
FROM IDEA TO INTEGRATION
Connect your first account
Create an account, verify your email and start by requesting the connection list.