Skip to content

Conversations ​

The unified inbox: one conversation per person per channel, whatever they wrote in — email, chat widget, WhatsApp, Messenger, Slack, SMS.

This page covers two scope groups, because reading an inbox and sending on your customers' behalf are different privileges:

SurfaceScope
Conversations, channels, tags, routing, SLAs, reports, settingsconversation:read · conversation:write
Sending, editing and deleting messagesmessaging:read · messaging:write
The per-conversation AI endpointsai:read · ai:write

messaging is rate-limited as heavy and ai as ai — see Rate limits.

Conversations ​

GET/conversationsPaged list.Try it
GET/conversations/{id}One conversation with its participants and state.Try it
PATCH/conversations/{id}Update status, priority or assignment metadata.Try it
POST/conversations/{id}/assignAssign to a person, a group or the AI agent.Try it
GET/conversations/{id}/handoffsThe assignment history.Try it
POST/conversations/{id}/tagsTag the conversation.Try it
DELETE/conversations/{id}/tags/{tagId}Untag it.Try it
GET/conversations/{id}/contactThe CRM contact behind the conversation.Try it

Turning a conversation into work ​

POST/conversations/{id}/convert/leadCreate a CRM lead from the conversation.Try it
POST/conversations/{id}/convert/ticketOpen a ticket from it.Try it
POST/conversations/{id}/tasksCreate a task from it.Try it
POST/conversations/{id}/macros/{cannedReplyId}/applyApply a canned reply and its side effects.Try it

Side conversations and approvals ​

GET/conversations/{id}/side-conversationsThreads with a supplier or colleague the customer never sees.Try it
POST/conversations/{id}/side-conversationsStart one.Try it
POST/side-conversations/{sideId}/replyContinue one.Try it
POST/side-conversations/{sideId}/closeClose one.Try it
GET/conversations/{id}/approvalsApproval requests on a draft reply.Try it
POST/conversations/{id}/approvalsRequest approval on a draft.Try it

Messages ​

Scope: messaging.

bash
curl -X POST https://api.onivos.com/conversations/175041000000000042/messages \
  -H "Authorization: Bearer onv_live_xxxxxxxx" \
  -H "Idempotency-Key: reply-8f14e45f" \
  -H "Content-Type: application/json" \
  -d '{ "body": "Your order shipped this morning — tracking is on its way.", "internal": false }'
GET/conversations/{id}/messagesPaged message history.Try it
POST/conversations/{id}/messagesSend a message. internal: true writes a team-only note.Try it
PATCH/conversations/{id}/messages/{messageId}Edit — internal notes only, and only your own.Try it
DELETE/conversations/{id}/messages/{messageId}Delete an internal note. Author, or an admin.Try it
POST/messages/{id}/translateTranslate one message.Try it

A sent customer message cannot be edited

internal: true writes a note only your team sees, and notes are editable. A message that went out to the customer left the platform — the edit and delete endpoints refuse it. Use Idempotency-Key so a retry does not send twice.

AI on a conversation ​

Scope: ai. Each of these spends credits.

POST/conversations/{id}/ai/suggestDraft a reply.Try it
POST/conversations/{id}/ai/summarySummarise the thread.Try it
POST/conversations/{id}/ai/translateTranslate the thread.Try it
POST/conversations/{id}/ai/classifyClassify intent and sentiment.Try it
POST/conversations/{id}/ai/classify/applyApply the classification to the conversation.Try it
POST/conversations/{id}/ai/extractExtract structured fields from the thread.Try it
POST/conversations/{id}/ai/extract/applyWrite the extracted fields to the contact.Try it
POST/conversations/{id}/ai/promptRun a saved inbox prompt.Try it
GET/inbox/ai-promptsSaved inbox prompts.Try it
POST/inbox/ai-promptsCreate one.Try it
PATCH/inbox/ai-prompts/{id}Update one.Try it
DELETE/inbox/ai-prompts/{id}Delete one.Try it
POST/conversations/{id}/suggestions/{messageId}/resolveSend (optionally edited) or dismiss an AI suggestion.Try it

Channels ​

GET/channelsConnected channels.Try it
POST/channelsAdd a channel.Try it
PATCH/channels/{id}Update a channel.Try it
DELETE/channels/{id}Disconnect a channel.Try it
POST/channels/{id}/connectFinish connecting a channel that needs credentials.Try it

Channels that support OAuth are connected through a browser consent flow, not by posting credentials — start it at /channels/{id}/{provider}/oauth/start and let the provider redirect back. That is the supported path for Gmail, Outlook, Slack, Meta and Zalo.

Inbox configuration ​

GET/inbox/settingsInbox-wide settings.Try it
PUT/inbox/settingsReplace inbox settings.Try it
GET/inbox/viewsSaved inbox views.Try it
POST/inbox/viewsCreate a view.Try it
PATCH/inbox/views/{id}Update a view.Try it
DELETE/inbox/views/{id}Delete a view.Try it
GET/inbox/views/countsPer-view conversation counts.Try it
GET/inbox/attributesCustom conversation attributes.Try it
POST/inbox/attributesCreate one.Try it
PATCH/inbox/attributes/{id}Update one.Try it
DELETE/inbox/attributes/{id}Delete one.Try it
POST/inbox/attributes/previewDry-run an attribute against recent conversations.Try it
GET/inbox/skillsSkill-based routing definitions.Try it
PUT/inbox/skillsReplace them.Try it
GET/routing-rulesAssignment rules.Try it
POST/routing-rulesCreate a rule.Try it
PATCH/routing-rules/{id}Update a rule.Try it
DELETE/routing-rules/{id}Delete a rule.Try it
GET/sla-policiesFirst-reply and resolution targets.Try it
POST/sla-policiesCreate a policy.Try it
PATCH/sla-policies/{id}Update a policy.Try it
DELETE/sla-policies/{id}Delete a policy.Try it
GET/canned-repliesSaved replies.Try it
POST/canned-repliesCreate one.Try it
PATCH/canned-replies/{id}Update one.Try it
DELETE/canned-replies/{id}Delete one.Try it

Reporting ​

GET/inbox/reportVolume, response and resolution metrics.Try it
GET/inbox/report/performancePer-agent performance.Try it
GET/inbox/report/widgetChat-widget engagement.Try it
GET/inbox/peopleThe people behind your conversations.Try it
GET/inbox/people/{contactId}One person, with their conversation history.Try it
GET/inbox/reviewsConversation quality reviews.Try it

Widget and webhook endpoints ​

The chat widget and each messaging provider talk to dedicated public endpoints under /conversation/widget/… and /conversation/webhooks/…. They authenticate with their own session or provider signature, not with an API key, and are called by the widget script and the providers — not by your integration.