API Access
Kanri’s REST API lets approved software connect to school data and supported actions. It is intended for integrations and technical users. Each request must be authenticated, and the available endpoints depend on the permissions granted to the API key.
Find the API reference
Section titled “Find the API reference”Open the Kanri API reference. It describes available endpoints, request fields, response formats, and errors. Use the reference to confirm the current requirements for the specific operation you need.
The API limits requests to 1,000 per minute per connecting IP address. Integrations using the same address share this limit, even with different keys. Excess requests receive 429 Too Many Requests.
Integrations use a bearer key in the Authorization header. School-scoped endpoints use /api/v1/ paths without a school ID in the path. A key belongs to one school; the Kanri-School header is also used to select school context for signed-in callers.
Do not assume every resource supports the same methods. For example, products support listing and creation, individual retrieval and deletion, and a separate POST edit action. Product options have their own retrieval and save actions. The live reference lists the exact method for each operation.
Create an API key
Section titled “Create an API key”- As a school owner with API access enabled, open Settings → API Keys.
- Create a key with a name that identifies the integration.
- Grant only the permissions the integration needs.
- Copy the full key when Kanri displays it and store it in a password manager or secrets vault.
- Give the key only to the person or system responsible for the integration.
Kanri shows the full key only when it is created. If you lose it, revoke that key and create a replacement. Never put a key in a public document, support request, or source-code repository.
Troubleshoot access
Section titled “Troubleshoot access”- Authentication error: Check that the integration is using the key currently shown in its secure settings. If the key was revoked, replace it.
- Permission error: Ask a school administrator to review the key’s permissions. Do not solve this by sharing another person’s key.
- Endpoint unavailable: Check whether the endpoint is listed in the live API reference and whether the related feature is enabled for the school.
- Rate limit: Reduce request frequency and retry after the rate-limit window.
For key management, see API Keys. The API documentation is written for developers; ask your integration provider to interpret the endpoint details if you do not maintain the integration yourself.