post
https://www.fast2sms.com/dev/whatsapp///message_templates
Create a template that includes a Location header. Note: You do not need to provide a location example in the header during creation, only the format.
Example Request Body
{
"name": "location_test",
"language": "en",
"category": "MARKETING",
"components": [
{
"type": "HEADER",
"format": "LOCATION"
},
{
"type": "BODY",
"text": "Hello {{1}}. Your account is now LIVE, enjoy our services!",
"example": {
"body_text": [
[
"Name"
]
]
}
}
]
}