Skip to Content
Notification APIDocs

Quickstart

Create an API key, send your first email and check its delivery.

Check the project setup

In the dashboard, open your project and make sure the email channel has at least one active provider: add it under Providers and put it in the email chain under Provider chains. Without one, sending answers 422 message.no_active_provider.

Create an API key

Go to API keys → New API key, give it a name and (optionally) an expiry date. Copy the key: it is shown only once and looks like this:

nb_k3j9x0a1b2c4_Q2VhY0dlb2JpbGdpTm90aWZpY2F0aW9u

Store it in a secret manager or an environment variable of your backend. Note the companyId and projectId from the dashboard URL (/c/{companyId}/p/{projectId}/api-keys).

Send a message

Replace COMPANY_ID, PROJECT_ID and YOUR_API_KEY in the samples on this site with your values.

curl -X POST 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/COMPANY_ID/projects/PROJECT_ID/messages' \  -H 'X-Api-Key: YOUR_API_KEY' \  -H 'Content-Type: application/json' \  -d '{  "channel": "email",  "recipients": [    {      "type": "Email",      "value": "jane@example.com"    }  ],  "subject": "Welcome aboard",  "content": "<p>Hi Jane, thanks for signing up!</p>"}'

The API answers 202 Accepted with the message and its dispatch counts. The Location header points to the new message:

202 Accepted
{
  "message": {
    "id": "0197a6b2-5c1e-7d33-9a8e-3f4b2c1d0e9f",
    "channel": "email",
    "priority": "Normal",
    "status": "Pending",
    "messageTemplateId": null,
    "recipientCount": 1,
    "scheduledAt": null,
    "isOtp": false,
    "createdAt": "2026-11-23T10:15:00+00:00",
    "templateName": null,
    "subject": "Welcome aboard",
    "firstRecipient": null
  },
  "content": "<p>Hi Jane, thanks for signing up!</p>",
  "subject": "Welcome aboard",
  "variables": {},
  "idempotencyKey": null,
  "apiKeyId": "0197a6a0-1111-7222-8333-944455566677",
  "dispatches": { "Pending": 1 },
  "attachments": [],
  "data": null
}

Check delivery

Read the message again with its id. status moves from Pending to Processing and then to Completed, PartiallyCompleted or Failed; dispatches counts recipients 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'

For the per-recipient result (provider message id, error text, timestamps), list its dispatches:

curl -X GET 'https://api.gbnotification.dokploy.geobilgi.net/api/v1/companies/COMPANY_ID/projects/PROJECT_ID/messages/MESSAGE_ID/dispatches' \  -H 'X-Api-Key: YOUR_API_KEY'

Next steps

On this page