Usage samples: Google RCS
Please see Messaging Apps API for the full API reference.
Sending a Text Message
Text only
{
"user": {
"msisdn": "+10000000000"
},
"type": "Text",
"content": {
"text": "Hi There, this is a Sample RCS Text Message"
}
}
The corresponding message the user will receive:
Sending a Rich Media Message
Image & text
{
"user": {
"msisdn": "+10000000000"
},
"type": "Image",
"content": {
"url": "https://www.example.com/image.jpg",
"text": "Hi There, this is a Sample RCS Image Message"
}
}
The corresponding message the user will receive:

Video & text
{
"user": {
"msisdn": "+10000000000"
},
"type": "Video",
"content": {
"url": "https://www.example.com/video.mp4",
"text": "Hi There, this is a Sample RCS Video Message"
}
}
The corresponding message the user will receive:

Audio & text
{
"user": {
"msisdn": "+10000000000"
},
"type": "Audio",
"content": {
"url": "https://www.example.com/video.mp4",
"text": "Hi There, this is a Sample RCS Audio Message"
}
}
The corresponding message the user will receive:
File & text
{
"user": {
"msisdn": "+10000000000"
},
"type": "Text",
"content": {
"url": "https://example.com/links/TestPDFfile.pdf",
"text": "Hi There, this is a Sample RCS File Message"
}
}
The corresponding message the user will receive:
Updated 1 day ago