...
Code Block | ||||
---|---|---|---|---|
| ||||
POST https://sendsms.mailup.com/api/v2.0/sms/{account_ID}/{List_ID} HTTP/1.1 User-Agent: Fiddler Host: sendsms.mailup.com Content-Type: application/json;odata=verbose;charset=utf-8 Content-Length: 428 { "Content":"Hi [Name], welcome to [City]", "ListGuid":"xxxxxxxx-aaa-bbbb-cccc-e3a98b626156", "ListSecret":"yyyyyyyy-ddd-eeee-ffff-3e1cb0e6e64c", "Recipient":"+393350000001", "CampaignCode":"Welcome messages", "DynamicFields":[{"N":"Name","V":"John"},{"N":"City","V":"Cremona"}], "isUnicode":0 } |
Anchor Transactional_SMS_parameters Transactional_SMS_parameters
Request
Transactional_SMS_parameters | |
Transactional_SMS_parameters |
Expand | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||
Always check subscription status on specified list (SMS_Optin table)
* max 11 chars, only letters and numbers (a-zA-Z0-9) |
Response
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HTTP response statuses that can be returned by this API, and the corresponding error code provided by the application (inside the response).
|
...
In addition to HTTP and Application codes, a successful response has the following format:
where DeliveryId is a unique identifier that can be used to retrieve the result of a specific sending (link), while Cost is the cost in credits of the sending operation |