Job status
The job status API returns information about a job, including its completion status, whether or not it was successful, optionally the complete history (all jobs performed on that user), and also optionally, a signed link to the images captured during that job.Unlike the callback, where results are asynchronous and we POST to your server, the job status API is implemented on our servers and you make POST requests to it. Just like any other call to our servers, we use an encrypted signature to verify that you are the sender of the request, and the response will include a signature created by us for verification. You can find instructions on how to sign the request in our documentation.
Request Type: POST
Environment | URL |
---|---|
Sandbox | |
Production |
Request Body
Return Values
Name | Description |
---|---|
timestamp | The timestamp used to create the signature. |
signature | The signature for this response. |
user_id | The unique user_id that was either assigned, or passed in to this job. |
job_id | The unique job_id that was either assigned, or passed in to this job. |
job_complete | Whether or not we have reported a final status for this job. |
job_success | Whether or not we were able to achieve a successful match and have enrolled or authenticated this user. |
result | This object will include the details of the final status. |
result.ResultText | Textual value of the job outcome. A human readable result. |
result.SmileJobID | Our internal job id. Should be supplied when raising support ticket for a job |
result.PartnerParams | This should include the same user_id and job_id that you used to make the request. |
result.ConfidenceValue | A number representing our confidence in the final determination. |
image_links | This object will contain the image captured during that job if the optional flag was passed in during the request. |
image_links.selfie_image | An expiring link to the selfie image. |
code | A code that maps to an error condition or success for the job_status call. |
Example JSON Response
Job Status Codes
Depending on the outcome of the job_status call, there is a status code that will be returned. The status code
is different from the result code
which is the numerical value of the result of the job that was processed.
Code | Description |
---|---|
2301 | System error |
2302 | Success |
2303 | Invalid JSON |
2304 | Job not found |
2305 | Invalid sec_key |
2307 | Enrolled user is disabled |
2310 | No enrolled user found |
2313 | Missing required parameters |
2314 | No zip file received |
Last updated