API Documentation
Integrate TeleKeep into your workflows. Manage files, query stats, and automate your cloud storage via our REST API.
X-API-Key header. Business plan required.
X-API-Key header.
Alternatively, use Authorization: Bearer tk_... — both are supported.
Each API key allows 100 requests / minute. Exceeding this returns 429 Too Many Requests.
| Response Header | Description |
|---|---|
| X-RateLimit-Limit | Total requests allowed per day |
| X-RateLimit-Remaining | Requests remaining today |
| Retry-After | Seconds until limit resets (on 429) |
| Code | Meaning |
|---|---|
| 400 | Bad Request — missing or invalid parameters |
| 401 | Unauthorized — API key missing or invalid |
| 403 | Forbidden — insufficient plan or permissions |
| 404 | Not Found — resource does not exist |
| 429 | Rate Limit Exceeded |
| 500 | Internal Server Error |
Returns a paginated list of your files.
| Query Param | Type | Default | Description |
|---|---|---|---|
| limit | integer | 50 | Max results (max 200) |
| offset | integer | 0 | Skip first N results |
| search | string | — | Filter by filename |
Returns metadata for a specific file by its ID.
Deactivates a file's public share link. Requires files:delete permission on the API key.
Returns aggregate statistics for your account: total files, storage used, downloads served.
Returns all teams you are a member of, with your role in each.
Returns your API keys list (actual key values are NOT returned for security).
Generates a new API key. Authentication is via desktop app HWID, not an existing API key.
| Body Field | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Friendly name for this key |
| permissions | string[] | yes | files:read, files:write, files:delete, folders:manage |
| rate_limit | integer | no | Custom rate limit (default: 100/min) |
Immediately revokes the API key, making any future requests with it return 401.