Skip to content

Trade the setup token for a single-use admin invite link. It answers 404 once an admin exists.

POST
/setup
curl --request POST \
--url https://example.com/api/v1/setup \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'
Media typeapplication/json
object
token
required
string
>= 1 characters
Examplegenerated
{
"token": "example"
}

The invite link of the first admin.

Media typeapplication/json
object
invite_url
required
string
Examplegenerated
{
"invite_url": "example"
}

An error.

Media typeapplication/problem+json

RFC 9457 problem details with a stable code.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required

A stable machine-readable error code.

string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": "example"
}