Skip to content

Initial setup

POST
/api/auth/setup

Create the first API key. Only works when no keys exist yet.

Request Body

application/json
JSON
{
  
"label": "string"
}

Responses

API key created — returns the raw key (shown only once)

application/json
JSON
{
  
"id": "string",
  
"key": "string",
  
"label": "string",
  
"createdAt": "string"
}

Samples