MCP is live.Set upAsk the community
OmniDimension
WhatsApp

Take over a conversation

Take the conversation from the agent, so it stops replying and your team answers. Repeating it changes nothing. Hand it back with handBackWhatsappConversation when the person is done.

Set up WhatsApp first. Connect a WhatsApp number in the dashboard or with Connect numbers. Included on every paid plan. See plans.

POST/whatsapp/conversations//take_over
Path parameters
conversation_idrequired
curl -X POST 'https://backend.omnidim.io/api/v1/whatsapp/conversations/{conversation_id}/take_over' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Example response
synthetic
{
  "id": "412-15551234567",
  "phone_number_id": 0,
  "customer_phone": "+15551234567",
  "customer_name": "string",
  "last_message": {
    "preview": "string",
    "type": "string",
    "sender": "customer",
    "timestamp": "string",
    "status": "pending"
  },
  "last_message_at": "string",
  "unread_count": 0,
  "message_count": 0,
  "ownership": {
    "owner": "person",
    "paused": false
  },
  "window_open": false,
  "window_expires_at": "string",
  "has_failed": false,
  "opted_out": false,
  "campaign": {
    "id": 0,
    "name": "string"
  }
}

Authorization

BearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Obtain your API key from the OmniDimension dashboard.

Path Parameters

conversation_id*string

A conversation id: the number id, a dash, then the customer's phone digits, such as 412-919876543210. From listWhatsappConversations.

Response body

application/json

Response Body

The conversation, now owned by a person.

application/json
id?string

The conversation id, {number id}-{customer phone digits}.

phone_number_id?integer
customer_phone?string
customer_name?string

The customer's WhatsApp profile name, when set.

last_message?

The newest message in the conversation.

last_message_at?string
unread_count?integer

Customer messages you have not read yet.

message_count?integer
ownership?

Who is answering this conversation.

window_open?boolean

Whether the 24-hour window is open. Null when the number does not enforce it.

window_expires_at?string

When the 24-hour window closes. Null when there is no window.

has_failed?boolean

A failed outbound message is newer than the last successful one.

opted_out?boolean

The customer has opted out of messages from this number.

campaign?

The broadcast this conversation came from, when it did.