...
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 } |
Request
Expand | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
All fields are mandatory
|
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 code, 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
|