Create an Agent Verification
POST/v1/agent-verifications
Create an Agent Verification
Request​
Header Parameters
Idempotency key
- application/json
Body
required
- MOD1
- MOD2
oneOf
First name of Agent
Possible values: <= 255 characters
MaxLast name of Agent
Possible values: <= 255 characters
PlankId of the Organisation for which the Agent Verification is for
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxEmail Id of the agent
Possible values: <= 255 characters
example@example.comJob Title
Possible values: <= 255 characters
Board MemberOrganisation Website link
Possible values: <= 255 characters
Valid RFC 5646 language code
First name of Agent
Possible values: <= 255 characters
MaxLast name of Agent
Possible values: <= 255 characters
PlankValidation Request Id if not part of organisation
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxEmail Id of the agent
Possible values: <= 255 characters
example@example.comJob Title
Possible values: <= 255 characters
Board MemberOrganisation Website link
Possible values: <= 255 characters
Valid RFC 5646 language code
en-GBResponses​
- 200
- 400
- 401
- 403
Successfully created a Agent Verification
- application/json
- Schema
- Example (from schema)
Schema
data
object
agentverification_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxMaxPlankOrganisation Id
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxorganisation
object
Organisation Id
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxOrganisation email
org@example.comOrganisation name
Great Charityexample@example.comen-GBvalidationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxvalidationRequest
object
Great CharityBoard MemberReason 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.000ZPossible values: [pending, pending_user_verification, pending_review, approved, rejected]
pendingtrueagent_verification{
"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"
}
Bad request
- application/json
- Schema
- Example (from schema)
- OriginalCallInProgress
- SameKeyDifferentData
- KeyInUse
Schema
error
object
{
"error": {
"code": "string",
"title": "string",
"message": "string",
"reasons": [
"string"
]
}
}
Idempotency - Original call in progress
{
"error": {
"code": "idempotency/original_call_in_progress",
"title": "Bad request",
"message": "Original call with this idempotency key is still in progress"
}
}
Idempotency - Data has changed from previous request
{
"error": {
"code": "idempotency/same_key_different_data",
"title": "Bad request",
"message": "Data has changed from previous request"
}
}
Idempotency - Key in use
{
"error": {
"code": "idempotency/key_already_in_use",
"title": "Bad request",
"message": "Idempotency Key is already in use"
}
}
Unauthorized
Forbidden (scope)
- application/json
- Schema
- Example (from schema)
Schema
error
object
forbiddenForbiddenAccess is denied due to missing scope permissions{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to missing scope permissions"
}
}