Skip to main content
POST
Send Email

Authorizations

Authorization
string
header
required

Pass a Dugble team token in the Authorization header as Bearer . Team token secrets use the dgb_team_ prefix.

Headers

Idempotency-Key
string
required

Required unique key for email and SMS send requests. Maximum 256 characters.

Maximum string length: 256

Body

application/json
to
required
Example:

"Ada Lovelace <ada@example.com>"

subject
string
required
Required string length: 1 - 255
html
string
required
Maximum string length: 1048576
from

Optional sender override. When omitted, Dugble resolves the configured default sender.

Example:

"Ada Lovelace <ada@example.com>"

cc
Example:

"Ada Lovelace <ada@example.com>"

bcc
Example:

"Ada Lovelace <ada@example.com>"

reply_to
Example:

"Ada Lovelace <ada@example.com>"

text
string
Maximum string length: 1048576
headers
object
attachments
object[]
tags
object[]
scheduled_at
string

Future ISO 8601 date-time or supported relative schedule value.

metadata
object

Response

Email accepted for asynchronous delivery.

success
enum<boolean>
required
Available options:
true
data
object
required