Carousel Template — Without Dynamic CTA
Same shape as a Carousel Template — With Dynamic CTA, but the per-card buttons are static — no buttonValues payload because the template was approved with fixed URLs.
Use this when every card’s CTA points to the same fixed URL or a phone number, and only the per-card image and body text vary by send.
Endpoint
POST https://apis.splashifypro.com/api/v1/public/messageHeaders
| Header | Value |
|---|---|
Authorization | Basic YOUR_API_KEY |
Content-Type | application/json |
Request body
{
"phoneNumber": "9999999999",
"callbackData": "carousel_static",
"template_category": "utility",
"type": "Template",
"template": {
"name": "template_name_here",
"languageCode": "en",
"bodyValues": [
"body_variable_value_1",
"body_variable_value_2"
],
"carouselCards": [
{
"headerValues": ["media_url_here"],
"bodyValues": ["body_variable_value_1"]
},
{
"headerValues": ["media_url_here"],
"bodyValues": ["body_variable_value_1"]
}
]
}
}| Field | Required | Notes |
|---|---|---|
template_category | optional | Lock the send to a category (utility, marketing, authentication) — surfaced at the top level here |
template.carouselCards[].headerValues | optional | Image / video URL for the card |
template.carouselCards[].bodyValues | optional | Per-card body variables |
buttonValues | not used | Omit entirely when the buttons have no dynamic part |
Example
curl -X POST https://apis.splashifypro.com/api/v1/public/message \
-H "Authorization: Basic YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phoneNumber": "9999999999",
"callbackData": "some text here",
"template_category": "utility",
"type": "Template",
"template": {
"name": "template_name_here",
"languageCode": "en",
"bodyValues": ["body_variable_value_1", "body_variable_value_2"],
"carouselCards": [
{ "headerValues": ["media_url_here"], "bodyValues": ["body_variable_value_1"] },
{ "headerValues": ["media_url_here"], "bodyValues": ["body_variable_value_1"] }
]
}
}'Successful response — 201 Created
{
"result": true,
"message": "Message created successfully",
"id": "8d620ba1-640f-42ee-a8dd-15363422144b"
}When to use this vs the dynamic variant
| You need | Use |
|---|---|
| Each card linking to a different per-customer URL | Carousel — With Dynamic CTA |
| Each card linking to the same fixed URL (e.g. catalog) | This endpoint |
| Cards with phone-number buttons (always static) | This endpoint |