This endpoint is deprecated.
Get WhatsApp Templates
Get all the templates and their statuses for a given sender. This version is deprecated as of June 29th 2022, meaning no fixes/updates will be provided and no new parameters will be added. This API will be deleted at the end of the year. Please use the latest version.
Please log in to see full path URL. Learn why.
get
/whatsapp/1/senders/{sender}/templates
Authorizations:
Scopes:
Request rate limit:
15 requests / second (per account)
path Parameters
sender required | string Example: 447796344125 Registered WhatsApp sender number. Must be in international format. |
Responses
200
List of all templates and their statuses for a given sender.
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g 'https://{baseUrl}/whatsapp/1/senders/447796344125/templates' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 200
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Example
Media Template
Copy
Collapse all {- "templates": [
- {
- "id": "111",
- "businessAccountId": 222,
- "name": "media_template",
- "language": "en",
- "status": "APPROVED",
- "category": "ACCOUNT_UPDATE",
- "structure": {
- "header": {
- "format": "IMAGE"
}, - "body": "example {{1}} body",
- "footer": "exampleFooter",
- "type": "MEDIA"
}
}
]
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See