As the mailing name is a unique feature in Maileon, this call returns the ID of mailing with a given name or 404, if not found.
1 |
GET https://api.maileon.com/1.0/mailings/name/:mailingName |
Attributes
Parameter | Description |
---|---|
mailingName | URL-Encoded version of the mailing name |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
404 Not Found |
If there was no such mailing with that name found |
Example
1 2 3 |
GET https://api.maileon.com/1.0/mailings/name/My%20Test Accept: application/vnd.maileon.api+xml; charset=utf-8 Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXX |
1 2 |
Status: 200 OK <id>3016</id> |