List a message's attachments
List the files attached to one received message: id, file name, the type the sender gave, size, and the content id of inline images.
https://app.usenotix.dev/api/v1/inbound/messages/{id}/attachmentsFull access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.
List the files attached to one received message: id, file name, the type the sender gave, size, and the content id of inline images. Messages that failed the virus check have no attachments. The same keys read it as the message itself: a key pinned to a domain reads only mail delivered to that domain, and a key made by a team member only the mail of that member's inboxes. Another team's message, or one the key may not read, answers 404.
Path parameters
Headers
Bearer followed by your API key.
Errors
`FORBIDDEN`: the key's creator has left the team.
No received message with this id that the key may read.
Every error has the same shape. See all error codes.
curl -X GET "https://app.usenotix.dev/api/v1/inbound/messages/<id>/attachments" \
-H "Authorization: Bearer $NOTIX_API_KEY"
{
"data": [
{
"id": "cm1x8f3k20001qz7v5b9d2e4a",
"filename": "Acme",
"contentType": "string",
"size": 1,
"contentId": "cm1x8f3k20001qz7v5b9d2e4a"
}
]
}