Skip to main content
1

Get a token

Sign in to app.huechat.ai, open Settings → Profile and copy your Access token. It carries your full role, which is fine for a first call. For anything that ships, create a scoped API key instead.
2

Find your account id

It is the number in the dashboard URL: https://app.huechat.ai/app/accounts/{account_id}/.... Every route below takes it in the path.
3

List conversations

200 with a payload array means the token works. Keep a conversation_id from the response for the next step.
4

Send a message

The message goes out on whichever channel the conversation lives on: WhatsApp, Instagram, Messenger, email or live chat.
5

Create a contact

These calls hit your live account. A POST from this page sends a real message to a real customer. Try writes against a test conversation first.

Where next