Skip to main content

Send A Message

POST 

/api/v1/messaging/:widget_id

To send a text message to a given telephone number or a contact

  • widget_id: Widget ID to be used for initiating the call. It must be connected to WhatsApp or SMS.
  • to: phone number of the recipient. should contain the country code. For ex: 16501111234
  • contact_id: contact ID to whom the message is to be sent. (either to or contact_id must be given)
  • message: text message to be sent.
  • start_new_conversation: whether to start a new conversation or pick the latest.

Request

Responses

Successful Response