Ritto Mail Docs

/emails/{id}/attachments

GET
/emails/{id}/attachments

Path Parameters

id*string
Formatuuid

Query Parameters

limit?integer

Page size, 1-100 (default 20)

Range1 <= value <= 100
after?string

Cursor: id of the last item of the current page; returns the next page. Must be an id this list returned; there is no sentinel value.

Formatuuid
before?string

Cursor: id of the first item of the current page; returns the previous page; same rule as after.

Formatuuid

Response Body

The email's attachments (metadata only), in send order

application/json
  1. response
object*"list"
Value in"list"
has_more*boolean
data*array<>
Example Request
curl -X GET 'https://api.ritto.email/emails/497f6eca-6276-4993-bfeb-53cbbbba6f08/attachments'
Example Response
{  "object": "list",  "has_more": true,  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "filename": "string",      "size": 0,      "content_type": "string",      "content_disposition": "attachment",      "content_id": null    }  ]}