Authentication
The Kini API uses Bearer API Key authentication to ensure secure and simplified access to all API resources.
API Key Authentication
The Kini API authenticates every request with an API key, sent as a Bearer token in the Authorization header.
To authenticate with the Kini API:
- Obtain an API Key in the Kini Partner App.
- Include the key in the
Authorizationheader for all API requests.
1. Obtaining an API Key
API Keys can be created and managed through the Kini Partner App. When generating a key, you can:
- Select your preferred expiration time based on your security requirements
- Generate multiple keys for different applications or environments
- Revoke keys that are no longer needed
2. Using the API Key
Include your API key in the Authorization header of all API requests:
Authorization: Bearer <your_api_key>
Example Request:
curl --location 'https://api.getkini.com/jobs' \
--header 'Company-Id: 1' \
--header 'Authorization: Bearer YOUR_API_KEY'
Best Practices
- Key Security:
Store your API key securely and never expose it in client-side code or logs. - Key Rotation:
Rotate your API keys periodically to minimize security risks. Use appropriate expiration times based on your security requirements.
Was this page helpful?