Skip to main content
Register A User Profile
curl --request POST \
  --url https://{api_endpoint}/api/v1/auth/register-user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "user_id": "<string>",
  "permissions": [
    1
  ]
}'
{
  "user_id": "<string>",
  "username": "<string>",
  "settings": {
    "confirm_routing": true,
    "base_llm_model_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string
required
user_id
string | null
permissions
enum<integer>[] | null

Response

Successful Response

user_id
string
required
username
string
required
settings
object | null