Submit authenticated HTTP POST requests targeting the microservice route details below:
{
"toNumber": "91xxxxxxxxxx",
"templateName": "hello_world", // Testing template handle
"languageCode": "en"
}
Used for static notification broadcasts that don't pass parameter variables. Manage custom definitions via the Meta Workspace Template Console.
{
"toNumber": "91xxxxxxxxxx",
"templateName": "api_test",
"languageCode": "en",
"bodyParameters": [
"Server Maintenance", // Maps directly to {{1}}
"Check back at 5 PM" // Maps directly to {{2}}
]
}
Variables inside the template array map cleanly and in order into your placeholder values configured downstream inside Meta configuration blocks.
{
"toNumber": "91xxxxxxxxxx",
"templateName": "welcome_promo_img",
"mediaUrl": "https://thumbs.dreamstime.com/b/demo-text-businessman-dark-vintage-background-108609906.jpg",
"mediaType": "image",
"bodyParameters": [ "John Doe" ]
}
Requires template configured with an Image Header component. Ensuring bodyParameters matches parameter counts is strict to avoid layout drop errors.
{
"toNumber": "91xxxxxxxxxx",
"templateName": "test_video_temp",
"mediaUrl": "https://www.youtube.com/watch?v=st_HPHzpq7Y",
"mediaType": "video",
"bodyParameters": [ "Interactive Feature Demo" ]
}
Pass public streaming pathways directly inside the mediaUrl field wrapper using an application container certified for standard H.264 rendering processes.
{
"toNumber": "91xxxxxxxxxx",
"templateName": "test_doc_temp",
"mediaUrl": "https://pdfobject.com/pdf/sample.pdf",
"mediaType": "document",
"fileName": "Official_Tax_Invoice.pdf",
"bodyParameters": [ "INV-6081" ]
}
Passing the fileName property explicitly sets the visible file context signature string sent downstream to end terminal user applications.
| Key | Type | Status | Definition Constraint |
|---|---|---|---|
| toNumber | String |
Mandatory | Target number containing country code values (e.g., 91xxxxxxxxxx). |
| templateName | String |
Mandatory | The absolute unique template identifier verified inside Meta. |
| bodyParameters | List |
Conditional | Sequential array items mapping directly inside structural template indices. |
Real-time visualization of the inbound API payload executions down the channel pathways.