Prerequisites
You must have access to Product Portal in the Fiskil Console to generate API keys.
Generate API credentials
Select permissions
Generate credentials with the appropriate product management scopes:
| Scope | Description |
|---|---|
api:provider.products.read | List and view products through internal API endpoints |
api:provider.products.write | Create, update, and delete products |
Public API endpoints are visible globally and do not require read permissions.
Obtain an access token
Exchange your client credentials for a short-lived access token:Response fields
The access token to use in the
Authorization header for subsequent API requests.Token validity period in seconds. Default is 900 seconds (15 minutes).
Make authenticated requests
Include the access token in theAuthorization header using the Bearer scheme:
Error responses
| Status Code | Description |
|---|---|
401 Unauthorized | Invalid or expired credentials |
403 Forbidden | Insufficient permissions for the requested scope |
429 Too Many Requests | Rate limit exceeded |
Invalid credentials
Invalid credentials
Insufficient permissions
Insufficient permissions
Security best practices
- Never expose credentials in client-side code or version control
- Rotate secrets regularly and revoke unused credentials
- Use environment variables or a secrets manager for credential storage
- Implement token caching to reduce authentication requests
- Monitor API usage through the Console for unusual activity