SMS

After sending a text message, the PBX will send a SMS report to the application server.

Report parameters

Parameter Type Description
event String Event type.
status String The result of sending text messages.
  • Success
  • Failed
smsid Integer The unique ID for the SMS.
sn String The PBX's serial number.

Report example

POST / HTTP/1.1
Host: 192.168.5.150: 8260
Accept: application/json
User-Agent: WebAPI
Content-Type: application/json
Accept: application/json

{
	"event": "sms-send",
	"status": "Success",
	"smsid": "15980751615-1571987010",
	"sn": "369451090405"
}