English
Free ยท Just Scan a QR Code
A free Telegram API for developers. Log in your Telegram account with a QR code, then send messages and stories and receive incoming ones over plain HTTP. Slow-grilled, served hot.
$ curl -X POST https://api-zate.azickri.com/session$ curl -X POST https://api-zate.azickri.com/message \
-H "id: $ZATE_ID" \
-H "session-id: $ZATE_SESSION_ID" \
-H "Content-Type: application/json" \
-d '{
"username": "@customer",
"type": "text",
"text": "Your OTP is 482913. Please keep it to yourself! ๐"
}'
200 OK { "messageId": "1024" }Cak Zate fanning the grill. The smoke? It flies straight off as Telegram messages. ๐ข
The recipe
Zate logs in to Telegram as a linked device, just like Telegram Desktop. The difference is that you drive it over HTTP.
Fetch the QR code and scan it from Settings โ Devices โ Link Desktop Device on your phone.
GET/sessionText, images, videos, audio, documents, locations, or contacts to usernames, users, groups, and channels.
POST/messageAPI Reference
One pair of headers is all it takes to open every Zate endpoint.
id+session-id
/sessionCreate a new sessionGET/sessionQR code and connection statusPOST/session/passwordTwo-step verification passwordPUT/session/webhookSet the incoming message webhookPUT/sessionReset and get a new QRDELETE/sessionDelete the session and its data/messageMessage a user, group, or channelPOST/statusPost a text, image, or video storyPOST/typingShow "typing..."Why Zate?
Five minutes from now, your first message will land in Telegram. Rice cakes are optional, but recommended. ๐ข