Home > API Center > API interface guide

 
 

Send RCS

POST
https://api.laaffic.com/v3/rcsSend
Send RCS messages with support for batch sending of text and images.
 
Request Parameters
Parameter Description Required Type
appId Application ID (Account Management > Application Management > appId property) Yes String
numbers Recipient numbers. Separate multiple numbers with commas. Maximum 1,000 numbers. Yes String
content Message content. Must not exceed 1,000 characters. Yes String
cmsFile Attachment ID (only PNG/JPG/JPEG formats are supported; maximum 300 KB; one file only) No String
 
Request Example
Request URL:
    https://api.laaffic.com/v3/rcsSend
Request Method: 
    POST
Request Headers:
    Content-Type: application/json;charset=UTF-8
    Sign: 05d7a50893e22a5c4bb3216ae3396c7c
    Timestamp: 1630468800
    Api-Key: bDqJFiq9
Request Body:
{
    "appId":"4luaKsL2",
    "numbers":"91856321412,91856321413",
    "content":"helloworld",
    "cmsFile":"57_3_1727059993381.png"
}
 
Response Parameters
Parameter Description Type
status Status code: 0 indicates success. For other values, see the Response Status Codes documentation. String
reason Description of the failure reason String
success Number of successfully submitted numbers String
fail Number of failed submissions String
array JSON collection for successfully submitted numbers JSONArray
msgId Platform msgId corresponding to the submitted number String
number Submitted number String
 
Response Example
{
    "status":"0",
    "reason":"success",
    "success":"2",
    "fail":"0",
    "array":[
        {
            "msgId":"2108021054011000095",
            "number":"91856321412"
        },
        {
            "msgId":"2108021059531000096",
            "number":"91856321413"
        }
    ]
}

Was this page helpful?

Questions about integration? Contact our technical support

LAAFFIC API dedicated TG technical support channel, real-time response to your needs

Contact via Telegram

Telegram
WhatsApp
Chat with us!
Need help?
Click here and start chatting with us!