Skip to main content
POST
/
v1
/
api-keys
Create an API key
curl --request POST \
  --url https://api.drin.run/v1/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "senderId": "<string>",
  "scopes": [
    "<string>"
  ]
}
'
{
  "id": "<string>",
  "name": "<string>",
  "secret": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://drin.mintlify.app/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>.

Body

application/json
name
string
required
senderId
string

Scope the key to one project (omit for account-wide).

scopes
string[]

Response

201 - application/json

The key, including the one-time secret.

id
string
name
string
secret
string

Shown only here — store it now.