List Agent Verifications
GET/v1/agent-verifications
List Agent Verifications
Request​
Query Parameters
Possible values: [pending
, pending_user_verification
, pending_review
, approved
, rejected
]
filter on the Agent Verification list by email
Start date to filter Agent Verifications.
End date to filter Agent Verifications.
Possible values: [ASC
, DESC
]
Which way to sort by the given 'sort' field. Default DESC
A cursor that points to where to start the page
How many items per page, for pagination.
25
Responses​
- 200
- 400
- 401
- 403
Successfully retrieved list of Agent Verifications
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
agentverification_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Max
Plank
Organisation Id
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
organisation
object
Organisation Id
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Organisation email
org@example.com
Organisation name
Great Charity
example@example.com
en-GB
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
validationRequest
object
Great Charity
Board Member
Reason for rejecting agent verification
Possible values: [Validation request failed
, User verification expired
, Identity check failed
, No evidence agent’s email is associated with organisation
, Agent/nonprofit will reapply
, Agent used fake or test email
, No online presence to complete check
, Nonprofit association expired
, Other
]
Reason code for rejecting agent verification
Possible values: [validation_request_failed
, user_verification_expired
, user_failed_percent_review
, reapply
, fake_email_used
, no_online_presence
, nonprofit_association_expired
, invalid_documentation
, fake_documentation
, mismatched_information
, blank_corrupted_documentation
, suspicious_application
, other
]
2020-10-13T17:46:54.000Z
Possible values: [pending
, pending_user_verification
, pending_review
, approved
, rejected
]
pending
true
agent_verification
33
25
_links
object
https://.../v1/...?cursor=eyJ2Ijox...N3AifQ%3D%3D
https://.../v1/...?cursor=eyJ2Ijox...N3AifQ%3D%3D
https://.../v1/...?cursor=eyJ2Ijox...N3AifQ%3D%3D
{
"data": [
{
"id": "agentverification_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"firstName": "Max",
"lastName": "Plank",
"organisationId": "organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"organisation": {
"id": "organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"email": "org@example.com",
"name": "Great Charity"
},
"email": "example@example.com",
"language": "en-GB",
"validationRequestId": "validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"validationRequest": {
"name": "Great Charity"
},
"title": "Board Member",
"rejectionReasonCode": "validation_request_failed",
"createdAt": "2020-10-13T17:46:54.000Z",
"status": "pending",
"externalActionRequired": true
}
],
"object": "agent_verification",
"totalResults": 33,
"pageSize": 25,
"_links": {
"current": "https://.../v1/...?cursor=eyJ2Ijox...N3AifQ%3D%3D",
"next": "https://.../v1/...?cursor=eyJ2Ijox...N3AifQ%3D%3D",
"prev": "https://.../v1/...?cursor=eyJ2Ijox...N3AifQ%3D%3D"
}
}
Bad request
- application/json
- Schema
- Example (from schema)
- IncorrectParams
- CursorError
Schema
error
object
{
"error": {
"code": "string",
"title": "string",
"message": "string",
"reasons": [
"string"
]
}
}
400 Incorrect Parameters
{
"error": {
"code": "bad_request",
"title": "Bad request",
"message": "One or more of the inputs were invalid",
"reasons": [
"pageSize must be greater than or equal to 0"
]
}
}
Error in cursor parameter
{
"error": {
"code": "pagination/cursor_error",
"title": "Bad request",
"message": "Unable to find the next page"
}
}
Unauthorized
Forbidden (scope)
- application/json
- Schema
- Example (from schema)
Schema
error
object
forbidden
Forbidden
Access is denied due to missing scope permissions
{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to missing scope permissions"
}
}