Limit the number of collection items to be returned. Use 0 to return an empty collection and still receive the count of matching items in Pagination-Total.
Security
SecretApiKey or JWT
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
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/email-messages?limit=0&offset=0&q=string&sort=string&filter=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'Headers
Total number of items that match the request. The value is independent of limit, including when limit is 0.
Example:332
Array [ID of the email message. Metadata associated with the email message. Email address of the sender. List of email addresses to which the email message is sent. List of CC email addresses to which the email message is sent. List of BCC email addresses to which the email message is sent. 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. ]
Example:"mail_msg_0YVCNR8ZRBCVMAX28DP4XRFZVA"
Example:
{ "eventType": "subscription-canceled" }
ID of the SMTP or Email Service Provider (ESP) credential.
Example:"b120c2ca-6c2b-4690-9dff-3b0d87852dc7"
Example:"from-example@rebilly.com"
Example:
[ "to-example@rebilly.com" ]
Example:
[ "cc-example@rebilly.com" ]
Example:
[ "cc-example@rebilly.com" ]
Example:"Welcome dear customer!"
Example:250
Response
[ { "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": [ … ] } ]