Skip to content

Credit Data Access

How to retrieve credit scores, reports, alerts, and recommendations after enrollment.

MethodEndpointDescription
POST/direct/loginAuthenticate with API key and secret
GET/direct/preauth-token/{id}Get pre-auth token by user ID
GET/users/preauth-token/{preauthToken}Get user token
GET/users/efx-latest-scoresGet latest scores
GET/users/efx-score-historyGet score history
GET/users/efx-score-upGet score projections
GET/users/efx-latest-reportGet latest report
GET/users/efx-latest-report/summaryGet report summary
GET/users/credit-reportsList reports
GET/users/credit-reports-metadataList report metadata
GET/users/credit-reportGet credit report
GET/users/efx-latest-report-pdfDownload report as PDF
GET/users/efx-alertsGet user alerts
GET/users/efx-alerts/{alertId}Get specific alert
GET/users/efx-alerts-detailsGet alert details
GET/users/efx-optimal-pathGet optimal path recommendations
POST/users/efx-optimal-pathSubmit optimal path request
GET/users/efx-optimal-path/{config}Get optimal path by config

Get a Direct token for your host

Request

Authenticates a customer host using API key and secret credentials, returning a JWT access token and a refresh token. The access token must be included as a Bearer token in the Authorization header for all /direct/* endpoints.

Requirements: The host must be active.

Expiration: The access token is valid for 1 hour and the refresh token is valid for 2 hours.

Bodyapplication/jsonrequired
apikeystringrequired

Customer host API key

secretstringrequired

Customer host API secret

Login Request

curl -i -X POST \
  https://efx-wgt.stitchcredit.com/api/direct/login \
  -H 'Content-Type: application/json' \
  -d '{
    "apikey": "your-api-key",
    "secret": "your-api-secret"
  }'

Responses

Authentication successful

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

Access token (JWT). Send as Authorization: Bearer <token> on subsequent calls.

expiresinteger, (int64)

Access-token validity in seconds

refreshstring

Refresh token used to obtain a new access token without re-authenticating

Response

Login Response

{ "token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI1NTBlODQwMCJ9.abc", "expires": 3600, "refresh": "eyJhbGciOiJIUzI1NiJ9.ref.xyz" }