Skip to Content
Notification APIDocs

Send an email

Send an HTML email to one or more recipients.

Request

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"    },    {      "type": "Email",      "value": "john@example.com"    }  ],  "subject": "Your invoice for November",  "content": "<h1>Invoice ready</h1><p>Your November invoice is available in your account.</p>",  "priority": "Normal",  "idempotencyKey": "invoice-2026-11-acct-381"}'

Prop

Type

All fields are described in Send a message.

Response

202 Accepted with the message, a Location header to it, and the dispatch counts ({ "Pending": 2 }). Delivery happens in the background; see Track delivery.

Common errors

ResponseCause
400 validation.failedInvalid email address, missing content, too many recipients… The errors object names the fields, e.g. Message.Recipients[0].Value.
422 message.no_active_providerThe project has no active email provider in its chain.
422 message.project_inactive / message.company_inactiveThe project or company is passive in the dashboard.

Variations

On this page