Skip to main content
POST
/
api
/
v1
/
auth
/
register-consumer
cURL
curl --request POST \
  --url https://api.example.com/api/v1/auth/register-consumer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "first_name": "<string>",
  "last_name": "<string>",
  "password": "<string>",
  "confirm_password": "<string>"
}
'
{
  "email": "jsmith@example.com",
  "first_name": "<string>",
  "last_name": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.capedigital.co.ke/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your JWT token in the format: Bearer

Body

Serializer for public Cape Digi user self-registration.

No employee number, department, or phone — consumers only need email, name, and a password. Realm is always capedigi.

email
string<email>
required
Minimum string length: 1
first_name
string
required
Required string length: 1 - 150
last_name
string
required
Required string length: 1 - 150
password
string
required
write-only
Minimum string length: 8
confirm_password
string
required
write-only
Minimum string length: 1

Response

200 - application/json

Serializer for public Cape Digi user self-registration.

No employee number, department, or phone — consumers only need email, name, and a password. Realm is always capedigi.

email
string<email>
required
first_name
string
required
Maximum string length: 150
last_name
string
required
Maximum string length: 150