Skip to content

Store user identity

Request

Stores a user's PII — use it to add details for a user who has none stored, or to update what is already there.

Parameters: The {userId} path parameter is the user's unique identifier (UUID).

Security
directToken
Path
userIdstring, (uuid)required
Bodyapplication/jsonrequired
dobstring, (date)required

Date of birth in yyyy-MM-dd format, must be 18+

Example:"1990-01-15"
mobilestringrequired

10-digit US phone number, digits only

Example:"5551234567"
ssnstringrequired

9-digit Social Security Number, digits only

Example:"123456789"
street1stringrequired

Street address line 1 — letters, numbers, spaces, and - . # ' , / allowed (max 60 characters)

Example:"123 Main St"
street2string

Street address line 2 — same character rules as street1 (max 60 characters)

Example:"Apt 4B"
citystringrequired

City name — letters and spaces only (max 25 characters)

Example:"New York"
statestringrequired

2-letter US state code

Example:"NY"
zipstringrequired

ZIP code, 5–10 digits

Example:"10001"
countrystring

Country code

Example:"US"
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"
mnamestring

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

suffixstring

Name suffix (max 10 characters)

Example:"Jr"
emailstring

Valid email address

Example:"user@example.com"
diSessionTokenstring

Digital Identity session token for onboarding verification

curl -i -X POST \
  'https://efx-wgt.stitchcredit.com/api/direct/users/{userId}/identity' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "dob": "1990-01-15",
    "mobile": "5551234567",
    "ssn": "123456789",
    "street1": "123 Main St",
    "street2": "Apt 4B",
    "city": "New York",
    "state": "NY",
    "zip": "10001",
    "country": "US",
    "fname": "John",
    "lname": "Doe",
    "mname": "string",
    "suffix": "Jr",
    "email": "user@example.com",
    "diSessionToken": "string"
  }'

Responses

Identity stored

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
Response

No Content

// No response example