Get limit on number of contacts to which mailing with given ID will be sent. In case if this limit is was never set, this resource sends value 2147483647 (Java MAX_INT) as default. Information is also retrieved for sealed mailings.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/settings/contacts_limit |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
404 Not found |
Mailing ID cannot be found |
Example
200 OK
Contacts Limit was set
1 2 3 |
GET https://api.maileon.com/1.0/mailings/1823/settings/contacts_limit 200 <contacts_limit>2222</contacts_limit> |
Contacts Limit was not set
1 2 3 |
GET https://api.maileon.com/1.0/mailings/2345/settings/contacts_limit 200 <contacts_limit>2147483647</contacts_limit> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/1234/settings/contacts_limit 404 <error><message>mailing not found</message></error> |