Quickstart

In this comprehensive guide, we'll navigate you through the essential steps to kickstart your journey with the Synaps API.

1. Create an app

Upon creation, your application will be initialized in Sandbox mode by default. While operating in this mode, all session verification result will be triggered by the developer.

  1. Click on the green button Create new app

  1. Write your app name, upload your logon, select your target and hit Create
  1. Congratulations! You created your app successfully and you just landed to your app dashboard!

2. Build your verification flow

  1. In your app dashboard, click on Flow

  2. Click on Add your first step

  1. Congratulations! You successfully built your verification flow.

3. Get your API Key

  1. In your app dashboard, click on Developer

  2. At this stage, you have only the Sandbox API key available. This API Key is useful during the integration period. It helps you trigger different outcome of the verification flow in order to integrate seamlessy with your system for any case.

  1. Your API Key is highly confidential and grants you access to sensitive personal user data. As such, it's imperative not to disclose it to anyone. Ensure it doesn't get uploaded to your source control system and is stored securely at all times.

4. Init a verification session

  1. Call the /v4/session/init endpoint with your favorite language
POST
https://api.synaps.io/v4/session/init
curl --location --request POST 'https://api.synaps.io/v4/session/init' \
    --header 'Api-Key: YOUR_API_KEY'

API Response

{
  "session_id": "7cf6c33f-dff8-422d-a696-370db77782d8",
  "sandbox": true
}

5. Setup Verify SDK

The Synaps Verify SDK is a fully-featured user verification interface. As a plug & play component, it allows seamless integration on your platform within few minutes.

Web libraries

Javascript

Reusable, encapsulated HTML elements for building web applications.

Use it

React

React is a javaScript library for building user interfaces based on UI components

Use it

Vue

Progressive JavaScript framework for building user interfaces.

Use it

Angular

Angular is a TypeScript-based, free and open-source web application framework

Use it

Svelte

A lightweight, efficient JavaScript framework for building UIs.

Use it

Mobile libraries

iOS

Apple's mobile operating system for iPhone and iPad.

Use it

Android

Google's open-source operating system for mobile devices.

Use it


6. Configure webhooks

To avoid you reaching Rate Limit, you must setup webhooks notification system. Each time there is a state changes on Synaps side, Synaps will trigger your webhook to notify you that something changed. You can then synchronize data from Synaps API to your database.

  1. Add your notification URL
  1. Congratulations! You successfully added your notification URL.

7. Synchronize data

Get session session details to get an overview of the verification progress

{
  "app": {
    "name": "WeStart",
    "id": "990517996973"
  },
  "session": {
    "id": "7cf6c33f-dff8-422d-a696-370db77782d8",
    "status": "SUBMISSION_REQUIRED",
    "sandbox": true,
    "steps": [
      {
        "id": "LIV9905179969733470",
        "status": "SUBMISSION_REQUIRED",
        "type": "LIVENESS"
      },
      {
        "id": "IDD9905179969738103",
        "status": "SUBMISSION_REQUIRED",
        "type": "ID_DOCUMENT"
      },
      {
        "id": "POA9905179969733505",
        "status": "SUBMISSION_REQUIRED",
        "type": "PROOF_OF_ADDRESS"
      }
    ]
  }
}

Once you get the global status of the verification session, you can get in-depth details for each verification step by using Get step details


What's next?

Great, you're now set up with the Synaps API and you have successfully initalized the Verify SDK.