Kredibel API
Search…
Authorization
Synapses API uses API keys to authenticate requests. These API keys can be generated from synapses.kredibel.co.id or synapses.sandbox.kredibel.co.id for development purposes and must be supplied with each request.

Generating API Key

  1. 2.
    Click on the Developer menu or directly visit <dashboard>/developer
  2. 3.
    Click “Generate

Using API Key

An API key is a token that a client provides when making API calls. Synapses API provides two methods for authentication.
  1. 1.
    As a query string parameter
    Method
    Key
    POST
    {
    "key": "YOUR_API_KEY"
    }
    GET
    <endpoint>/v1/example?key=YOUR_API_KEY
  2. 2.
    In the authorization header "Authorization: Bearer YOUR_API_KEY"
Both of the methods above work with Synapses API. The query string is easier to implement. But, makes it easier to discover for someone who should not have access to it. For every API call, we recommend using an authorization header since it is more secure.
Copy link
Outline
Generating API Key
Using API Key