List API emails
GET
https://api.smsedge.com/v2/email/messagesLists the emails sent with Send an email, newest first.
Query params
campaign_idintegeroptionalOnly the emails of this campaign.
statusstringoptionalOnly emails with this status.
Values:
queued,sent,failedtostringoptionalOnly the emails to this address.
pageintegeroptionalPage number.
Default:
1per_pageintegeroptionalEmails per page, maximum 100.
Default:
25
Responses
- 200One page of emails and the total.
curl -X GET "https://api.smsedge.com/v2/email/messages?campaign_id=1234" \
-H "X-API-KEY: YOUR_API_KEY"{
"success": true,
"data": {
"items": [
{
"message_id": 5512,
"status": "sent",
"campaign_id": 1234,
"template_id": 88,
"server_id": 9,
"to": "ann@example.com",
"idempotency_key": "order-A-17",
"key": "e-1234-1130-17644120301",
"cost": 0.0002,
"error": null,
"created_at": "2026-11-30 10:15:02",
"updated_at": "2026-11-30 10:15:05"
}
],
"total": 1
},
"errors": [],
"response": {
"code": 200,
"description": "OK",
"date": "2026-11-30 10:16:00"
}
}All requests need your API key in the X-API-KEY header. See Authentication.