# Cekat Open API ## Docs - [Chat](https://cekat-open-api.apidog.io/chat-11096050f0.md): Chat and messaging APIs. - Chat [Connected Platforms](https://cekat-open-api.apidog.io/connected-platforms-11096056f0.md): Each connected channel is an inbox. Use an inbox's `id` as `inbox_id` in other endpoints, for example to create or send WhatsApp templates. - Chat [Broadcast](https://cekat-open-api.apidog.io/broadcast-11096057f0.md): Use these endpoints to manage WhatsApp message templates, upload recipient lists, and run broadcast campaigns. - Chat [Conversation](https://cekat-open-api.apidog.io/conversation-11096058f0.md): A conversation is the chat thread between one contact and one of your inboxes. Use these endpoints to list conversations, read one in detail, see which human agent handled each one, and change the AI agent that replies. - Chat [Message](https://cekat-open-api.apidog.io/message-11096059f0.md): Read the messages in your conversations and send WhatsApp messages from the API. - [CRM](https://cekat-open-api.apidog.io/crm-11096051f0.md): Contacts and custom CRM boards. - CRM [Contact](https://cekat-open-api.apidog.io/contact-11096060f0.md): Contacts are the people your business talks to. Each contact has standard fields (name, phone number, email, and so on) plus **custom properties** that you define as columns on your contact board. - CRM [Board](https://cekat-open-api.apidog.io/board-11096061f0.md): A board is a custom CRM table, such as a deals pipeline. It has **groups** (sections), **columns** (fields), and **items** (rows). - [AI](https://cekat-open-api.apidog.io/ai-11096052f0.md): Manage your AI agents' Q&A knowledge, test AI replies, and manage the OrderOnline integration. - [Orders](https://cekat-open-api.apidog.io/orders-11096053f0.md): Create and manage orders and their invoices. Each order belongs to a contact; Cekat creates the contact if it doesn't exist yet. - [Settings](https://cekat-open-api.apidog.io/settings-11096054f0.md): Read your business's agents (team members). - [Tickets](https://cekat-open-api.apidog.io/tickets-11096055f0.md): Create, list and update support tickets and the products attached to them. ## API Docs - Chat > Connected Platforms [List inboxes](https://cekat-open-api.apidog.io/list-inboxes-45179154e0.md): Lists the channels connected to your business (WhatsApp, Instagram, Messenger, live chat and others), newest first. Deleted inboxes are not included. - Chat > Connected Platforms [List inboxes (legacy) (deprecated)](https://cekat-open-api.apidog.io/list-inboxes-legacy-deprecated-45179155e0.md): **Deprecated.** Older inbox list without pagination, kept for existing integrations. It includes deleted inboxes unless `include_deleted=false`. New integrations should use `GET /api/inboxes`. - Chat > Broadcast [Create a template](https://cekat-open-api.apidog.io/create-a-template-45179156e0.md): Creates a WhatsApp message template on the inbox's WhatsApp Business Account and submits it to Meta for review. The new template usually starts with `status: PENDING`; check `GET /api/templates` to see when it becomes `APPROVED`. - Chat > Broadcast [Synchronize templates](https://cekat-open-api.apidog.io/synchronize-templates-45179157e0.md): Copies the inbox's templates from Meta into Cekat. Use it after creating or editing templates directly in Meta, or to refresh approval statuses. New templates are added and templates whose status changed are updated. - Chat > Broadcast [Delete a template](https://cekat-open-api.apidog.io/delete-a-template-45179158e0.md): Deletes a template from Meta and from Cekat. Scheduled campaigns that use the template will fail when they run. - Chat > Broadcast [List templates](https://cekat-open-api.apidog.io/list-templates-45179159e0.md): Lists your business's WhatsApp templates across all inboxes, newest first. - Chat > Broadcast [Send a template](https://cekat-open-api.apidog.io/send-a-template-45179160e0.md): Sends an approved WhatsApp template to one phone number. Cekat creates the contact and conversation if they don't exist yet. - Chat > Broadcast [List recipient lists](https://cekat-open-api.apidog.io/list-recipient-lists-45179161e0.md): Lists your recipient lists, newest first, with the number of contacts in each. - Chat > Broadcast [Upload a recipient list](https://cekat-open-api.apidog.io/upload-a-recipient-list-45179162e0.md): Creates a recipient list from a CSV or XLSX file, for use in campaigns. - Chat > Broadcast [List campaigns](https://cekat-open-api.apidog.io/list-campaigns-45179163e0.md): Lists your campaigns, newest first, with delivery and engagement totals for each. - Chat > Broadcast [Create a campaign](https://cekat-open-api.apidog.io/create-a-campaign-45179164e0.md): Sends an approved template to every contact in a recipient list, now or at a scheduled time. Messages go out in batches of 20. - Chat > Broadcast [Get campaign details](https://cekat-open-api.apidog.io/get-campaign-details-45179165e0.md): Lists every recipient's message in a campaign, newest first, with delivery status, failure reason, and whether they replied or tapped a button. Recommended over `GET /api/campaigns/{id}/messages`. - Chat > Broadcast [List campaign messages (deprecated)](https://cekat-open-api.apidog.io/list-campaign-messages-deprecated-45179166e0.md): **Deprecated.** Older version of campaign details, kept for existing integrations. Returns raw campaign messages plus a status breakdown. New integrations should use `GET /api/v2/campaigns/{id}/messages`. - Chat > Broadcast [Check or reserve template-message balance](https://cekat-open-api.apidog.io/check-or-reserve-template-message-balance-45179167e0.md): Returns the billing details for sending one template message to a phone number and, on prepaid credit-line inboxes, reserves the estimated cost against `message_id`. - Chat > Conversation [List conversations](https://cekat-open-api.apidog.io/list-conversations-45179168e0.md): Lists conversations, most recently active first, with the contact, handling agent, labels, and first and last messages. - Chat > Conversation [Get a conversation](https://cekat-open-api.apidog.io/get-a-conversation-45179169e0.md): Returns a conversation with its labels, pipeline stage, collaborators, and the last message from the contact side and from a human agent. - Chat > Conversation [Update a conversation](https://cekat-open-api.apidog.io/update-a-conversation-45179170e0.md): Changes which AI agent replies in a conversation, and whether it stays assigned after the conversation is resolved. Each change adds a system note to the conversation. - Chat > Conversation [List agent assignments](https://cekat-open-api.apidog.io/list-agent-assignments-45179171e0.md): Lists conversations currently handled by a human agent, newest first, with the agent and when they were assigned. - Chat > Message [List messages](https://cekat-open-api.apidog.io/list-messages-45179172e0.md): Lists messages across your business, or in one conversation, with each message's contact and inbox. - Chat > Message [Get AI credit usage](https://cekat-open-api.apidog.io/get-ai-credit-usage-45179173e0.md): Totals the AI replies, AI credits used, and conversations they were in, for a date range or one conversation. Without date filters, all time is included. - Chat > Message [Check or reserve service-message balance](https://cekat-open-api.apidog.io/check-or-reserve-service-message-balance-45179174e0.md): Returns the billing details for sending one free-form WhatsApp message in a conversation and, on prepaid credit-line inboxes, reserves the cost against `message_id`. - Chat > Message [List messages in a conversation](https://cekat-open-api.apidog.io/list-messages-in-a-conversation-45179175e0.md): Lists every message in one conversation, newest first. Use `GET /api/messages` to search across conversations or by date. - Chat > Message [Get a message](https://cekat-open-api.apidog.io/get-a-message-45179176e0.md): Returns one message by its ID. - Chat > Message [Send a WhatsApp message](https://cekat-open-api.apidog.io/send-a-whatsapp-message-45179177e0.md): Sends a free-form WhatsApp message in an existing conversation. WhatsApp only delivers these within 24 hours of the contact's last message; outside that window, send a template with `POST /templates/send`. - CRM > Contact [List contacts](https://cekat-open-api.apidog.io/list-contacts-45179178e0.md): Lists your contacts, newest first, with the inboxes they have talked to you through. Only contacts with at least one conversation in an active inbox are included. Use `POST /api/crm/contact/search` to filter by fields or custom properties. - CRM > Contact [Create a contact](https://cekat-open-api.apidog.io/create-a-contact-45179179e0.md): Creates a contact. Phone numbers and email addresses must be unique within your business; a duplicate returns `409` with the existing contact's details. - CRM > Contact [Search contacts](https://cekat-open-api.apidog.io/search-contacts-45179180e0.md): Finds contacts that match a filter on standard fields, custom properties, or additional fields. Results are sorted by most recently updated. - CRM > Contact [Get contact filter fields](https://cekat-open-api.apidog.io/get-contact-filter-fields-45179181e0.md): Lists every field you can use in `POST /api/crm/contact/search`, including standard fields, custom properties, and additional fields, with the operators each one supports. - CRM > Contact [Get the contact board](https://cekat-open-api.apidog.io/get-the-contact-board-45179182e0.md): Returns the ID of your business's contact board. Use it as `boardId` to read contact property definitions with the board endpoints. - CRM > Contact [Create a contact property](https://cekat-open-api.apidog.io/create-a-contact-property-45179183e0.md): Adds a custom property (column) to your contacts. If the name is already used, a number is added to make it unique. - CRM > Contact [Get a contact](https://cekat-open-api.apidog.io/get-a-contact-45179184e0.md): Returns a contact with its owner, stage, company, conversations, and custom property values (`crm_column`). - CRM > Contact [Update a contact](https://cekat-open-api.apidog.io/update-a-contact-45179185e0.md): Updates a contact's standard fields and labels. Send only the fields you want to change. To change custom property values, use `PUT /api/crm/contact/{id}/property`. - CRM > Contact [Get contact properties](https://cekat-open-api.apidog.io/get-contact-properties-45179186e0.md): Lists the custom properties (columns) that can be set on the contact, with each one's `id`, `type` and options. Use the `id` and `type` when updating values. The contact's current values are in `crm_column` from `GET /api/crm/contact/{contact_id}`. - CRM > Contact [Update contact properties](https://cekat-open-api.apidog.io/update-contact-properties-45179187e0.md): Sets custom property values on a contact. Send one entry per property; each `type` must match the property's type, and each `value` is an object whose key depends on the type: - CRM > Board [List CRM boards](https://cekat-open-api.apidog.io/list-crm-boards-45179188e0.md): Lists your custom CRM boards in sidebar order. The contact board is not included; use `GET /api/crm/contact/board` for it. - CRM > Board [Get a CRM board](https://cekat-open-api.apidog.io/get-a-crm-board-45179189e0.md): Returns a board with its groups and columns, in display order. Use it to find column names, types, and select options before reading or writing items. - CRM > Board [Get a CRM column](https://cekat-open-api.apidog.io/get-a-crm-column-45179190e0.md): Returns one column of a board, including its type and select options. Also works on the contact board for contact properties. - CRM > Board [Get a CRM column by name](https://cekat-open-api.apidog.io/get-a-crm-column-by-name-45179191e0.md): Looks up a board column by its exact name, for when you know the name but not the ID. - CRM > Board [List CRM board items](https://cekat-open-api.apidog.io/list-crm-board-items-45179192e0.md): Lists a board's items with cursor pagination, search, date filters and sorting. Recommended over `GET /api/crm/boards/{boardId}/items`. - CRM > Board [List CRM board items (page-based) (deprecated)](https://cekat-open-api.apidog.io/list-crm-board-items-page-based-deprecated-45179193e0.md): **Deprecated.** Older page-based version of `GET /api/crm/v2/boards/{boardId}/items`, kept for existing integrations. It has no filters or sorting. New integrations should use the v2 endpoint. - CRM > Board [Create a CRM board item](https://cekat-open-api.apidog.io/create-a-crm-board-item-45179194e0.md): Adds an item to a board. Send column values as top-level fields named after each column (see **Board** for value formats). Columns with a default value are filled in when left out. - CRM > Board [Delete CRM board items](https://cekat-open-api.apidog.io/delete-crm-board-items-45179195e0.md): Permanently deletes one or more items and their files from a board. If any ID is not found, nothing is deleted. - CRM > Board [Search CRM board items](https://cekat-open-api.apidog.io/search-crm-board-items-45179196e0.md): Finds items on a board that match one or more conditions. `column_name` is a column's name, or `item_name`, `__created_at__` or `__updated_at__` for the built-in fields. - CRM > Board [Get a CRM board item](https://cekat-open-api.apidog.io/get-a-crm-board-item-45179197e0.md): Returns one item with all its column values. - CRM > Board [Update a CRM board item](https://cekat-open-api.apidog.io/update-a-crm-board-item-45179198e0.md): Updates an item's name and column values. Send only what you want to change, with column values as top-level fields named after each column (see **Board** for value formats). - AI [List Q&A documents](https://cekat-open-api.apidog.io/list-qa-documents-45179199e0.md): Lists the question-and-answer pairs in your AI agents' knowledge, newest first. - AI [Create Q&A documents](https://cekat-open-api.apidog.io/create-qa-documents-45179200e0.md): Adds question-and-answer pairs to an AI agent's knowledge. Pairs that already exist with the same question and answer, and items missing a question or answer, are skipped. New pairs are processed for the AI agent to use. - AI [Delete Q&A documents](https://cekat-open-api.apidog.io/delete-qa-documents-45179201e0.md): Removes Q&A pairs from your AI agents' knowledge. IDs that don't exist are ignored. - AI [Generate an AI response (beta)](https://cekat-open-api.apidog.io/generate-an-ai-response-beta-45179202e0.md): Runs one of your AI agents on a chat history you provide and returns its reply, without sending anything to a contact. Use it to test an AI agent or to generate replies for your own channel. - AI [Get the OrderOnline integration](https://cekat-open-api.apidog.io/get-the-orderonline-integration-45179203e0.md): Returns your business's OrderOnline integration, or an empty object if none is connected. - AI [Delete the OrderOnline integration](https://cekat-open-api.apidog.io/delete-the-orderonline-integration-45179204e0.md): Disconnects your business's OrderOnline integration. Returns the deleted integration, or no `data` if none was connected. - Orders [List orders](https://cekat-open-api.apidog.io/list-orders-45179205e0.md): Lists orders with filters, search and sorting. - Orders [Create an order](https://cekat-open-api.apidog.io/create-an-order-45179206e0.md): Creates an order and its invoice. Identify the customer with `conversation_id`, `contact_id` or `phone_number`; if no contact matches, a new one is created from `phone_number` and `display_name`. - Orders [Get an order](https://cekat-open-api.apidog.io/get-an-order-45179207e0.md): Returns an order with its contact, conversation, products, invoices and bank account. - Orders [Update an order](https://cekat-open-api.apidog.io/update-an-order-45179208e0.md): Updates an order's status, payment status, address, notes, or invoice. Send only the fields you want to change. `changed` in the response lists what changed, with old and new values. - Settings [List agents](https://cekat-open-api.apidog.io/list-agents-45179209e0.md): Lists your agents (team members), newest first, with their role, online status and divisions. Use `GET /api/agents/v2` to search, sort, or filter by Chat or CRM access. - Settings [List agents (v2)](https://cekat-open-api.apidog.io/list-agents-v2-45179210e0.md): Lists agents with search, sorting, and Chat or CRM access filters. With `module=chat`, each agent includes their Chat role, divisions and inboxes; otherwise their CRM access. - Tickets [List ticket boards](https://cekat-open-api.apidog.io/list-ticket-boards-45179211e0.md): Lists your ticket boards with their statuses. Use a board's `id` as `board_id`, and its status IDs when creating or updating tickets. - Tickets [List ticket templates](https://cekat-open-api.apidog.io/list-ticket-templates-45179212e0.md): Lists your ticket templates with their fields, default status and priority, and board. - Tickets [List tickets](https://cekat-open-api.apidog.io/list-tickets-45179213e0.md): Lists tickets with search, filters and sorting. Each ticket includes its template, products and conversation. - Tickets [Create a ticket](https://cekat-open-api.apidog.io/create-a-ticket-45179214e0.md): Creates a ticket on a board from one of the board's templates. `status` and `priority` default to the template's defaults. If the template has a product field, send the products in `products`. - Tickets [Update a ticket](https://cekat-open-api.apidog.io/update-a-ticket-45179215e0.md): Updates a ticket. Send only the fields you want to change. `field_values` updates only the fields you include and keeps the others. - Tickets [Add a product to a ticket](https://cekat-open-api.apidog.io/add-a-product-to-a-ticket-45179216e0.md): Adds a product to a ticket and lowers the product's stock by the quantity. - Tickets [Update a ticket product](https://cekat-open-api.apidog.io/update-a-ticket-product-45179217e0.md): Changes the quantity or price of a product on a ticket. Changing the quantity adjusts the product's stock by the difference.