API Key Generation
Link to the Customer Dashboard
Adding an API key is necessary for continuous access to our API.
API Key Page

API Key Form

Assign a meaningful name and description to each key, facilitating understanding and management of usage and status. Also you could define scoupe of API token, f.e. you could create several tokens with different responsibility and distribute them between different services.
Remember to copy and save the generated keys, as it will not be displayed in the list.
Form Displaying the Generated API Key

API Key List

Each entry features a drop-down menu, enabling you to copy ID and revoke or delete your API key.
API Authorization
To use Kaminari API you should authorize by specific HTTP Headers.
'X-kaminari-api-key: <API_KEY>'
'X-kaminari-api-signature : <API_SIGNATURE>'
Algorithm to generate signature to authorize your API call.
hex(HMAC_SHA512(request_uri + SHA256(nonce+POST data),secret_key))
where nonce
is unique integer value, that should be added into body params in POST calls, and in query params for others HTTP methods. Example of signature generation you could find in Golang Kaminari SDK.
Last updated