Emails
List email attachments
GET
/api/v1/emails/{emailId}/attachments
List email attachments
Returns attachment metadata for the inbound email, including signed URLs for downloading each attachment.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
emailId * |
path | integer | Internal email id. |
Responses
| Status | Schema | Description |
|---|---|---|
200 |
EmailAttachmentList | Email attachments |
401 |
AgentError | Missing or invalid auth |
Example 200 response
{
"data": [
{
"id": "string",
"filename": "string",
"downloadUrl": "string",
"contentType": "string",
"size": 1,
"kind": "string"
}
]
}
Example 401 response
{
"error": "string",
"message": "string",
"issues": [
{
"path": [
"string"
],
"message": "string",
"code": "string"
}
]
}