Emails

Retrieve an attachment of an email

GET
/emails/{id}/attachments/{attachment_id}

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid
attachment_id*string
Formatuuid

Response Body

Success

application/json
  1. response

One attachment (object: "attachment").

content_disposition*string
content_id?string|null
content_type*string
download_url*string
expires_at*string
filename*string
id*string
Formatuuid
object*string
size*integer
Formatint64
Range0 <= value
Example Request
curl -X GET 'https://api.exx.sh/emails/497f6eca-6276-4993-bfeb-53cbbbba6f08/attachments/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "content_disposition": "string",  "content_id": "string",  "content_type": "string",  "download_url": "string",  "expires_at": "string",  "filename": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string",  "size": 0}