POST api/sms/send

Queues SMS Message.

Request Information

URI Parameters

None.

Body Parameters

SmsRequestModel
NameDescriptionTypeAdditional information
To

To

string

Required

Matching regular expression pattern: ^\+[1-9][0-9]{7,11}$

Body

Body

string

Required

String length: inclusive between 0 and 140

Request Formats

application/json, text/json

Sample:
{
  "to": "sample string 1",
  "body": "sample string 2"
}

application/xml, text/xml

Sample:
<SmsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSEY.API.Models.Sms">
  <Body>sample string 2</Body>
  <To>sample string 1</To>
</SmsRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.