Post a message

Post a message sent from one of your users to our bot

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

A unique ID for the message. This is only used for debugging purposes

string
required

A unique ID for the user from whom this message was sent. This ID must be consistent across the lifetime of the user interacting with the bot. This ID is also passed back in the response webhook.

string
required

This is the body of the message. If the message is text it's UTF-8 valid characters. If it's an image then it's a base64 encoded image

string
required

The type of message. Currently 'text' and 'image' are supported

string

Any metadata or tags identifying the user, e.g. how the discovered the bot, which search term lead to the bot, etc…

Headers
string

When backwards incompatible changes are made to the API, the api version is changed. The latest api version will be pinned to your API key, so you only need to add this header if you want to use a more up to date version. You can also update the pinned version by contacting us at [email protected].

Responses
201

Message posted

403

Unauthenticated

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here!