Create a User
POST/users
The "Create a User" section allows users to create a new user in the Agility Credit system. By providing essential information such as first name, last name, email, and phone number, users can successfully create a new user profile. Upon successful creation, users will receive a unique user ID.
Request
Header Parameters
The tenant ID provided by Agility Credit.
The requestor user ID.
A unique, idempotent key. We recommend to use a guid
- application/json
Body
required
Inquiry request payload
Responses
- 200
- 400
- 401
- 429
- 500
User created successfully
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier for the user.
The timestamp when the user was created.
The email address of the user.
The first name of the user.
The last name of the user.
The phone number of the user.
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
{
"status": "Bad Request - Invalid Parameters",
"error": "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
{
"message": "Unauthorized"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
{
"error": "Too Many Requests"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "Agility Server Error"
}