Skip to main content

API Integration Guide: A Developer’s Toolkit

Integrate swiftly with Shufti Pro's API and build a foundation of trust with your users. Experience a hassle-free setup process optimized for streamlined customer onboarding and robust user verification.

SHUFTIPRO

QUICK INTEGRATIONS

Elevate your Identity verification services with Quick-Code integration - a collection of code snippets for enhanced accuracy and reliability.

Loading...

FAQs

Find answers to your most common questions in our FAQ section.

How can we calculate the signature?

To check if the response is received from Shufti’s end, you can calculate the signature on your end by following these steps:

  1. Take SHA256 of the Secret Key string.
  2. Concatenate hashed Secret Key at the end of the raw response string. (i.e. response + hash('sha256', secret_key)).
  3. Take SHA256 of concatenated string.
  4. Match the SHA256 string with Signature value from the header of the response.

Example: hash('sha256', response . hash('sha256', secret_key))

For more details, please visit the mentioned link: Response Signature

How can a client store the images that the user provided to Shufti Pro?

Once a verification request is completed, you may request at the status endpoint (api.shuftipro.com/status) to get the verification status as well as the proofs URLs that the user had provided to Shufti Pro during the verification journey.

To access proofs, clients should send a POST request to a specific endpoint with their access_token included in the request payload. Please note that the access_token must be valid, and the request method must be POST; otherwise, the server will return an error.

For more details about the status endpoint and access proof URLs, please visit the mentioned below links:

How does the system notify the client about the verification status?

Shufti Pro offers the clients to specify a callback URL in the API request on which server-to-server calls are sent that notifies the client about the status of the verification.

The system posts the extracted data, geolocation, and browser info details in the callback response. Please note that you have to define/register that callback URL in your back-office first under the settings tab.

Can I set the verification_mode specifically for different services?

Yes, Shufti Pro does provide you the flexibility to customize the verification journey as per your requirements.

You can use the following key(s) on a service level, and the end-user will be prompted to provide the image/video according to the verification mode defined:

  • “verification_mode” : “image_only”
  • “verification_mode” : “video_only”
  • “verification_mode” : “any”

How can I receive an asynchronous response in off-site verification mode?

Before initiating a verification request, you may use the following exact parameter in the global body of API payload.

This action will trigger the system to send an initial event “request.received” which indicates that the request has been received for processing. The system will then send back a final event after complete processing.

“show_results” : “0”

Can you download a PDF verification report via API?

Yes, Shufti Pro does provide this option out of the box.

In order to fetch each individual report via API, you will need to call our status API against the respective verification request. Please visit the link below to check further details about status API.

  • Request Status
  • Can the clients use multiple Questionnaires in the same API call?

    Yes, Shufti Pro allows you to make an API call including a maximum of five Questionnaires.

    These Questionnaires will run in a specific sequence defined in the API call.

    How does Shufti Pro perform authenticity checks on an ID document?

    We’ve in-house developed advanced AI models that are capable of verifying the originality of the ID document after performing numerous checks that are listed below.

    These AI models are capable enough to detect the latest challenges based on Deep Fake technology with an accuracy of 99% as well as ID theft of legitimate documents and everything in between:

    • Format Identification
    • Detecting crumpled/folded edges
    • Checking for tampering/forgery/photoshop
    • Verifying holograms/rainbow prints

    Does Shufti Pro allow you to re-upload the document(s) in real-time if declined?

    Yes, the system does trigger a retry option in real-time if the following key is being used in the global body of API payload.

    “allow_retry” : “1”

    Note: The retry option is only given in case of ONSITE process.

    Which SDKs are being offered by Shufti Pro?

    Shufti Pro offers cross-platform SDKs for easy integration into mobile applications, including Android, iOS, Flutter, and React Native.

    Visit the following link to access our comprehensive mobile documentation.

  • Mobile SDK's