# GET Submission Data
The KYC / AML status can be checked by the GET request. You can either check for the KYC status of a specific submission or get a list of kyc submissions with GET request.
# GET one item : query a specific submission
Get form data that a specific KYC applicant has filled in. To get form data of a specific applicant, your argument must include one of the following: KYC applicant&'s email address, submission id, or userid. If there are multiple submissions with the same email address, the latest submission data is returned. If submission ID is included in the argument, submission data with matching submission id is returned. For example, when a submission id is requested, the data corresponding to that submission id will be returned.
Endpoint : GET submission data
- When using email only
GEThttps://api2.argos-solutions.io/f1/submissions?email={email}
- When using submission id only
GEThttps://api2.argos-solutions.io/f1/submissions?submission_id={submission id}
- When using user id only
GEThttps://api2.argos-solutions.io/f1/submissions?userid={userid}
- When using email and submission ID
GEThttps://api2.argos-solutions.io/f1/submissions?email={email}&submission_id={submission id}
# Arguments
Argument | Description |
---|---|
Email address of KYC applicant to check submission data | |
submission_id | Submission id received in response to POST submission data |
userid | Customizable identifier |
# Response
Example
curl -H "x-api-key:hTRgZTc6UR2FLgIh5tKLsyjO89xBqsWG3pz3eYvc" https://api2.argos-solutions.io/f1/submissions?email=john@gmail.com
Sample Response
{
"Items": [
{
"data": {
"first_name": "test",
"last_name": "test",
"gender": "male",
"nationality": "United States, USA",
"date_of_birth": "2020-07-02",
"address_city": "Pittsburgh",
"address_country": "United States, USA",
"address_state": "PA",
"address_street": "5000 Forbes Ave",
"address_zipcode": "15213"
},
"email": "john@gmail.com",
"submission_id": "19lwz38kczv2mnw",
"created_at": "2020-07-24 06:46",
"userid": "your_user_id",
"kyc": {
"result": "pending"
}
}
]
}
# GET List : Check all submissions
The data is returned in alphabetical order following id and created_at fields. This api is to get a list of all submissions and their form data.
Check all submissions
GET https://api2.argos-solutions.io/f1/submissions
# Response
Example
curl -H "x-api-key:hTRgZTc6UR2FLgIh5tKLsyjO89xBqsWG3pz3eYvc" https://api2.argos-solutions.io/f1/submissions
Sample Response
{
"Items": [
{
"data": {
"first_name": "John",
"last_name": "Smith",
"gender": "male",
"nationality": "Australia, AUS",
"date_of_birth": "1990-06-10"
},
"email": "test@test.com",
"submission_id": "g3so8kcybubmp",
"submit_date": "2017-07-23 05:00",
"kyc": {
"result": "approved"
},
"aml": "Not Screened"
},
{
"data": {
"first_name": "Donald",
"last_name": "Trump",
"gender": "male",
"nationality": "United States, USA",
"date_of_birth": "1946-06-14"
},
"email": "test@argos-solutions.io",
"submission_id": "japc8kclg6sn5",
"submit_date": "2020-07-14 04:41",
"kyc": {
"result": "approved"
},
"aml": "Red Flag"
}
]
}