Skip to content

Get email attachment

GET
/api/attachments/{id}

Authorizations

ApiKey
Type
API Key (header: X-Api-Key)

Parameters

Path Parameters

id*

Unique identifier of the attachment to retrieve

Type
string
Required
Example"5e0c23bc-dc1c-49f3-8d92-9a0d85527019"
Format
"uuid"

Responses

application/json
JSON
{
  
"data": {
  
  
"id": "5e0c23bc-dc1c-49f3-8d92-9a0d85527019",
  
  
"filename": "lorem-ipsum.txt",
  
  
"content_type": "text/plain",
  
  
"size": 446,
  
  
"expires_at": "2026-04-28T08:24:58.000Z",
  
  
"download_url": "https://example.com/attachments/1777112698913_5e0c23bc-dc1c-49f3-8d92-9a0d85527019.txt"
  
}
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI