All requests below will use this key. Your API key is sent directly to api.cueapi.ai and never stored by the docs site.

POST/v1/auth/register

Register

Create a new account and receive an API key. May be disabled in production.

emailstringrequiredbody

Your email address.

Warning

This endpoint may be disabled in production (ALLOW_REGISTER=false). Use the Dashboard or CLI login instead.

Request

bash
curl -X POST https://api.cueapi.ai/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}'

Response

json
{
  "id": "user-uuid",
  "email": "you@example.com",
  "api_key": "cue_sk_a1b2c3d4e5f6..."
}

Note

The API key is shown once in this response. Save it immediately. It cannot be retrieved again.

POST/v1/auth/register
Try it
Request Body
Enter your API key above to send requests