API Documentation

About the API

This API can be used to communicate with your bot through your own applications, such as mobile apps. It is not meant to be used to create bots, only to interact with the ones you already created. The first thing you're going to need is your bot's API token . This can be found in My Bots .


Every request made to the API must include the following headers:

Content-Type: application/json
api-token: [YOUR BOT'S API TOKEN]


Method Endpoint Description Actions
POST /v1/chats/create Receives a bot username, creates a chat for this bot and returns the chat id. View requests
POST /v1/messages/create Receives a message from the user and returns the bot’s reply.
The chat_id must match the one received by the previous endpoint.
View requests

Search Results

No emoji found