{
"SMS": {
"body": "Your verification code is 123456",
"channel": "SMS",
"isFlash": false,
"isUnicode": false,
"dltTemplateId": "TEMPLATE123"
},
"EMAIL": {
"subject": "Welcome to Our Service",
"channel": "EMAIL",
"body": "<p>Hello,</p><p>Thank you for signing up!</p>",
"fromName": "Support Team",
"fromEmail": "noreply@example.com",
"replyTo": "support@example.com",
"cc": ["team@example.com"],
"isRawHTML": true
},
"SLACK": {
"channel": "SLACK",
"body": "New user signup!\n*Name*: John Doe\n*Email*: john@example.com"
},
"WHATSAPP": {
"channel": "WHATSAPP",
"templateName": "welcome_message",
"language": "en",
"namespace": "your_namespace",
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "John"
}
]
}
]
},
"PUSH": {
"channel": "PUSH",
"title": "Welcome!",
"body": "Thanks for installing our app.",
"priority": "high"
},
"IN_APP": {
"channel": "IN_APP",
"title": "Welcome Aboard!",
"body": "Get started with our app by completing your profile.",
"type": "WELCOME"
}
}
Add or update channel templates to draft version of template
{
"SMS": {
"body": "Your verification code is 123456",
"channel": "SMS",
"isFlash": false,
"isUnicode": false,
"dltTemplateId": "TEMPLATE123"
},
"EMAIL": {
"subject": "Welcome to Our Service",
"channel": "EMAIL",
"body": "<p>Hello,</p><p>Thank you for signing up!</p>",
"fromName": "Support Team",
"fromEmail": "noreply@example.com",
"replyTo": "support@example.com",
"cc": ["team@example.com"],
"isRawHTML": true
},
"SLACK": {
"channel": "SLACK",
"body": "New user signup!\n*Name*: John Doe\n*Email*: john@example.com"
},
"WHATSAPP": {
"channel": "WHATSAPP",
"templateName": "welcome_message",
"language": "en",
"namespace": "your_namespace",
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "John"
}
]
}
]
},
"PUSH": {
"channel": "PUSH",
"title": "Welcome!",
"body": "Thanks for installing our app.",
"priority": "high"
},
"IN_APP": {
"channel": "IN_APP",
"title": "Welcome Aboard!",
"body": "Get started with our app by completing your profile.",
"type": "WELCOME"
}
}
Bearer {{apiToken}}
{
"SMS": {
"body": "<message>",
"channel": "SMS",
"isFlash": false,
"isUnicode": false,
"dltTemplateId": "<dlt_template_id>"
},
"EMAIL": {
"subject": "<subject>",
"channel": "EMAIL",
"body": "<html_body>",
"fromName": "<from_name>",
"fromEmail": "<from_email>",
"replyTo": "<reply_to_email>",
"cc": ["<cc_email>"],
"bcc": ["<bcc_email>"],
"attachments": [],
"isRawHTML": true,
"isPlainText": false
},
"SLACK": {
"channel": "SLACK",
"body": "<message>",
"attachments": [],
"buttons": []
},
"WHATSAPP": {
"channel": "WHATSAPP",
"templateName": "<template_name>",
"language": "<language_code>",
"namespace": "<namespace>",
"components": []
},
"PUSH": {
"channel": "PUSH",
"title": "<title>",
"body": "<message>",
"imageUrl": "<image_url>",
"deepLink": "<deeplink_url>",
"timeToLive": 86400,
"priority": "<high|normal|low>",
"analyticsLabel": "<event_name>",
"android": {
"channelId": "<channel_id>",
"icon": "<icon_name>",
"color": "<hex_color>",
"sound": "<sound_name>"
},
"ios": {
"sound": "<sound_name>",
"badge": 1,
"category": "<category_id>"
},
"web": {
"icon": "<icon_url>",
"badge": "<badge_url>"
}
},
"IN_APP": {
"channel": "IN_APP",
"title": "<title>",
"body": "<message>",
"type": "<notification_type>",
"priority": "<priority_level>",
"expiry": 168,
"actions": [
{
"type": "<action_type>",
"label": "<button_label>"
}
]
}
}
{
"SMS": {
"body": "Your verification code is 123456",
"channel": "SMS",
"isFlash": false,
"isUnicode": false,
"dltTemplateId": "TEMPLATE123"
},
"EMAIL": {
"subject": "Welcome to Our Service",
"channel": "EMAIL",
"body": "<p>Hello,</p><p>Thank you for signing up!</p>",
"fromName": "Support Team",
"fromEmail": "noreply@example.com",
"replyTo": "support@example.com",
"cc": ["team@example.com"],
"isRawHTML": true
},
"SLACK": {
"channel": "SLACK",
"body": "New user signup!\n*Name*: John Doe\n*Email*: john@example.com"
},
"WHATSAPP": {
"channel": "WHATSAPP",
"templateName": "welcome_message",
"language": "en",
"namespace": "your_namespace",
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "John"
}
]
}
]
},
"PUSH": {
"channel": "PUSH",
"title": "Welcome!",
"body": "Thanks for installing our app.",
"priority": "high"
},
"IN_APP": {
"channel": "IN_APP",
"title": "Welcome Aboard!",
"body": "Get started with our app by completing your profile.",
"type": "WELCOME"
}
}
Was this page helpful?