curl --request GET \
--url https://api.thepurplebox.io/v1/emails \
--header 'Authorization: Bearer <token>'{
"status": 200,
"message": "emails retrieved successfully.",
"data": {
"data": [
{
"id": "xxxxx",
"message_id": "[email protected]",
"from_address": "[email protected]",
"to_addresses": [
"[email protected]"
],
"subject": "Complete Your Sign-In to thePurpleBox",
"size": 8915,
"inline": 0,
"attachments": 0,
"api_key_id": 2,
"snippet": "Complete Your Sign-In Hey [email protected], We noticed a sign-in attempt to your purplebox account...",
"created_at": "2025-11-21T10:51:55.330945Z",
"team_id": "xxxxx",
"metadata": {
"from": "[email protected]",
"to": [
"[email protected]"
],
"cc": null,
"bcc": null,
"reply_to": null,
"text": "",
"html": ""
},
"opened_at": null,
"delivered_at": null,
"click_count": 0,
"status": "processing",
"credits_used": 1
}
],
"pagination": {
"page": 1,
"total_records": 11,
"total_pages": 2,
"limit": 10
}
}
}
Retrieve a paginated list of all emails sent through your account.
curl --request GET \
--url https://api.thepurplebox.io/v1/emails \
--header 'Authorization: Bearer <token>'{
"status": 200,
"message": "emails retrieved successfully.",
"data": {
"data": [
{
"id": "xxxxx",
"message_id": "[email protected]",
"from_address": "[email protected]",
"to_addresses": [
"[email protected]"
],
"subject": "Complete Your Sign-In to thePurpleBox",
"size": 8915,
"inline": 0,
"attachments": 0,
"api_key_id": 2,
"snippet": "Complete Your Sign-In Hey [email protected], We noticed a sign-in attempt to your purplebox account...",
"created_at": "2025-11-21T10:51:55.330945Z",
"team_id": "xxxxx",
"metadata": {
"from": "[email protected]",
"to": [
"[email protected]"
],
"cc": null,
"bcc": null,
"reply_to": null,
"text": "",
"html": ""
},
"opened_at": null,
"delivered_at": null,
"click_count": 0,
"status": "processing",
"credits_used": 1
}
],
"pagination": {
"page": 1,
"total_records": 11,
"total_pages": 2,
"limit": 10
}
}
}
application/json2025-11-01T00:00:00Z).2025-11-30T23:59:59Z).processing, queued, delivered, failed, bounced, complaint.200 when emails are retrieved successfully.Show properties
Show properties
Show properties
processing, queued, delivered, failed, bounced, complaint.{
"status": 200,
"message": "emails retrieved successfully.",
"data": {
"data": [
{
"id": "xxxxx",
"message_id": "[email protected]",
"from_address": "[email protected]",
"to_addresses": [
"[email protected]"
],
"subject": "Complete Your Sign-In to thePurpleBox",
"size": 8915,
"inline": 0,
"attachments": 0,
"api_key_id": 2,
"snippet": "Complete Your Sign-In Hey [email protected], We noticed a sign-in attempt to your purplebox account...",
"created_at": "2025-11-21T10:51:55.330945Z",
"team_id": "xxxxx",
"metadata": {
"from": "[email protected]",
"to": [
"[email protected]"
],
"cc": null,
"bcc": null,
"reply_to": null,
"text": "",
"html": ""
},
"opened_at": null,
"delivered_at": null,
"click_count": 0,
"status": "processing",
"credits_used": 1
}
],
"pagination": {
"page": 1,
"total_records": 11,
"total_pages": 2,
"limit": 10
}
}
}