WhatsApp Template Messages

Send business initiated messages using message templates beyond the 24 hour window to your customers. A message template can be text-based, media-based, or interactive. Note: Modify YourRegion in the URL to the right to reflect your tenant’s region. See Know your endpoint page.

🚧

Template API usage

The template should be registered and approved from Tools -> Templates section within imiconnect platform, before it can be used to send notification messages.

Error Codes

Refer to the below page https://developers.imiconnect.io/reference/channel-specific-status-codes-1#whatsapp

Body Params
string
required
Defaults to whatsapp

Channel used to send the message i.e., WhatsApp in this case.

string
required

Contains the applicationid

destination
array of objects
required

Configure message recipient details as part of destination JSON object.

destination*
message
object
required

Template message configuration

string

The correlationid is a unique identifier that you can attach to every request as a reference a particular transaction or event. This is configured as a part of the request.

string

Data that you have configured to receive on the notify Url. This is configured as a part of the request.

string

Configure a URL to get notifications on delivery reports for a WhatsApp message. This field accepts only a valid URL or a variable. If an invalid URL is passed in API request or via a variable, then such request will not be considered eligible for retries.

channels
object

JSON object for configuring Channels

Headers
string

Applicable when you want to use service key for API authentication. Available under API tab within a service in your WebexConnect tenant.

string

JSON Web Token (JWT) for authentication (e.g. bearer ) used alternatively to Service Key.

Responses

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json