POST
/
v1
/
api-keys
Create API key
curl --request POST \
  --url https://api.getbluma.com/api/v1/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'
{
  "api_key": "<string>",
  "id": "<string>",
  "name": "<string>",
  "environment": "<string>",
  "prefix": "<string>",
  "scopes": [
    "<string>"
  ],
  "rate_limit_per_hour": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "warning": "<string>"
}

Authorizations

Authorization
string
header
required

Use your API key in the format: Bearer bluma_live_your_api_key_here

Body

application/json · string

The body is of type string.

Response

201 - application/json

API key created

api_key
string

The API key (shown only once!)

id
string
name
string
environment
string
prefix
string
scopes
string[]
rate_limit_per_hour
number
created_at
string<date-time>
warning
string