List associated Tenants
GET/tenants
The "List associated Tenants" section allows users to retrieve a list of tenants associated with their account in the Agility Credit API. By accessing this section, users can easily view and manage tenant information for streamlined operations within the platform.
Request
Header Parameters
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
Responses
- 200
- 400
- 401
- 429
- 500
Tenants
- application/json
- Schema
- Example (from schema)
Schema
tenantsarray
{
"tenants": [
null
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
statusstring
errorstring
{
"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
messagestring
{
"message": "Unauthorized"
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
errorstring
{
"error": "Too Many Requests"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
messagestring
{
"message": "Agility Server Error"
}