Download OpenAPI specification:Download
Search over inbound emails
filter | string Example: filter=createdAfter:2020-08-01,createdBefore:2020-09-01 Filters to apply to records. Available filters are createdAfter, createdBefore, to, subject. |
limit | integer [ 1 .. 1000 ] Example: limit=50 Max number of records to return |
offset | integer >= 0 Example: offset=100 Used for paging - offset from start |
include | string Example: include=Attachment Provide list of extended properties to return |
fields | string Example: fields=from,to,subject,id,createdAt,updatedAt List of basic properties to return (* indicates all) |
order | string Example: order=-createdAt,subject Sort order for results - hyphen prefix reverses order |
{- "Info": {
- "offset": 10,
- "limit": 50,
- "count": 67
}, - "InboundEmails": [
- {
- "id": 234,
- "from": "dbyd@1100.com.au",
- "to": "gary@mac.com",
- "subject": "This is an email",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "Attachments": [
- {
- "id": 234,
- "name": null,
- "mimeType": "application/pdf"
}
]
}
]
}
Retrieve one inbound email
emailId required | integer >= 1 Example: 123 |
{- "id": 234,
- "from": "dbyd@1100.com.au",
- "to": "gary@mac.com",
- "subject": "This is an email",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "Attachments": [
- {
- "id": 234,
- "name": null,
- "mimeType": "application/pdf"
}
]
}
Search over outbound emails
filter | string Example: filter=createdAfter:2020-08-01,createdBefore:2020-09-01 Filters to apply to records |
limit | integer [ 1 .. 1000 ] Example: limit=50 Max number of records to return |
offset | integer >= 0 Example: offset=100 Used for paging - offset from start |
include | string Example: include=Attachment,Event Provide list of extended properties to return |
fields | string Example: fields=from,to,subject,body,id,createdAt,updatedAt List of basic properties to return (* indicates all) |
order | string Example: order=-createdAt,subject Sort order for results - hyphen prefix reverses order |
{- "Info": {
- "offset": 10,
- "limit": 50,
- "count": 67
}, - "OutboundEmails": [
- {
- "id": 234,
- "from": "dbyd@1100.com.au",
- "to": "gary@mac.com",
- "subject": "This is an email",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "isIgnored": true,
- "Attachments": [
- {
- "id": 234,
- "name": null,
- "mimeType": "application/pdf"
}
], - "Events": [
- {
- "id": 234,
- "type": "processed",
- "createdAt": "2020-08-01T03:36:00.000Z"
}
]
}
]
}
Retrieve one outbound email
emailId required | integer >= 1 Example: 123 |
{- "id": 234,
- "from": "dbyd@1100.com.au",
- "to": "gary@mac.com",
- "subject": "This is an email",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "isIgnored": true,
- "Attachments": [
- {
- "id": 234,
- "name": null,
- "mimeType": "application/pdf"
}
], - "Events": [
- {
- "id": 234,
- "type": "processed",
- "createdAt": "2020-08-01T03:36:00.000Z"
}
]
}
Update an Outbound Email
emailId required | integer >= 1 Example: 1 ID of the outbound email to update |
isIgnored | boolean |
{- "isIgnored": true
}
{- "id": 234,
- "from": "dbyd@1100.com.au",
- "to": "gary@mac.com",
- "subject": "This is an email",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "isIgnored": true,
- "Attachments": [
- {
- "id": 234,
- "name": null,
- "mimeType": "application/pdf"
}
], - "Events": [
- {
- "id": 234,
- "type": "processed",
- "createdAt": "2020-08-01T03:36:00.000Z"
}
]
}
Resend an outbound email
emailId required | integer >= 1 Example: 123 |
destinationEmail | string |
{- "destinationEmail": "user@example.com"
}
{- "id": 234,
- "from": "dbyd@1100.com.au",
- "to": "gary@mac.com",
- "subject": "This is an email",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "isIgnored": true,
- "Attachments": [
- {
- "id": 234,
- "name": null,
- "mimeType": "application/pdf"
}
], - "Events": [
- {
- "id": 234,
- "type": "processed",
- "createdAt": "2020-08-01T03:36:00.000Z"
}
]
}