Curl call:


curl --location 'https://cpaaswa.netcorecloud.net/api/v2/message/nc/' \
--header 'Authorization: Bearer API key' \
--header 'Content-Type: application/json' \
--header 'cache-control: no-cache' \
--data '{
"message": [
{
"recipient_whatsapp": "919967666403",
"recipient_type": "individual",
"message_type": "media_template",
"cta_link_track": "0",
"type_template": [
{
"name": "Template name",
"attributes": [
"12345"
],
"header_attributes": [],
"language": {
"locale": "en",
"policy": "deterministic"
}
}
],
"type_media_template": {
"type": "text",
"filename": " ",
"button": [
{
"index": 0,
"payload": "12345",
"sub_type": "url"
}
]
}
}
]
}'