Welcome to the official API documentation. This page serves as a comprehensive guide and definitive reference for developers looking to integrate our services into their own applications. Within these sections, you will find exhaustive information regarding our available endpoints, secure authentication protocols, and complex data structures. Our goal is to provide a clear, structured roadmap that covers everything from initial connection setup to advanced error handling, ensuring a seamless and efficient integration process.
To ensure a secure and seamless integration for all our developers, access to this API is currently managed via a manual registration process. To request your credentials, please send a formal registration inquiry to our support team at support@divasinergi.com.
Once your request has been submitted, our team will review your application and finalize your account setup. In the meantime, we encourage you to proceed to the Authentication section. There, you will find comprehensive documentation on how to generate the necessary authorization headers and secure your connection to our services.
To interact with our protected endpoints, you must include a valid JSON Web Token (JWT) in your request headers. This token is obtained after a successful login and serves as your digital identity for all subsequent API calls.
The Authentication ProcessOnce you have completed the registration and received your credentials, you can perform a POST request to our login endpoint. Upon a successful login, the server will return a JSON response containing a unique token.
How to Use the TokenTo authenticate your requests, you must pass the token string (found in data.token) into the Authorization header using the Bearer Authentication scheme.
Important Notes:Once you have successfully authenticated your requests using the Bearer Token, you can begin interacting with our available resources. Below is a comprehensive list of the endpoints provided by this API.
POST /sanbox/gettoken
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID for Enrollment BIOID |
Request Example :
Response Example :
POST /sanbox/enrollment/mobile
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID for Enrollment Virtual BIOID |
| image01* | string | base64 Image ( only accept jpg, png, jpeg | max filesize 5mb | max resolution 640 x 480 ) |
| image02* | string | Image 02 |
Request Example :
Response Example :
POST /sanbox/enrollment/virtual
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID for Authentication Liveness BIOID |
| name* | string | Name |
| image01* | string | Image 01 |
Request Example :
Response Example :
POST /sanbox/verify/liveness
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID for Authentication Passive BIOID |
| image01* | string | Image01 |
| image02* | string | Image 02 |
Request Example :
Response Example :
POST /sanbox/verify/passive
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID for Authentication Passive BIOID |
| image01* | string | Image 01 |
Request Example :
Response Example :
POST /sanbox/verify/liveness
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID for Verify Liveness BIOID |
| image01* | string | Image 01 |
| photo* | string | Photo |
Request Example :
Response Example :
POST /sanbox/verify/kyc
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID for KYC BIOID |
| name* | string | Name |
| desc | string | Description ( Optional ) |
| image01* | string | Image 01 |
| image02* | string | Image 02 |
| photo* | string | Photo |
Request Example :
Response Example :
POST /sanbox/bioid/onetomany
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID For Face Search |
| image01* | string | Image 01 |
| image02* | string | Image 02 |
Request Example :
Response Example :
POST /sanbox/bioid/get/template
Request Body :
| Name | Type | Description |
|---|---|---|
| id* | int | Client ID For Get Template |
Request Example :
Response Example :