Authentication
Learn how to authenticate with the Fibek API using JWT tokens.
Fibek uses JWT tokens for API authentication. Tokens are valid for 5 years and are tied to your company.
Generating a JWT Token
You can generate your API token directly from the Fibek platform:
- Log in to your Fibek account
- Navigate to Settings → Integrations
- Select the API Integration option
- Click Generate JWT Token
- Copy and securely store the generated token
Important: Store the token securely. It cannot be recovered after generation - you will need to generate a new one if lost.
Token Information
When you generate a token, you will receive:
| Field | Type | Description |
|---|---|---|
token | String | The JWT token to use in subsequent API calls |
expiresAt | Number | Unix timestamp when the token expires (5 years from generation) |
Using the Token
Include the JWT token in the Authorization header for all API requests:
Authorization: Bearer <JWT_TOKEN>