Retrieves a list of email messages.
limit | integer [ 0 .. 1000 ] Limits the number of collection items to be returned. |
offset | integer >= 0 Specifies the starting point within the collection of items to be returned. |
q | string Use this field to perform a partial search of text fields. |
sort | Array of strings Sorts and orders the collection of items. To sort in descending
order, prefix with |
filter | string Filters the collection items. This field requires
a special format. Use For more information, see Using filter with collections. |
List of email messages retrieved.
Unauthorized access. Invalid credentials used.
Access forbidden.
[- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "status": "draft",
- "metadata": {
- "eventType": "subscription-canceled"
}, - "credentialHash": "b120c2ca-6c2b-4690-9dff-3b0d87852dc7",
- "from": "from-example@rebilly.com",
- "to": [
- "to-example@rebilly.com"
], - "cc": [
- "cc-example@rebilly.com"
], - "bcc": [
- "cc-example@rebilly.com"
], - "subject": "Welcome dear customer!",
- "text": "Email message text body",
- "html": "<p>Email message html body</p>",
- "attachments": [
- {
- "resourceType": "invoice",
- "resourceId": "INV-1"
}
], - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
]