Hibira Live Chat
English
Start free

REST API and webhooks

Connect the inbox to the rest of your business

Your servers read and answer conversations with an API key, and signed webhooks tell them the moment a chat starts, a message arrives or a visitor leaves a rating.

Plans Team and Business

Settings › API & webhooks with three API keys: read only, read and write, and read, write and settings.
Make one key per system, with only the access it needs.

Built for your systems

One API for chats and settings

Sync conversations to your CRM, let your own bot answer, and keep the workspace's settings in code. Every reply and change made with a key shows in the inbox and the activity log under the agent it was made as.

  • Three key levels: read only, read and write, and settings
  • Seven webhook events, signed with HMAC-SHA256
  • Failed deliveries retried for about 40 minutes
  • Settings, teams, hours and the AI's knowledge from Terraform, scripts or CI
A webhook endpoint with its recent deliveries: each event, its time, the 200 response and how long it took.
Every delivery is listed with its response, so you can see what reached your server.

How it works

1. Create a key

In Settings › API & webhooks, name the key and choose what it may do. It is shown once, and you can revoke it at any time.

2. Call the API

Send it as Authorization: Bearer <key> to https://api.hibira.io/live-chat/v1 to list conversations, reply, assign or close them.

3. Add a webhook

Enter your HTTPS address and the events you want, then check the Hibira-Signature header with the endpoint's secret.

AI assistants and Terraform

A hibira.io API token works in place of a key, so the Hibira MCP server and the Terraform provider manage Live Chat with the same token as your other Hibira products.

Questions

Which events can a webhook receive?

conversation.created, message.created, conversation.assigned, conversation.team_changed, conversation.closed, conversation.reopened and conversation.rated. Send a test event from the settings page to check your endpoint.

How do I know a webhook came from Hibira?

Each request carries a Hibira-Signature header: an HMAC-SHA256 of the timestamp and the raw body, made with the endpoint's secret. Check it, and drop repeats by the Hibira-Webhook-Id header.

Is there a rate limit?

Each key may make 10 requests a second, with short bursts up to 60. Above that the API answers 429 with a Retry-After header.

Can a bot answer chats through the API?

Yes. It can reply as any agent, show that the agent is typing, and hand the chat to a person by assigning it. The @hibira-io/chat-adapter package does this for bots built with Chat SDK.

Add live chat to your site today

Sign up with your work email, paste one script tag, and start answering visitors in minutes.

Start free