MCP Gateway
ApiSetup

Complete setup with API key (no OAuth)

Create the first owner user and generate an API key. Only available when no users exist and setup has not been completed. Does NOT support recovery token bypass.

POST
/api/v1/setup/complete-with-key

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/v1/setup/complete-with-key" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com",    "name": "string"  }'
{
  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
  "email": "string",
  "api_key": "string",
  "message": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}