curl --request POST \
--url https://api.parcha.ai/api/v1/startKYCAgentJob \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_key": "<string>",
"check_ids": [
"<string>"
],
"kyc_schema": {
"id": "<string>",
"self_attested_data": {
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"name_prefix": "<string>",
"name_suffix": "<string>",
"date_of_birth": "2023-12-25",
"address": {
"street_1": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"country_code": "<string>",
"postal_code": "<string>"
},
"associated_addresses": [
{
"street_1": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"country_code": "<string>",
"postal_code": "<string>"
}
],
"country_of_nationality": "<string>",
"country_of_residence": "<string>",
"place_of_birth": "<string>",
"sex": "<string>",
"email": "[email protected]",
"phone": "<string>",
"title": "<string>",
"is_applicant": true,
"is_business_owner": true,
"business_ownership_percentage": 123,
"proof_of_address_documents": [
{
"b64_document": "<string>",
"file_name": "<string>",
"source_type": "<string>"
}
],
"source_of_funds_documents": [
{
"b64_document": "<string>",
"file_name": "<string>",
"source_type": "<string>"
}
]
}
}
}
'{
"status": "ok",
"job_id": "<string>",
"message": "<string>",
"job": {}
}Initiate a Know Your Customer (KYC) agent job
curl --request POST \
--url https://api.parcha.ai/api/v1/startKYCAgentJob \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"agent_key": "<string>",
"check_ids": [
"<string>"
],
"kyc_schema": {
"id": "<string>",
"self_attested_data": {
"first_name": "<string>",
"middle_name": "<string>",
"last_name": "<string>",
"name_prefix": "<string>",
"name_suffix": "<string>",
"date_of_birth": "2023-12-25",
"address": {
"street_1": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"country_code": "<string>",
"postal_code": "<string>"
},
"associated_addresses": [
{
"street_1": "<string>",
"street_2": "<string>",
"city": "<string>",
"state": "<string>",
"country_code": "<string>",
"postal_code": "<string>"
}
],
"country_of_nationality": "<string>",
"country_of_residence": "<string>",
"place_of_birth": "<string>",
"sex": "<string>",
"email": "[email protected]",
"phone": "<string>",
"title": "<string>",
"is_applicant": true,
"is_business_owner": true,
"business_ownership_percentage": 123,
"proof_of_address_documents": [
{
"b64_document": "<string>",
"file_name": "<string>",
"source_type": "<string>"
}
],
"source_of_funds_documents": [
{
"b64_document": "<string>",
"file_name": "<string>",
"source_type": "<string>"
}
]
}
}
}
'{
"status": "ok",
"job_id": "<string>",
"message": "<string>",
"job": {}
}POST https://api.parcha.ai/api/v1/startKYCAgentJob
Show KYC Schema Properties
Show Common Object Types
Show Address Properties
Show Document Properties
Show Self Attested Data Properties
Show Government ID Properties
Show ID Data Properties
409 Conflict error, and you can then use this job_id to retrieve the existing job’s status and results using /getJobById.
If not provided, a new unique ID will be automatically generated for the job.Show Job Properties
curl -X POST 'https://api.parcha.ai/api/v1/startKYCAgentJob' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"agent_key": "kyc-standard-check",
"job_id": "your-custom-job-id-123e4567-e89b-12d3-a456-426614174002",
"kyc_schema": {
"id": "parcha-kyc-demo-001",
"self_attested_data": {
"first_name": "Jane",
"last_name": "Doe"
}
}
}'
{
"status": "ok",
"job_id": "job-67890-fghij",
"message": "The job was successfully added to the queue.",
"job": {
"id": "job-67890-fghij",
"status": "PENDING",
"created_at": "2023-06-15T14:30:00Z",
"updated_at": "2023-06-15T14:30:00Z",
"agent_id": "kyc-standard-check",
"input_payload": {
"agent_key": "kyc-standard-check",
"kyc_schema": {
"id": "parcha-kyc-demo-001",
"self_attested_data": {
"first_name": "Jane",
"last_name": "Doe"
}
},
"webhook_url": "https://your-webhook.com/kyc-updates"
}
}
}
job_id already exists:
{
"error": "Job with the provided ID already exists.",
"job_id": "your-custom-job-id-123e4567-e89b-12d3-a456-426614174002"
}
API key obtained from your Parcha account settings. Include as Bearer token in the Authorization header.
The unique identifier for the agent
The check IDs to run (runs all checks in agent configuration if not provided)
Show child attributes
A unique id specific to the account being analyzed
Show child attributes
The first name of the individual
The middle name of the individual
The last name of the individual
The prefix of the individual
The suffix of the individual
The date of birth of the individual, format YYYY-MM-DD
Show child attributes
Primary street address line
Secondary street address line (optional)
City name
State/province code
Two-letter ISO country code (e.g., "US", "GB")
Postal/ZIP code
The associated addresses of the individual
Show child attributes
Primary street address line
Secondary street address line (optional)
City name
State/province code
Two-letter ISO country code (e.g., "US", "GB")
Postal/ZIP code
The country of nationality of the individual
The country of residence of the individual
The place of birth of the individual
The sex of the individual
The email of the individual
The phone number of the individual
The title of the individual
Whether this individual is the applicant
Whether this individual is a business owner
The percentage of business ownership
Show child attributes
Base64 encoded document content
Name of the document file
Source type of the document
Show child attributes
Base64 encoded document content
Name of the document file
Source type of the document