Skip to main content
POST
/
api
/
v1
/
auth
/
register
Register
curl --request POST \
  --url https://api.devkit4ai.com/api/v1/auth/register \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "password": "<string>",
  "full_name": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "<string>",
  "role": "<string>",
  "is_active": true,
  "created_at": "2023-11-07T05:31:56Z",
  "full_name": "<string>",
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "provisioning": {
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "api_key": "<string>",
    "developer_key": "<string>"
  },
  "access_token": "<string>",
  "refresh_token": "<string>",
  "token_type": "bearer"
}

Body

application/json
email
string<email>
required
password
string
required

Password must be at least 8 characters long

Minimum string length: 8
full_name
string | null

Response

Successful Response

Enhanced registration response with role and provisioning data

id
string<uuid>
required
email
string
required
role
string
required
is_active
boolean
required
created_at
string<date-time>
required
full_name
string | null
project_id
string<uuid> | null
provisioning
ProvisioningData · object

Provisioning data for developers (one-time response)

access_token
string | null
refresh_token
string | null
token_type
string | null
default:bearer