REST API

The Boei API allows you to programmatically manage your AI agents, training content, tags, and conversations. This is useful for integrating Boei into your applications, building custom interfaces, or automating agent interactions.

How to get there: Go to Settings → API Keys in the left menu.

Authentication

All API requests require authentication using an API key.

Create a key under Settings → API Keys. Follow API authentication for the steps and access rules. Keep it on your server.

Using Your API Key

Include your API key in the Authorization header of every request:

Authorization: Bearer YOUR_API_KEY

Base URL

https://app.boei.help/api/v1

API Documentation

For a full list of available endpoints, request/response examples, and interactive testing, visit the API Documentation.

The interactive docs let you:

  • Browse all available endpoints
  • See request and response schemas
  • Try out API calls directly from the browser
  • View code examples in multiple languages

Choosing a follow-up form

PUT /api/v1/chatbots/{chatbot_id} accepts handoff_followup_form_id. Use the ID of an enabled AI-condition form owned by that agent, or null to clear the choice. A selected form must have a success message. Choosing a form turns off Ask for email, just like the Handoff screen. Clearing the form does not turn email collection on automatically.

This uses the same stored setting as Handoff > Follow-up. Edit the form's message in Forms or the Follow-up card. The API rejects forms from another agent and leaves the current choice unchanged.

Rate Limits

  • Requests per minute: 60
  • Monthly messages: Based on your plan (check usage in API responses)

If you exceed rate limits, you'll receive a 429 status code. Wait before retrying.

Support

Need help with the API?

  • Check the interactive API docs for endpoint details
  • Review error messages for specific guidance
  • Contact support with your API request details (never share your API key)

Chat warnings and stopped conversations

POST /api/v1/chatbots/{chatbot_id}/messages can return HTTP 200 with blocked: true when the message does not need a new AI answer:

  • conversation_noise_warning: show the supplied response. The conversation stays open, and the visitor can ask a normal question.
  • conversation_noise_retry: this is a repeat of an already answered greeting or keyboard-noise message. Reuse the supplied answer and message ID instead of adding another copy.
  • conversation_noise_spam: the visitor continued after the warning. is_closed is true, response is empty and message_id is null. End the chat without adding an empty reply.

Further messages to a conversation marked as spam return HTTP 422. Start a new conversation with a new conversation_id when appropriate. These warning and stop responses do not call an AI model or use AI credits. See Spam filtering for how warnings and recovery work.

Contact date fields

The contact-date update replaces last_contact_at with two fields: last_contact_received_at for customer messages and submitted forms, and last_contact_sent_at for successfully sent customer-facing messages. Update integrations that read the old field; it has no compatibility alias. A null value means the date is unknown. Deals expose the linked contact's dates across their deals. MCP date filters are last_contact_received_before and last_contact_sent_before.

Existing contacts start with the previous contact date in both fields. From this update onward, received and sent dates are tracked separately. Historical sent dates are starting values, not proof of a send on that date.