POST
/signup
Register new user
Authentication
Description
Register a new user account.
Request Body
requiredapplication/json
userobjectrequired
first_namestringrequired
Example:
Johnlast_namestringrequired
Example:
Doeemailstring (email)required
Example:
[email protected]passwordstring (password)required
Example:
securepassword123feature_flagsarray [string]required
User's feature flags (affiliate or merchant capabilities)
Example:
["affiliate"]localestringenum: en, es, fr
User's preferred locale. Defaults to en if not specified.
Example:
enchallengestringrequired
The challenge can be obtained by visiting https://revclic.com/challenge
Example:
0.iftmBJ54pHW8z...1FiUSCktH-GNNAn6tEResponses
201
User registered successfully
application/jsonstatusstring
Example:
successmessagestring
Example:
User registered successfully
422
Validation error
application/jsonstatusstring
Example:
errormessagestring
Example:
Registration failederrorsarray [object]
Example:
[{"path":"challenge","message":"Challenge was not verified successfully"},{"path":"email","message":"Email has already been taken"},{"path":"password","message":"Password is too short (minimum is 8 characters)"}]pathstring
The property path that failed validation
messagestring
The full error message