🎯
UNIFID Integration Guide
  • 📖UNIFID Integration
  • ⭐Get started with UNIFID
  • ⚛️Authentication
  • SDK
    • ✳️SDK Configuration
  • API
    • 👥User Identity
      • 👤Basic Identity - Uganda
      • 👥Sanctions
      • 🥈Request credential
    • ⚙️Company Verification
      • 🔧Company Search
      • 📄Company Docs
  • Webhook
    • ⚙️Webhook
      • 👥User Identity
      • 👥Verified Credentials
      • 🎭Company Search
      • 🎭Company Docs
Powered by GitBook
On this page
  • Step 1: Get Access Token
  • Step 2: Sending access token as Request header

Authentication

Authentication is mandatory for all API requests

The authenticatio is a 2 step process.

Step 1: Get Access Token

User your customerID as username and customerKey as password to get access token.

Please check your onboarding pack for customer_id and customer_key

POST https://<server_name>/oauth/service

Headers

Name
Type
Description

Content-Type*

String

application/x-www-form-urlencoded

Authorization*

Base64

Basic Auth

Request Body

Name
Type
Description

grant_type*

String

client_credentials

{
    // Response
}
// Get Access Token
curl --location --request POST 'https:///oauth/service' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H "Authorization: Basic \
$(echo -en '<customer_id>:<customer_key>' | base64)" \
-d 'grant_type=client_credentials'

Access Token is valid for an hour from the requested time.

Step 2: Sending access token as Request header

Send the token from Step 1 as Bearer token in the header for all API requests

PreviousGet started with UNIFIDNextSDK Configuration

Last updated 1 year ago

⚛️