Skip to main content
These examples use bearer auth for readability. Use HMAC signing when a request should be signed instead of carrying the secret directly.

Send a first message

Create a chat, then follow up

The rich_link part shape is the same on every Chert sender line.
Use this follow-up endpoint for existing DMs and groups. For a new group, create the group with text first, then send this message after you have the chat.id.

Upload and send a file

Send multiple images

Upload multiple images, then request grouped delivery from an existing chat.

Stream replies while developing

For production, create a webhook subscription and listen for message.received.

React to a message

Use a message id from chat history or a message.received webhook.