Retrieves a list of email messages.
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/email-messages
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/email-messages
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/email-messages
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/email-messages?limit=1000&offset=1000&q=string&sort=string&filter=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'List of email messages retrieved.
ID of the email message.
Metadata associated with the email message.
{ "eventType": "subscription-canceled" }
ID of the SMTP or Email Service Provider (ESP) credential.
Email address of the sender.
List of email addresses to which the email message is sent.
[ "to-example@rebilly.com" ]
List of CC email addresses to which the email message is sent.
[ "cc-example@rebilly.com" ]
List of BCC email addresses to which the email message is sent.
[ "cc-example@rebilly.com" ]
Subject of the email message.
Status code returned by a mail service after an attempt to send email.
Body of response returned by a mail service after an attempt to send email.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
[ { "id": "mail_msg_0YVCNR8ZRBCVMAX28DP4XRFZVA", "status": "draft", "metadata": { … }, "credentialHash": "b120c2ca-6c2b-4690-9dff-3b0d87852dc7", "from": "from-example@rebilly.com", "to": [ … ], "cc": [ … ], "bcc": [ … ], "subject": "Welcome dear customer!", "text": "Email message text body", "html": "<p>Email message html body</p>", "attachments": [ … ], "responseCode": 250, "responseBody": "string", "initiatedTime": "2019-08-24T14:15:22Z", "sentTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ … ] } ]