Messages
To access this resource and use the methods, you must have a SMTP+ user enabled. Usename and password must be included in each request.
...
Description | The method allows the sending of a message to multiple recipients, the message content is passed as input in HTML or plain text. The message may also include attachments and embedded images. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTTP Method | POST | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
URL | https://send.mailup.com/API/v2.0/messages/sendmessage | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Reference |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JSON request (example) |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JSON response (example) | Example of a successful response: { "Status":"done", Example of error: { "Status":"error", |
SendTemplate
Description | The method allows the sending of a message to multiple recipients, the message content HTML and plain text is obtained from a template stored in the MailUp administration console. The message may also include attachments and embedded images. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTTP Method | POST | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
URL | https://send.mailup.com/API/v2.0/messages/sendtemplate | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Reference |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JSON request (example) |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JSON response (example) | Example of a successful response: { "Status":"done",
Example of error: { "Status":"error", |
Users
To access this resource and use the methods, you must have a SMTP+ user enabled. Usename and password must be included in each request.
ListUserInfo
Description | The method provides the list of SMTP+ users associated to the distribution list of caller. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HTTP Method | POST | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
URL | https://send.mailup.com/API/v2.0/users/listuserinfo | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Reference |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JSON request (example) | {"User":{"Username":"sNNNN_NN","Secret":"..."},"Username":"sMMMM_MM"} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JSON response (example) | Example of a successful response: {
Example of error: { "Status":"error", |
Error code
This table contains the list of error codes that can be returned by the API methods.
ErrorCode | Description |
---|---|
0 | Ok |
1 | The operation is failed. |
101 | The input is null. |
102 | The operation is not authorized. |
103 | The user is not enabled. |
104 | The user is blocked. |
105 | The user is blocked until this date. |
106 | The console account is not found. |
107 | The console account is suspended. |
108 | The console account is deleted. |
109 | At least one recipient is required. |
110 | The sender is mandatory. |
111 | The template is not found. |
112 | User is deleted. |