{
"whatsapp_number": "{{whatsapp_number}}",
"type": "INTERACTIVE",
"to_whatsapp_number": "{{destination_number}}",
"content": {
"type": "cta_url",
"header": {
"type": "text",
"text": "header"
},
"body": {
"text": "<Text content>"
},
"action": {
"name": "cta_url",
"parameters": {
"url": "https://url.com",
"display_text": "Display Text"
}
},
"footer": {
"text": "your-footer- dntent"
}
}
}curl --location 'https://api.sudonum.com.com/v2/whatsapp/messages/' \
--header 'Content-Type: application/json' \
--data '{
"whatsapp_number": "{{whatsapp_number}}",
"type": "INTERACTIVE",
"to_whatsapp_number": "{{destination_number}}",
"content": {
"type": "cta_url",
"header": {
"type": "text",
"text": "header"
},
"body": {
"text": "<Text content>"
},
"action": {
"name": "cta_url",
"parameters": {
"url": "https://url.com",
"display_text": "Display Text"
}
},
"footer": {
"text": "your-footer- dntent"
}
}
}'{
"uuid": "9eaf0f74-fb75-45d2-93d0-6d017788ba0d",
"type": "INTERACTIVE",
"status": "QUEUED",
"status_description": "",
"whatsapp_number": "<whatsapp_number>",
"direction": "OUTBOUND",
"from_whatsapp_number": "<whatsapp_number>",
"to_whatsapp_number": "<destination_number>",
"message_data": {
"account_number": "<whatsapp_number>",
"content": {
"type": "cta_url",
"body": {
"text": "<Text content>"
},
"action": {
"name": "cta_url",
"parameters": {
"url": "https://url.com",
"display_text": "Display Text"
}
}
},
"interactive_type": "list"
},
"meta_data": {},
"context_data": {},
"created": "2024-08-20T12:18:34.684425Z",
"modified": "2024-08-20T12:18:34.688055Z"
}