This method can only be applied to mailings of type DOI
Returns the DOI key of the mailing with the provided id.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/settings/doi_key |
Attributes
Parameter | Default | Description |
---|---|---|
mailingId | Optional parameter. If filled, the unsubscription event will be counted for the mailing with the given ID and will be visible in the reports. Note, that you will get an error '400 – Bad Request', if you specify a mailing that has not been sent yet (i.e. has not the state 'sealed' and is still a draft). |
Example
1 2 3 |
GET https://api.maileon.com/1.0/mailings/4285/settings/doi_key Accept: application/vnd.maileon.api+xml; charset=utf-8 ... |
1 2 3 4 5 |
Status: 200 OK Content-Type: application/vnd.maileon.api+xml < ?xml version="1.0" encoding="UTF-8"?> <doi_key>kh68gb7</doi_key> |