Messages
List dispatches of a message
GET
Lists the per-recipient dispatches of a message.
Required permission: messages.read. See the guide for details.
Error codes:
- 400
validation.failed - 404
message.not_found
Every endpoint can also answer 401 (missing or invalid key), 403 (route outside the key's project or permission) and 429 rate_limit.exceeded.
ApiKeyheader
X-Api-Key<token>Project API key: nb_<prefix>_<secret>.
companyId*stringId of the company that owns the project (shown with the API key in the dashboard).
Format
uuidprojectId*stringId of the project the API key belongs to.
Format
uuidmessageId*stringFormat
uuidstatus?unknownFilter by status.
Value in
"Pending""Inqueue""Processing""Sent""Delivered""Failed""Retrying""Cancelled"page?integerPage number, 1 or more. Default 1.
Format
int32pageSize?integerItems per page, 1 to 100. Default 20.
Format
int32search?stringCase-insensitive search term.
sort?stringUp to 2 comma-separated keys, '-' prefix for descending. Keys: recipient, status, createdAt. Default: -createdAt.
OK
application/json- response
items*array<>page*integerFormat
int32pageSize*integerFormat
int32totalCount*integerFormat
int32totalPages?integerFormat
int32hasNextPage?booleancurl -X GET 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08/dispatches'Example Response
{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "recipientAddress": "string", "status": "Pending", "retryCount": 0, "sentAt": null, "deliveredAt": null, "failedAt": null, "lastError": null, "providerMessageId": null, "createdAt": "2019-08-24T14:15:22Z" } ], "page": 0, "pageSize": 0, "totalCount": 0, "totalPages": 0, "hasNextPage": true}