Registers a new user under the authenticated host and returns the user data.
Requirements: Email must be unique within the host.
Dormant users. If dormant enrollment is enabled for your account, set "dormant": true to create the user without activating any monitoring features. The user still completes identity verification normally; features are turned on later via POST /users/activate-features.
Security
directToken
First name — letters, spaces, hyphens, apostrophes, and periods only (max 25 characters)
Example:"John"
Last name — letters, spaces, hyphens, apostrophes, and periods only (max 25 characters)
Example:"Doe"
- Production Server URLhttps://efx-wgt.stitchcredit.com/api/direct/user-reg
- Development Server URLhttps://efx-dev.stitchcredit.com/api/direct/user-reg
Registration Request
curl -i -X POST \
https://efx-wgt.stitchcredit.com/api/direct/user-reg \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"email": "john.doe@example.com",
"mobile": "3035551234",
"fname": "John",
"lname": "Doe",
"smsMsg": false,
"emailMsg": true,
"pushMsg": false
}'Response
Registration Response
{ "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0In0.preauth", "userId": "550e8400-e29b-41d4-a716-446655440000" }