Preventor docs
Identity Verification
Identity Verification
  • getting started
    • Overview
  • web - client-side SDKs
    • HTML + Javascript
    • Angular
    • React
    • Vue.js
  • mobile - client-side SDKs
    • iOS
    • Android
  • Server
    • API Reference
      • Security
      • Invitations link
      • IDV Tickets
    • Webhooks
      • IDV Tickets
      • Invitations link
  • Resources
    • Document image quality requirements
Powered by GitBook
On this page

Was this helpful?

  1. Server
  2. API Reference

Security

Here you will find all security related APIs

PreviousAPI ReferenceNextInvitations link

Last updated 1 year ago

Was this helpful?

Authentication

post

Our services require you to be authenticated and authorized, that's why you must generate your access token first. In order to create this token, you must provide your credential.

Your credential consists of three values: you api key, your secret, your tenant, your env and your banknu.

Your api key must be sent as a header, and also as your username along with your secret as Basic authorization.

Your tenant, env and banknu must be sent as headers values.

Authorizations
Header parameters
x-api-keystringOptional

Your credential's unique key

Example: YOUR_API_KEY
x-tenantstringOptional

Your credential's tenant value

Example: YOUR_TENANT
x-envstringOptional

Your credential's env value

Example: YOUR_ENV
x-banknustringOptional

Your credential's banknu value

Example: YOUR_BANKNU
user-agentstringOptionalExample: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
x-interfacenumberOptionalExample: postman-interface-v1.0.0
Body
Responses
200
Successful response
application/json
post
POST /id/v1/identity/auth/token HTTP/1.1
Host: api-sandbox.preventor.com
Authorization: Basic username:password
Accept: */*
200

Successful response

No content