Create a Validation Submission
POST/v1/validation-submissions
Create a Validation Submission
Request​
Header Parameters
Idempotency key
- application/json
Body
required
- MOD1
- MOD2
oneOf
Id of the Validation Submission Configuration associated with submission
hostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Name of organisation
Possible values: <= 255 characters
Name of organisation's registry
Possible values: <= 255 characters
Organisations's id in registry
Organisation's email
Possible values: <= 255 characters
test@goodstack.internal
Organisation's address line 1
Possible values: <= 255 characters
44 Clipstone St
Organisation's address line 2
Possible values: <= 255 characters
House 40, Threeways
Organisation's city
Possible values: <= 255 characters
London
Organisation's postal code
Possible values: <= 255 characters
W1W 5DW
Organisation's state
Possible values: <= 255 characters
Texas
Organisation's website
Possible values: <= 255 characters
https://example.com
Three-letter ISO country code
POL
First name of Agent
Possible values: <= 255 characters
Max
Last name of Agent
Possible values: <= 255 characters
Plank
Email of Agent
Possible values: <= 255 characters
test@goodstack.internal
Agent's job title
Possible values: <= 255 characters
Board Member
Valid RFC 5646 language code
en-GB
metadata
object
Metadata object.
Max key size is 40 characters
Id of the Validation Submission Configuration
hostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OrganisationId of the Agent
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
First name of Agent
Possible values: <= 255 characters
Max
Last name of Agent
Possible values: <= 255 characters
Plank
Email of Agent
Possible values: <= 255 characters
test@goodstack.internal
Agent's job title
Possible values: <= 255 characters
Board Member
Organization's website
Possible values: <= 255 characters
https://goodstack.internal
Valid RFC 5646 language code
en-GB
metadata
object
Metadata object.
Max key size is 40 characters. If key matches already existing key, it will override old value
Responses​
- 200
- 400
- 401
- 403
Successfully created a Validation Submission
- application/json
- Schema
- Example (from schema)
Schema
data
object
validationsubmission_xxxxxxxxxxxx
validationinvite_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Possible values: [pending
, failed
, succeeded
, processed
]
pending
2022-02-02T17:46:54.000Z
organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
monitoringsubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
eligibilitysubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2022-02-02T17:46:54.000Z
agentverification_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
agentVerification
object
nullable
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Possible values: [pending
, pending_user_verification
, pending_review
, approved
, rejected
]
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
, invalid_documentation
, nonprofit_association_expired
, fake_documentation
, mismatched_information
, blank_corrupted_documentation
, suspicious_application
, other
]
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
validationRequest
object
nullable
2022-02-02T17:46:54.000Z
2022-02-02T17:46:54.000Z
validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Possible values: [nonprofit
, social_impact
]
eligibility
object
Possible values: [live
, pending_validation_request
, validation_request_failed
, pending
, cancelled
, cannot_define_eligibility
]
live
results
object
Possible values: [pass
, fail
]
fail
Confirmed organisation's activity subtags that are not allowed in partner's configuration
monitoring
object
Possible values: [live
, pending_validation_request
, validation_request_failed
, pending
, cancelled
]
live
results
object
Possible values: [pass
, fail
]
fail
registration
object
Possible values: [yes
, no
]
no
warning
object
nullable
Possible values: [clear
, flag
]
flag
sanction
object
nullable
Possible values: [clear
, flag
]
flag
controversial
object
nullable
Possible values: [clear
, flag
]
flag
commercial
object
nullable
Possible values: [clear
, flag
]
flag
adverseMedia
object
nullable
Possible values: [clear
, flag
]
clear
hateSpeech
object
nullable
Possible values: [clear
, flag
]
flag
Key-value data that you can attach to an object.
{"key1":"value1","key2":"value2"}
Responses for custom partner questions
{"key1":"value1","key2":"value2"}
configuration
object
Validation Submission configuration id
hostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Validation Submission configuration name
allowedOrganisations
object
Possible values: [social_impact
, nonprofit
, education
]
validation_submission
{
"data": {
"id": "validationsubmission_xxxxxxxxxxxx",
"validationInviteId": "validationinvite_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"status": "pending",
"processedAt": "2022-02-02T17:46:54.000Z",
"organisationId": "organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"organisationName": "string",
"monitoringSubscriptionId": "monitoringsubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"eligibilitySubscriptionId": "eligibilitysubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"createdAt": "2022-02-02T17:46:54.000Z",
"agentVerificationId": "agentverification_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"agentVerification": {
"id": "validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"email": "string",
"firstName": "string",
"lastName": "string",
"status": "pending",
"rejectionReasonCode": "validation_request_failed"
},
"validationRequestId": "validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"validationRequest": {
"acceptedAt": "2022-02-02T17:46:54.000Z",
"rejectedAt": "2022-02-02T17:46:54.000Z",
"id": "validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "string",
"organisationTypes": [
"nonprofit"
]
},
"eligibility": {
"status": "live",
"results": {
"eligibilityStatus": "fail",
"confirmedActivitySubTags": [
"activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
],
"rejectedActivitySubTags": [
"activitysubtag_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
]
}
},
"monitoring": {
"status": "live",
"results": {
"complianceStatus": "fail",
"registration": {
"active": "no"
},
"warning": {
"status": "flag"
},
"sanction": {
"status": "flag"
},
"controversial": {
"status": "flag"
},
"commercial": {
"status": "flag"
},
"adverseMedia": {
"status": "clear"
},
"hateSpeech": {
"status": "flag"
}
}
},
"metadata": {
"key1": "value1",
"key2": "value2"
},
"partnerFields": {
"key1": "value1",
"key2": "value2"
},
"configuration": {
"id": "hostedconfiguration_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name": "string",
"allowedOrganisations": {
"types": [
"social_impact"
]
}
}
},
"object": "validation_submission"
}
Bad request
- application/json
- Schema
- Example (from schema)
- OrganisationNotFound
- OrganisationNotActive
- ValidationSubmissionDocumentNotFound
- ValidationRequestNotFound
- ValidationRequestAlreadyRejected
- EntityNotFound
- InvalidSubTags
- InvalidConfiguration
- OriginalCallInProgress
- SameKeyDifferentData
- KeyInUse
Schema
error
object
{
"error": {
"code": "string",
"title": "string",
"message": "string",
"reasons": [
"string"
]
}
}
400 Bad request
{
"error": {
"code": "validation_submission/organisation_not_found",
"title": "Bad request",
"message": "Organisation was not found"
}
}
400 Bad request
{
"error": {
"code": "validation_submission/organisation_not_active",
"title": "Bad request",
"message": "Organisation is not active"
}
}
400 Bad request
{
"error": {
"code": "validation_submission/validation_submission_document_not_found",
"title": "Bad request",
"message": "Validation submission document was not found"
}
}
400 Bad request
{
"error": {
"code": "validation_submission/validation_request_not_found",
"title": "Bad request",
"message": "Validation request was not found"
}
}
400 Bad request
{
"error": {
"code": "validation_submission/validation_request_already_rejected",
"title": "Bad request",
"message": "Validation request already rejected"
}
}
400 Bad request
{
"error": {
"code": "validation_submission/entity_not_found",
"title": "Bad request",
"message": "Organisation or validation request was not found"
}
}
400 Bad request
{
"error": {
"code": "validation_submission/invalid_sub_tags",
"title": "Bad request",
"message": "At least one of provided subtags is invalid"
}
}
404 Not Found
{
"error": {
"code": "validation_submission/invalid_configuration_id",
"title": "Not Found",
"message": "Provided configurationId is not valid"
}
}
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
forbidden
Forbidden
Access is denied due to missing scope permissions
{
"error": {
"code": "forbidden",
"title": "Forbidden",
"message": "Access is denied due to missing scope permissions"
}
}