Notix
API reference

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.

Query parameters
FieldTypeAbout
limitinteger

Default 25.

cursorstring
inboxstring

Only messages received by this inbox.

terminal
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.
200 response fields
FieldTypeAbout
datarequiredobject[]
data[].messageIdrequiredstring
data[].conversationIdrequiredstring
data[].inboxrequiredobject
data[].inbox.idrequiredstring
data[].inbox.namerequiredstring
data[].fromrequiredstring
data[].torequiredstring[]
data[].ccrequiredstring[]
data[].subjectrequiredstring
data[].textrequiredstring

Can be null.

data[].htmlrequiredstring

Sanitized HTML: no scripts, forms or frames; remote images moved to data-remote-src.

Can be null.

data[].strippedTextrequiredstring

The new part of the message without quoted history.

Can be null.

data[].attachmentsrequiredobject[]
data[].attachments[].filenamerequiredstring
data[].attachments[].contentTyperequiredstring
data[].attachments[].sizerequiredinteger
data[].attachments[].urlrequiredstring
data[].contactIdrequiredstring

Can be null.

data[].inReplyToEmailIdrequiredstring

The Notix email this message answers, when found.

Can be null.

data[].spamVerdictrequiredstring
data[].receivedAtrequiredstring (date-time)
nextCursorrequiredstring

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.

Path parameters
FieldTypeAbout
idrequiredstring
terminal
curl -X GET "https://app.usenotix.dev/api/v1/inbound/messages/<id>" \
  -H "Authorization: Bearer $NOTIX_API_KEY"

Responses

200The received message.
200 response fields
FieldTypeAbout
messageIdrequiredstring
conversationIdrequiredstring
inboxrequiredobject
inbox.idrequiredstring
inbox.namerequiredstring
fromrequiredstring
torequiredstring[]
ccrequiredstring[]
subjectrequiredstring
textrequiredstring

Can be null.

htmlrequiredstring

Sanitized HTML: no scripts, forms or frames; remote images moved to data-remote-src.

Can be null.

strippedTextrequiredstring

The new part of the message without quoted history.

Can be null.

attachmentsrequiredobject[]
attachments[].filenamerequiredstring
attachments[].contentTyperequiredstring
attachments[].sizerequiredinteger
attachments[].urlrequiredstring
contactIdrequiredstring

Can be null.

inReplyToEmailIdrequiredstring

The Notix email this message answers, when found.

Can be null.

spamVerdictrequiredstring
receivedAtrequiredstring (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.

Path parameters
FieldTypeAbout
idrequiredstring
terminal
curl -X GET "https://app.usenotix.dev/api/v1/inbound/messages/<id>/raw" \
  -H "Authorization: Bearer $NOTIX_API_KEY"

Responses

200The original message as an .eml file.
404No received message with this id for the calling team.
422The original is no longer kept (raw messages are kept for 30 days).