Send MMS

POST

https://api.laaffic.com/v3/mmsSend

Send MMS messages.
 
Request Parameters
Parameters Description Required Type
appId Application id (page account management-Application Management-appId attribute) Yes String
numbers MMS receiving numbers, multiple numbers separated by commas, up to 1000 Yes String
content Send content, length should not be over the 1024 characters Yes String
mmsType 1-Default mode, MMS theme is displayed according to the filled content; 2-Random mode, no need to enter MMS theme, MMS theme will be randomly generated (mmsType=2, the number of content billing items sent cannot exceed 1). Yes String
mmsFiles MMS attachment id collection, separated by multiple commas (The maximum size of an MMS attachment is 50kb, and a single task can carry up to 3 MMS files.). No String
mmsTitle MMS Theme, length should not be over the 80 characters. No String
 
Request Sample
Request URL:
    https://api.laaffic.com/v3/mmsSend
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",
    "mmsType":"1",
    "mmsFiles":"57_3_1727059993381.txt,57_5_1727059993382.txt",
    "mmsTitle":"title"
}
 
Response Parameters
Parameters Description Type
status "0"means successful, others than 0 means failure, seeing Status Code description. String
reason Failure reason description String
success Number of successfully submitted numbers String
fail Number of failure submitted numbers String
array The number of Successful Submitted Array JSONArray
msgId Submitted numbers id corresponding to platform String
number Submitted numbers String
 
Request Sample
{
    "status":"0",
    "reason":"success",
    "success":"2",
    "fail":"0",
    "array":[
        {
            "msgId":"2108021054011000095",
            "number":"91856321412"
        },
        {
            "msgId":"2108021059531000096",
            "number":"91856321413"
        }
    ]
}

Telegram
WhatsApp
Chat with us!

Need help?

Click here and start chatting with us!