Step 2 - Check the Identity Job Status
Overview
After creating an Identity Job, you will need to then check the status of it. This will return information about the job, as well as provide insights into next steps needed to be taken by either your application and/or your end user to complete the identity retrieval.
Retrieve a created Identity Job
HTTP Request
Sandbox - GET https://api.sandbox.aerosync.com/v2/accounts/{user_id}/job/{job_id}
Staging - GET https://api.staging.aerosync.com/v2/accounts/{user_id}/job/{job_id}
Production - GET https://api.aerosync.com/v2/accounts/{user_id}/job/{job_id}
Path Parameters
Parameter | Required? | Type | Description |
---|---|---|---|
job_id | Yes | String | An Identity Job's unique identifier |
user_id | Yes | String | Aerosync specific user_id recieved from the SDK onSuccess |
Request and Response
GET https://api.sandbox.aerosync.com/v2/accounts/{user_id}/job/{job_id}>
Authorization: Bearer {{token}}
{
"status": "success",
"statusCode": 200,
"jobStatus": "Pending MFA",
"mfaTriggered": true,
"jobId": "REF-bbf8443534ef4c5a9b5e3ca08824bc5c",
"userId": "e51b864b6f3148e6accc4e65363b1322"
}
You will need to poll this endpoint until
job_status
changes tocompleted
status
Updated about 1 month ago