Skip to main content
POST
/
v1
/
inboxes
Create an inbox
curl --request POST \
  --url https://api.drin.run/v1/inboxes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "support@acme.com",
  "domainId": "<string>",
  "displayName": "<string>"
}
'
{
  "id": "<string>",
  "address": "<string>",
  "domainId": "<string>",
  "displayName": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.drin.run/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Drin API key, sent as Authorization: Bearer <key>.

Headers

X-Drin-Product
string

Names the sending project for account-wide keys (alias: X-Drin-Sender). Project-scoped keys may omit it.

Body

application/json
address
string
required
Example:

"support@acme.com"

domainId
string
required
displayName
string

Response

201 - application/json

The inbox.

id
string
address
string
domainId
string
displayName
string | null
createdAt
string<date-time>