Get WhatsApp Templates
Get all the templates and their statuses for a given sender.
Please log in to see full path URL. Learn why.
get
/whatsapp/2/senders/{sender}/templates
Authorizations:
Scopes:
Request rate limit:
2500 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/2/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": "MARKETING",
- "structure": {
- "header": {
- "format": "IMAGE"
}, - "body": {
- "text": "example {{1}} body"
}, - "footer": {
- "text": "exampleFooter"
}, - "type": "MEDIA"
}, - "quality": "HIGH",
- "platform": {
- "entityId": "entityId",
- "applicationId": "applicationId"
}, - "createdAt": "2024-01-01T00:00:00.000+0000",
- "lastUpdatedAt": "2024-01-01T00:00:00.000+0000"
}
]
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See