Text
Text message examples shown for each supported platform
{
"receiver": {
"contacts": [
{
"identifierValue": "+31612345678"
}
]
},
"body": {...}
}
Single text message
Message Body
{
"type": "text",
"text": {
"text": "Single text message"
}
}
SMS
WhatsApp
Google RCS

Instagram
Line

Single text message with actions
Single text message with reply actions
Message Body
{
"type": "text",
"text": {
"text": "Single text message with reply actions",
"actions": [
{
"type": "reply",
"reply": {
"text": "Reply action 1"
}
},
{
"type": "reply",
"reply": {
"text": "Reply action 2"
}
}
]
}
}
WhatsApp
Google RCS

Facebook
Instagram
Line

Single text message with postback actions
Message Body
{
"type": "text",
"text": {
"text": "Single text message with postback actions",
"actions": [
{
"type": "postback",
"postback": {
"text": "Postback action 1",
"payload": "postback-payload-1"
}
},
{
"type": "postback",
"postback": {
"text": "Postback action 2",
"payload": "postback-payload-2"
}
}
]
}
}
WhatsApp
Google RCS

Facebook
Instagram
Line

Single text message with postback and reply actions
Message Body
{
"type": "text",
"text": {
"text": "Single text message with reply and postback actions",
"actions": [
{
"type": "postback",
"postback": {
"text": "Postback action 1",
"payload": "postback-payload-1"
}
},
{
"type": "reply",
"reply": {
"text": "Reply action 1"
}
}
]
}
}
WhatsApp
Google RCS

Facebook
Instagram
Line

Last updated
Was this helpful?