Get a User
GET/user/select
Get a user information with user ID
Request
Header Parameters
Idempotency-Key stringrequired
A unique, idempotent key. We recommend to use a guid
Agc-Tenant-Id stringrequired
The tenant ID provided by Agility Credit.
Agc-User-Id stringrequired
The requestor user ID.
Agc-Applicant-Id string
If passed, will assign the report to that applicant. If not, will create a new applicant ID
- application/json
Body
required
Inquiry request payload
user_idstringrequired
Responses
- 200
- 400
- 401
- 429
- 500
User retrieved successfully
- application/json
- Schema
- Example (from schema)
Schema
user_iduuidrequired
The unique identifier for the user.
created_atdate-timerequired
The timestamp when the user was created.
emailemailrequired
The email address of the user.
first_namestringrequired
The first name of the user.
last_namestringrequired
The last name of the user.
phonestringrequired
The phone number of the user.
updated_atdate-timerequired
The timestamp when the user was last updated.
{
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"email": "user@example.com",
"first_name": "string",
"last_name": "string",
"phone": "string",
"updated_at": "2024-07-29T15:51:28.071Z"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
statusstring
messagestring
{
"status": "Bad Request - Invalid Parameters",
"message": "Failed schema validation. Error: data.pull_type must be one of ['prequal', 'hard'], Path: ['data', 'pull_type'], Data: prequalification"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
messagestring
{
"message": "Unauthorized"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
messagestring
{
"message": "Too Many Requests"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
messagestring
{
"message": "Agility Server Error"
}