Skip to content

Direct - User Registration

Create a new user from your backend by submitting profile data (name, email, mobile, password). Returns the user's UUID, which is used to mint preauth tokens for the widget or your client app.

Authentication. Direct API host token (Bearer JWT obtained from POST /direct/login).

After registration. The user is provisioned but not yet identity-verified. They must complete one of the identity flows (Prefill + Onboarding, Digital Identity Trust + Secure Multi-Factor Authentication, or Digital Identity Trust + Customer OTP) before any credit-data endpoint will return data.

Dormant users. If dormant enrollment is enabled for your account, pass "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.

Register a new user

Request

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
Bodyapplication/jsonrequired
emailstringrequired

Valid email address

Example:"user@example.com"
mobilestringrequired

10-digit US phone number, digits only

Example:"5551234567"
fnamestringrequired

First name — letters, spaces, hyphens, apostrophes, and periods only (max 25 characters)

Example:"John"
lnamestringrequired

Last name — letters, spaces, hyphens, apostrophes, and periods only (max 25 characters)

Example:"Doe"
smsMsgboolean

Opt-in for SMS notifications

Default:false
emailMsgboolean

Opt-in for email notifications

Default:true
pushMsgboolean

Opt-in for push notifications

Default:false
dormantboolean

Enroll the user as dormant — created without any features until they are explicitly activated. Honored only for dormant-enabled customers.

Default:false

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
  }'

Responses

User registered successfully

Headers
X-Request-Idstring, (uuid)

Correlation id for this request. Quote it when reporting a problem - it identifies the call, and every bureau call it triggered, in the API log. Send your own X-Request-Id to correlate with your systems; a malformed value is replaced.

Bodyapplication/json
tokenstring

Pre-auth token (JWT). Hand to the widget or to your client app, then exchange via GET /users/preauth-token/{preauthToken}. Valid for 30 seconds — generate it on demand.

userIdstring, (uuid)

ID of the user this token is bound to

Response

Registration Response

{ "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0In0.preauth", "userId": "550e8400-e29b-41d4-a716-446655440000" }