cURL
curl --request GET \ --url https://api.example.com/v1/emails
{ "data": [ { "id": "<string>", "from": "<string>", "to": [ "<string>" ], "subject": "<string>", "status": "<string>", "created_at": "<string>" } ], "total": 123, "limit": 123, "offset": 123 }
List all sent emails with pagination.
queued
sent
delivered
bounced
complained
curl "https://api.unosend.co/emails?limit=10&offset=0" \ -H "Authorization: Bearer un_xxxxxxxxxx"
{ "data": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "from": "hello@yourdomain.com", "to": ["user@example.com"], "subject": "Hello World", "status": "delivered", "created_at": "2024-01-15T10:30:00.000Z" } ], "total": 42, "limit": 10, "offset": 0 }
Show Email object