Authorization
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.
Generating API Key
Login to Synapses dashboard
Click on the
Setting->API Tokenor directly visit<dashboard>/developer/tokenClick “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.
As a query string parameter
Method
Key
POST
{"key": "YOUR_API_KEY"}GET
<endpoint>/v1/example?key=YOUR_API_KEYIn the authorization header
"Authorization: BearerYOUR_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.
Last updated