Authentication

This page describes how you can authenticate with our APIs

1

Prerequisites

In order to obtain an API Token you first need to have client_id and client secret from our team.

2

Request the Access Token

To authenticate and obtain an OAuth token, follow the standard OAuth token request flow.

  • POST API URL

https://sandbox-app.lenderlink.ph/oauth/token
  • To request the Access Token, submit a POST request to the API URL, including the following body parameters in JSON format:


{
    "grant_type": "client_credentials",
    "client_id": "your client id",
    "client_secret": "your client secret"
}
                                        
3

Handling the Token Response

Upon successful validation, the authorization server will respond with an access token:


{
    "token_type": "Bearer",
    "expires_in": 86400,
    "access_token": "eyJ0eXAiOiJKasd10sJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5YTc4MzVm..."
}
                                        

Last updated