QiD
    QiD
    • Overview
    • API Parameters
    • API
      • Request a token
        POST
      • Refresh an existing token
        POST
      • Initiate a request
        POST
    • Webhook
      • Introduction

    API Parameters

    Security#

    The QiD Service complies with the highest international security standards and privacy regulations - to that end and to ensure that only authorised Principal Subscribers are able to issue a QiD Service request, the QiD Service makes use of a token-based authentication security protocol.

    QiD API Request/Return Parameters#

    QiD Service requests are processed on a first-in-first-out (FIFO) basis
    API Request Parameters:
    subscriber_id: Used to identify the Primcipal Subscriber (Required)
    metadata_list: Used to specify specific metadata details (Not required - Metadata IDs need to comma delimited as per the table below)
    livecheck_id: Used to indicate if a liveness check is to be performed ('0' - No liveness check/'1' - Check liveness') (Not required - default: '0' - No liveness check)
    mode_id: Used to indicate UX style ('0' - Light mode/'1' - Dark mode) (Not required - default: '0' - Light mode)
    location_id: Used to indicate if GPS location coordinates need to be recorded ('0' = No location check/'1' - Check location) (Not required - default: '0' - No location check)
    Note: Activating a particular QiD Service (enabled by setting the API request parameter to '1') may result in additional service fees being charged - please check before activating a particular QiD Service...
    API Return Parameters (Success):
    Code: Ref API Response Codes
    webid_key: Unique 16-character code used as a primary key to identify the QiD Service request (eg: ‘wQaZgd98o77LlGgz’)
    webid_url: Unique (tiny) url for the Subscriber App to use to launch an in-app aiDX web instance and used a secondary key to identify the QiD Service request (eg: ‘https://web.qid.bio/6GtRdjIG’)
    Webhook Return Parameters (Success):
    Code: Ref API Response Codes
    webid_key: Unique 16-character code used as a primary key to identify the QiD Service request (eg: ‘wQaZgd98o77LlGgz’)
    aidx_uuid: Unique user ID used as a primary key to identify the user (eg: ‘23bf11b3-391e-4a78-901c-a1e4573b272c’)
    metadata: As requested by the Principal Subscriber
    location: GPS location data ss requested by the Principal Subscriber in decimal degrees (DD) (eg: '32.40338 27.17403')
    ** API/Webhook Return Parameter (Fail)**:
    Code: Ref API Response Codes

    Metadata IDs#

    Request IDAttribution/EmotionReturn Value
    1GenderValue & Confidence %
    2Age RangeAge range - low & Age range - high
    3BeardBoolean & Confidence %
    4SpectaclesBoolean & Confidence %
    5Eyes OpenBoolean & Confidence %
    6Face MaskBoolean & Confidence %
    7Mouth OpenBoolean & Confidence %
    8MoustacheBoolean & Confidence %
    9EmotionsValues & Confidence %

    API Response Codes#

    The QiD Service API will return one of the following Response Codes:

    Code: 000#

    Return ValueDescription
    TypeError
    DescriptionUnknown error
    RemedyContact support

    Code: 001#

    Return ValueDescription
    TypeError
    DescriptionNo Subscriber ID provided
    RemedyProvide a Subscriber ID

    Code: 002#

    Return ValueDescription
    TypeError
    DescriptionUnknown Subscriber
    RemedyContact support

    Code: 003#

    Return ValueDescription
    TypeError
    DescriptionInactive Subscriber
    RemedyContact support

    Code: 004#

    Return ValueDescription
    TypeError
    DescriptionInvalid IP address
    RemedyInitiate QiD Service request from a valid IP address

    Code: 005#

    Return ValueDescription
    TypeError
    Description‘Inactive IP address
    RemedyInitiate QiD Service request from a registered IP address

    Code: 006#

    Return ValueDescription
    TypeError
    DescriptionQiD API Service request expired
    RemedyRe-initiate QiD Service request

    Code: 007#

    Return ValueDescription
    TypeError
    DescriptionInvalid QiD Service request
    RemedyRe-initiate QiD Service request

    Code: 008#

    Return ValueDescription
    TypeError
    DescriptionIncompatible capture device
    RemedyMobile phone only

    Code: 009#

    Return ValueDescription
    TypeError
    DescriptionIncompatible mobile browser
    RemedyInstall a compatible browser

    Code: 010#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request
    RemedyRe-initiate QiD Service request

    Code: 011#

    Return ValueDescription
    TypeError
    DescriptionUser failed to capture the ‘3D selfie’ within the allotted time
    RemedyRe-initiate QiD Service request

    Code: 012#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture timeout
    RemedyRe-initiate QiD Service request

    Code: 013#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’No Face'
    RemedyRe-initiate QiD Service request

    Code: 014#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’No Face’
    RemedyRe-initiate QiD Service request

    Code: 015#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’No Human Face'
    RemedyRe-initiate QiD Service request

    Code: 016#

    Return ValueDescription
    TypeNotice
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’No Human Face'
    RemedyRe-initiate QiD Service request

    Code: 017#

    Return ValueDescription
    TypeNotice
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’Too Dark'
    RemedyRe-initiate QiD Service request

    Code: 018#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’Too Dark'
    RemedyRe-initiate QiD Service request

    Code: 019#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’Too Bright'
    RemedyRe-initiate QiD Service request

    Code: 020#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’Too Bright'
    RemedyRe-initiate QiD Service request

    Code: 021#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’Sunglasses’
    RemedyRe-initiate QiD Service request

    Code: 022#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’Sunglasses'
    RemedyRe-initiate QiD Service request

    Code: 023#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’Blur’
    RemedyRe-initiate QiD Service request

    Code: 024#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’Blur’
    RemedyRe-initiate QiD Service request

    Code: 025#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’Bad Pose’
    RemedyRe-initiate QiD Service request

    Code: 026#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’Bad Pose’
    RemedyRe-initiate QiD Service request

    Code: 027#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request during ‘3D selfie’ capture error - ’Bad Frame’
    RemedyRe-initiate QiD Service request

    Code: 028#

    Return ValueDescription
    TypeError
    DescriptionUser abandoned QiD Service request following ‘3D selfie’ capture error - ’Bad Frame’
    RemedyRe-initiate QiD Service request

    Code: 029#

    Return ValueDescription
    TypeError
    DescriptionUser liveness check failed
    RemedyRe-initiate QiD Service request

    Code: 030#

    Return ValueDescription
    TypeError
    DescriptionLiveness check couldn't be completed
    RemedyRe-initiate QiD Service request

    Code: 051#

    Return ValueDescription
    TypeError
    DescriptionMissing Webhook URL
    RemedyContact support

    Code: 052#

    Return ValueDescription
    TypeError
    DescriptionInvalid Webhook URL
    RemedyContact support

    Code: 053#

    Return ValueDescription
    TypeError
    DescriptionInvalid token
    RemedyContact support

    Code: 054#

    Return ValueDescription
    TypeError
    DescriptionUnable to generate a token
    RemedyContact support

    Code: 055#

    Return ValueDescription
    TypeNotice
    DescriptionNew token is generated successfully
    Remedy-

    Code: 056#

    Return ValueDescription
    TypeError
    DescriptionToken has expired
    RemedyEither refresh the token or generate a new token

    Code: 100#

    Return ValueDescription
    TypeNotice
    DescriptionQiD Service request queued - awaiting response from User
    Remedy-

    Code: 101#

    Return ValueDescription
    TypeNotice
    DescriptionQiD Service request successfully completed
    Remedy-

    Webhook URL#

    As all responses by the QiD Service are handled using Webhook URLs, please ensure that you set up a secure Webhook URL for sandbox and production...
    Modified at 2025-07-14 10:21:08
    Previous
    Overview
    Next
    API
    Built with