Skip to main content
POST
https://catalystapi.superdashhq.com/api
/
v1
/
whatsapp
/
manage
/
addToWhatsAppThread
/
{workspaceId}
/
{assistantId}
Continue WhatsApp Conversation
curl --request POST \
  --url https://catalystapi.superdashhq.com/api/v1/whatsapp/manage/addToWhatsAppThread/{workspaceId}/{assistantId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "toNumber": "<string>",
  "message": "<string>",
  "attributes": {
    "customField1": "<string>",
    "customField2": "<string>",
    "customField3": "<string>"
  }
}
'
{
    "msg": "Outbound WhatsApp Message succesfully sent"
    "conversationId": "<ID_OF_THE_CONVERSATION>"
}

Authorizations

x-api-key
string
required
API key associated with your Workspace

Path Parameters

workspaceId
string
required
The ID of the Workspace
assistantId
string
required
The ID of the Whatsapp Assistant

Body Parameters

toNumber
string
required
The Recipient’s Phone Number with country code
message
string
required
The WhatsApp Message to send
You can include variables in the message using curly braces.
Example: {firstName}
Each variable is resolved from the corresponding key in attributes.
Example: {firstName} will be replaced with attributes.firstName.
attributes
object
Attributes are user-defined and will be referenced dynamically in the message
Examples include firstName, lastName, etc.
   "attributes": {
       "firstName": "Superdash",
   }

Response

msg
string
Outbound WhatsApp Message succesfully sent
conversationId
string
The ID associated with the conversation
{
    "msg": "Outbound WhatsApp Message succesfully sent"
    "conversationId": "<ID_OF_THE_CONVERSATION>"
}