Sendmessages
#

  • REST
  • Java

Sendmessages
#

Initiate outbound messages through WhatsApp. Use this method instead of the GET method for most applications.

POST /api/v3/messages/whatsapp

API Code Playground

Endpoint Arguments
Parameters
Required
Required
String
Query
String
Query

The agent extension. If you intend to automatically archive this message after sending it, this field can be empty.

UUID
Query

Template ID

String
Query

The phone number associated with the message template

recipients

The recipients of the message


Responses

  • 200
  • 400

Success

application/json

There is no example available for this content type.
  • Request
  • Response
curl -X POST -G \
  --url 'https://{cluster_id}.voiso.com/api/v3/messages/whatsapp' \
  -H 'Accept: application/json' \
  -d 'key=contact_center_api_key' \
  -d 'agent=101' \
  -d 'template_uuid=3fa85f64-5717-4562-b3fc-2c963f66afa6' \
  -d 'from=18885658889' \
  -d 'recipients[0][to]=18885658889' \
  -d 'recipients[0][account_id]=AC001'