Skip to main content
POST

Headers

Idempotency-Key
string
required

A client-generated idempotency key to ensure operations are only processed once even if a client retries the operation. The V4 UUID format, as defined in RFC 4122, is recommended to avoid collisions but is not required.

Maximum string length: 255

Body

application/json

The required information for completing customer registration.

registrationSessionToken
string
required

The session token returned after verifying an unregistered phone.

Required string length: 32 - 512
givenName
string<text>
required

The customer's given name.

Required string length: 1 - 55
surname
string<text>
required

The customer's surname.

Required string length: 1 - 55
email
string<emailAddress>
required

The customer's required but initially unverified registered fallback email address. It may receive email OTP fallback for future sign-ins, and a successful email OTP verifies ownership.

Required string length: 6 - 100
barberSurnameVisibility
enum<string>

How much of the customer's surname barbers may see. When omitted, the full surname is visible.

Available options:
full,
initial

Response

Created.

The JSON representation of issued authentication tokens as the result of a successful authentication challenge or the exchange of a refresh token.

authToken
string<jwt>
required

A bearer token representing an authenticated user.

refreshToken
string<jwt>
required

An offline refresh token. Refresh tokens are exchanged for a new authentication token without going through a challenge workflow.