To get started with API calls, you need to be sure you are currently passing the right parameters and authenticating correctly.
Requirements for API authentication:
a. API keys: Your API requests requires an API key which can be generated from your dashboard by navigating to the Developers tab on the left side panel of your dashboard and selecting 'Configuration'. API keys are environment based, which means you have use either the sandbox or production private keys for the sandbox or production environment respectively.
b. App ID: Apps are equally generated from the Configurations page under the Developer's module on the dashboard. Once an App is created, an ID is automatically generated. Apps are also used to customised the look and feel of your ID verification widget.
BaseURL: All API requests made must include a base URL. Below are the base URLs for each environment.
SANDBOX ==> https://sandbox.dojah.io
PRODUCTION ==> https://api.dojah.io