API Reference
Every endpoint a project API key can call, with an interactive playground.
All endpoints are relative to:
https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/{companyId}/projects/{projectId}and require an API key in the X-Api-Key header.
Endpoints
| Method | Path | Permission | Description |
|---|---|---|---|
POST | /messages | messages.send | Send a message |
GET | /messages | messages.read | List messages |
GET | /messages/{messageId} | messages.read | Get a message |
GET | /messages/{messageId}/dispatches | messages.read | List dispatches of a message |
POST | /messages/{messageId}/cancel | messages.send | Cancel a message |
GET | /templates | templates.read | List templates |
GET | /templates/{templateId} | templates.read | Get a template |
POST | /attachments | attachments.write | Upload an attachment |
GET | /attachments/{attachmentId} | attachments.read | Get attachment metadata |
GET | /attachments/{attachmentId}/content | attachments.read | Download an attachment |
DELETE | /attachments/{attachmentId} | attachments.write | Delete an attachment |
GET | /stats/overview | messages.read | Statistics overview |
GET | /stats/timeseries | messages.read | Statistics time series |
GET | /stats/by-channel | messages.read | Statistics by channel |
Using the playground
Each endpoint page has a Try it panel that sends real requests to the API through this documentation site:
- Enter your API key in the authorization field.
- Fill in
companyId,projectIdand the other parameters. - Send the request and inspect the response.
Playground requests are real: a send request delivers a message. Use a test project and a key you can revoke.