channels
whatsapp
whatsapp-outbound-messages
whatsapp-template-message

Send WhatsApp template message

Send a single or multiple template messages to one or more recipients. Template messages can be sent and delivered at anytime. Each template needs to be registered and pre-approved by WhatsApp. <br/> The API response will not contain the final delivery status, use Delivery Reports instead.

post/whatsapp/1/message/template

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Request body

bulkIdstring

The ID that uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.

Response

Message accepted for delivery

bulkIdstring

The ID that uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.

Example response

{
  "messages": [
    {
      "to": "385977666618",
      "messageCount": 1,
      "messageId": "06df139a-7eb5-4a6e-902e-40e892210455",
      "status": {
        "groupId": 1,
        "groupName": "PENDING",
        "id": 7,
        "name": "PENDING_ENROUTE",
        "description": "Message sent to next instance"
      }
    }
  ],
  "bulkId": "2034072219640523073"
}

Changes

No recorded changes to this operation across all 1 revision of this API.