Inbound.
Read the email your inboxes receive. Every request needs an API key in the Authorization header; the reference overview covers keys, errors and rate limits.
List received messages
GET/v1/inbound/messagesFull access key
List the messages your inboxes received, newest first. Messages caught as spam are left out. Pass nextCursor back as cursor for the next page; limit is 1 to 100 (25 by default), and inbox narrows the list to one inbox. Every message is also sent to your webhooks as email.received.
| Field | Type | About |
|---|---|---|
limit | integer | Default |
cursor | string | |
inbox | string | Only messages received by this inbox. |
curl -X GET "https://app.usenotix.dev/api/v1/inbound/messages" \
-H "Authorization: Bearer $NOTIX_API_KEY"
Responses
200A page of received messages, newest first, with the cursor for the next page.
| Field | Type | About |
|---|---|---|
datarequired | object[] | |
data[].messageIdrequired | string | |
data[].conversationIdrequired | string | |
data[].inboxrequired | object | |
data[].inbox.idrequired | string | |
data[].inbox.namerequired | string | |
data[].fromrequired | string | |
data[].torequired | string[] | |
data[].ccrequired | string[] | |
data[].subjectrequired | string | |
data[].textrequired | string | Can be null. |
data[].htmlrequired | string | Sanitized HTML: no scripts, forms or frames; remote images moved to data-remote-src. Can be null. |
data[].strippedTextrequired | string | The new part of the message without quoted history. Can be null. |
data[].attachmentsrequired | object[] | |
data[].attachments[].filenamerequired | string | |
data[].attachments[].contentTyperequired | string | |
data[].attachments[].sizerequired | integer | |
data[].attachments[].urlrequired | string | |
data[].contactIdrequired | string | Can be null. |
data[].inReplyToEmailIdrequired | string | The Notix email this message answers, when found. Can be null. |
data[].spamVerdictrequired | string | |
data[].receivedAtrequired | string (date-time) | |
nextCursorrequired | string | Can be null. |
400Invalid limit or cursor.
Get a received message
GET/v1/inbound/messages/{id}Full access key
Read one received message with its text, sanitized HTML, the new part without quoted history (strippedText) and attachment links that work for 24 hours. inReplyToEmailId names the Notix email it answers, when there is one.
| Field | Type | About |
|---|---|---|
idrequired | string |
curl -X GET "https://app.usenotix.dev/api/v1/inbound/messages/<id>" \
-H "Authorization: Bearer $NOTIX_API_KEY"
Responses
200The received message.
| Field | Type | About |
|---|---|---|
messageIdrequired | string | |
conversationIdrequired | string | |
inboxrequired | object | |
inbox.idrequired | string | |
inbox.namerequired | string | |
fromrequired | string | |
torequired | string[] | |
ccrequired | string[] | |
subjectrequired | string | |
textrequired | string | Can be null. |
htmlrequired | string | Sanitized HTML: no scripts, forms or frames; remote images moved to data-remote-src. Can be null. |
strippedTextrequired | string | The new part of the message without quoted history. Can be null. |
attachmentsrequired | object[] | |
attachments[].filenamerequired | string | |
attachments[].contentTyperequired | string | |
attachments[].sizerequired | integer | |
attachments[].urlrequired | string | |
contactIdrequired | string | Can be null. |
inReplyToEmailIdrequired | string | The Notix email this message answers, when found. Can be null. |
spamVerdictrequired | string | |
receivedAtrequired | string (date-time) |
404No received message with this id for the calling team.
Download the original message
GET/v1/inbound/messages/{id}/rawFull access key
Download the original message exactly as it arrived, as an .eml file. Notix keeps originals for 30 days; after that this answers 422.
| Field | Type | About |
|---|---|---|
idrequired | string |
curl -X GET "https://app.usenotix.dev/api/v1/inbound/messages/<id>/raw" \
-H "Authorization: Bearer $NOTIX_API_KEY"