Send SMS

API Description

Send a short message to users.

API Info

API Url Method
[https://[HOST]/eBao/1.0/sms/send](https://[HOST]/eBao/1.0/sms/send) POST
Parameter Value
Authorization Get Token via API (/cas/ebao/v1/json/tickets)

API Parameters

Data format: application/json

Name Required Type Description Example
phones YES List<String> Mobile phone list for receive SMS ['+8613011111111', '+8613022222222']
templateCode YES String SMS content template SMS-123456
signName YES String SMS signature eBaoCloud
params YES Object parameters of template {'code':'1234', time:'15'}

Successful Response

{
    "status": 0,
    "info": null
}

Failed Response

{
    "status": 1,
    "info": "Error Message"
}

results matching ""

    No results matching ""