POST
/
whatsapp_template
/
upload
curl --request POST \
  --url https://api.v3.tatango.com/whatsapp_template/upload \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "my_template",
  "language": "en",
  "category": "MARKETING",
  "structure": {
    "type": "TEXT",
    "body": {
      "text": "Welcome to the future."
    }
  },
  "webhookUrl": "https://yourpostbackaddress.com"
}'
{
  "message": "WhatsApp template submitted for approval",
  "transactionId": "019687e1-1b54-70f4-a68a-60af7fa776f4"
}

Authorizations

x-api-key
string
header
required

Tatango API key

Body

application/json

WhatsApp template upload request

The body is of type object.

Response

202
application/json

WhatsApp template upload accepted

The response is of type object.