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"
}
]
}
}Get all attachments for an email with download URLs.
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"
}
]
}
}