v1

latestOpenAPI 3.0.02026-07-2483164186.3 KB
Embed

Embed Chat Conversation

Returns a ready-to-use iframe URL that opens a specific WhatsApp conversation for a given contact's phone number directly inside your application. The contact's phone number is never exposed in the returned URL.

post/embed/url

Request body

phonestring required

WhatsApp phone number of the contact in international format. No + or spaces.

integrationIdstring

DoubleTick integration ID (intg_xxx). If omitted, the primary connected WhatsApp integration is used automatically.

wabaNumberstring

WhatsApp Business Account Number

Example request

{
  "phone": "919876543210",
  "integrationId": "intg_xxx",
  "wabaNumber": "919000000000"
}

Response

Success

urlstring

Full embed URL. Use directly as the src of an iframe.

Example response

{
  "url": "https://web.doubletick.io/embed/conversations/intg_xxx/customer_xxx?showChatListPanel=false&showCustomerDetails=false&showSidebar=false"
}