Skip to content

API Overview ​

Every Zate endpoint on one page. If this is your first time, stop by the Quick Start first.

The Basics ​

  • Base URL: https://api-zate.azickri.com
  • Authentication: the id and session-id headers from Create Session, required on every endpoint except POST /session and GET /media/...
  • Format: JSON, for both requests and responses
  • Errors: always { "statusCode": number, "message": string }. See Errors & Fixes

Session API ​

Create, monitor, and manage your Telegram account's login.

MethodEndpointPurpose
POST/sessionCreate a new session and get an id + sessionId
GET/sessionGet session info, the QR code, and connection status
POST/session/passwordSubmit the two-step verification password
PUT/session/webhookSet the webhook URL and token
PUT/sessionLog the Zate device out and get a new QR
DELETE/sessionDelete the session and all its data

Send API ​

Send things as your account.

MethodEndpointPurpose
POST/messageSend text, images, videos, audio, documents, locations, or contacts
POST/statusPost a text, image, or video story
POST/typingShow a typing or recording indicator

Channel API ​

Read the Telegram channels you follow.

MethodEndpointPurpose
GET/channelChannels you follow
GET/channel/{channelId}One channel in detail
GET/channel/messageChannel message history, 100 per page

Group API ​

Read the Telegram groups you're in.

MethodEndpointPurpose
GET/groupGroups you're in
GET/group/{groupId}One group in detail
GET/group/memberGroup member list

Media API ​

Public links for Telegram media. No headers needed.

MethodEndpointPurpose
GET/media/{...}Stream images, videos, stickers, documents, or profile photos

Coming from Zawa? ​

Zate is deliberately as close to Zawa as possible: same headers, same endpoint names, same error shape. Your code mostly needs a new base URL, plus these:

In ZawaIn Zate
Receivers: phone, group, newsletterReceivers: phone, username, user, group, channel. See Receivers.
Phone numbers always workPhone numbers only work if the person's privacy allows it. Prefer username or user.
Scan from Linked devices in WhatsAppScan from Settings → Devices → Link Desktop Device in Telegram.
Connected right after the scanAccounts with two-step verification need Submit Password. Get Session has new isPasswordRequired, passwordHint, username, phone, and webhook fields.
Session picture is a URLSession, group, and channel picture is a data URI (data:image/jpeg;base64,...).
Status follows the status privacy on your phoneA Telegram story with a privacy option: contacts, everyone, or close_friends.
WhatsApp-style formatting (*bold*, _italic_) just worksText is sent as is. For formatting, set parseMode (markdown or html).
No webhookA webhook for incoming private chat messages.
Media URLs straight from WhatsAppMedia URLs are Zate public links streamed from Telegram.
Group and channel created = creation datecreated = the date your account joined.
IDs: [email protected], ...@newsletterIDs: numbers, like -1001234567890.