Skip to main content
GET
/
accounts
/
{account_id}
/
emails
/
{email_id}
/
attachments
List email attachments
curl --request GET \
  --url https://www.useroulette.com/api/v1/accounts/{account_id}/emails/{email_id}/attachments \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "attachments": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "email_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "filename": "pitch_deck.pdf",
        "content_type": "application/pdf",
        "size": 123,
        "storage_path": "<string>",
        "download_url": "<string>",
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string<uuid>
required
email_id
string<uuid>
required

Response

success
boolean
data
object