Authorization
Last updated
Last updated
Synapses API uses API keys to authenticate requests. These API keys can be generated from synapses.kredibel.com or synapses.sandbox.kredibel.com for development purposes and must be supplied with each request.
Login to Synapses dashboard
Click on the Setting
-> API Token
or directly visit <dashboard>
/developer/token
Click “Generate”
An API key is a token that a client provides when making API calls. Synapses API provides two methods for authentication.
As a query string parameter
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.
Method
Key
POST
{
"key": "
YOUR_API_KEY
"
}
GET
<endpoint>/v1/example?key=
YOUR_API_KEY