Open Gauge
Auth

Register Endpoint

Create a local account. Every new account requires activation before it can sign in. If an admin has configured and enabled SMTP (see /admin/email-settings), activation is self-service via an emailed verification link (/auth/verify-email). Otherwise an admin must activate the account manually from Admin -> Users.

POST
/api/v1/auth/register

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/auth/register" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "name": "string",    "password": "stringst"  }'
{  "access_token": "string",  "token_type": "bearer",  "verification_required": true,  "message": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}