Track delivery
Follow messages and dispatches, search your history and read project statistics.
Sending is asynchronous: 202 Accepted means the message was accepted, not delivered. Use the read endpoints to follow
it.
One message
Get a message returns its status and the number of dispatches per
status:
curl -X GET 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/COMPANY_ID/projects/PROJECT_ID/messages/MESSAGE_ID' \ -H 'X-Api-Key: YOUR_API_KEY'{
"message": { "id": "0197a6b2-5c1e-7d33-9a8e-3f4b2c1d0e9f", "status": "PartiallyCompleted", "recipientCount": 3, "...": "..." },
"dispatches": { "Delivered": 2, "Failed": 1 },
"...": "..."
}For the result per recipient, list its dispatches, filtered by status if needed:
curl -X GET 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/COMPANY_ID/projects/PROJECT_ID/messages/MESSAGE_ID/dispatches?status=Failed' \ -H 'X-Api-Key: YOUR_API_KEY'{
"items": [
{
"id": "0197a6b2-6d2f-7e44-8b9c-0a1b2c3d4e5f",
"recipientAddress": "ops@example.com",
"status": "Failed",
"retryCount": 3,
"sentAt": null,
"deliveredAt": null,
"failedAt": "2026-11-23T10:16:42+00:00",
"lastError": "Mailbox unavailable",
"providerMessageId": null,
"createdAt": "2026-11-23T10:15:00+00:00"
}
],
"page": 1,
"pageSize": 20,
"totalCount": 1,
"totalPages": 1,
"hasNextPage": false
}Polling
The API has no webhooks for API keys yet. Poll a message a few times with growing intervals (for example after 5 s,
30 s, 2 min) until its status is Completed, PartiallyCompleted, Failed or Cancelled. For dashboards, prefer
the statistics endpoints over polling many messages.
Message history
List messages returns the project's messages, newest first, 20 per page (up to 100):
curl -X GET 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/COMPANY_ID/projects/PROJECT_ID/messages?status=Failed&channel=email&from=2026-11-01T00%3A00%3A00Z&to=2026-12-01T00%3A00%3A00Z&pageSize=50' \ -H 'X-Api-Key: YOUR_API_KEY'| Filter | Notes |
|---|---|
status | Pending, Processing, Completed, PartiallyCompleted, Failed, Cancelled |
channel | email, sms, push |
priority | Critical, Normal, Bulk |
templateId | Messages sent with a template. |
from, to | Creation time range [from, to), ISO 8601. |
search | A recipient address prefix (jane@), a word of the subject, the exact idempotencyKey, or a message id. |
Only createdAt can be used in sort (createdAt or -createdAt). See
Pagination and sorting.
Statistics
The statistics endpoints summarize the project's messages created in a range (default: the last 7 days, at most 366 days):
curl -X GET 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/COMPANY_ID/projects/PROJECT_ID/stats/overview?from=2026-11-01T00%3A00%3A00Z&to=2026-12-01T00%3A00%3A00Z' \ -H 'X-Api-Key: YOUR_API_KEY'{
"from": "2026-11-01T00:00:00+00:00",
"to": "2026-12-01T00:00:00+00:00",
"messages": 1250,
"dispatches": 4870,
"messagesByStatus": { "Completed": 1201, "PartiallyCompleted": 31, "Failed": 12, "Processing": 6 },
"dispatchesByStatus": { "Delivered": 4512, "Sent": 280, "Failed": 61, "Inqueue": 17 },
"successRate": 0.9874,
"stalePendingMessages": 0
}successRateis(Sent + Delivered) / (Sent + Delivered + Failed), ornullwhile nothing has finished.stalePendingMessagescounts messages that are due but stillPendingafter 15 minutes (whatever the range). A value above zero usually means the channel has no working provider.- Time series returns buckets per
Day(default) orHour(range up to 31 days), empty buckets included; by channel splits the counts per channel.