GET
/
getLatestApplicationState
Get latest application state
curl --request GET \
  --url https://api.parcha.ai/api/v1/getLatestApplicationState \
  --header 'Authorization: Bearer <token>'
{
  "self_attested_data": {
    "business_name": "<string>",
    "registered_business_name": "<string>",
    "address_of_incorporation": {
      "street_1": "<string>",
      "street_2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country_code": "<string>",
      "postal_code": "<string>"
    },
    "address_of_operation": {
      "street_1": "<string>",
      "street_2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country_code": "<string>",
      "postal_code": "<string>"
    },
    "website": "<string>",
    "business_purpose": "<string>",
    "description": "<string>",
    "industry": "<string>",
    "tin_number": "<string>",
    "incorporation_date": "2023-12-25"
  },
  "applicant_id": "<string>",
  "applicant_type": "kyb",
  "application_status": "PENDING",
  "current_check_results": [
    {
      "check_id": "<string>",
      "status": "PENDING",
      "result": {},
      "error": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "past_check_results": [
    {
      "check_id": "<string>",
      "status": "PENDING",
      "result": {},
      "error": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT token obtained from the authentication endpoint

Query Parameters

agent_key
string
required

The agent key

application_id
string
required

The ID of the application

Response

200 - application/json

Application state retrieved successfully

self_attested_data
object
required
applicant_id
string
required

The ID of the applicant

applicant_type
enum<string>
required

The type of applicant

Available options:
kyb,
kyc,
entity
application_status
enum<string>
required

The current status of the application

Available options:
PENDING,
IN_PROGRESS,
COMPLETE,
ERROR
updated_at
string<date-time>
required

Last update timestamp

current_check_results
object[]

Current check results

past_check_results
object[]

Past check results