Endpoint
Tightknit’s REST API endpoint is:Authentication
API Keys
To understand how to create and manage your API keys, see API Keys. To authenticate your requests, you need to pass the API key with header:Authorization: <YOUR_API_KEY>
Idempotency
The API supports idempotency for safely retrying mutating requests (e.g.,PATCH, POST) without causing duplicate side effects. To use idempotency, include the Idempotency-Key header with a UUIDv4 value for each distinct operation:
- If a request with the same key has already completed, the API returns the cached response with an
X-Idempotent-Replayed: trueheader. - If a request with the same key is still being processed, the API returns
409 Conflictwith aRetry-Afterheader. - Cached responses expire after 1 hour.
- The key must be a valid UUIDv4 (e.g., generated via
crypto.randomUUID()). Invalid formats return400 Bad Request. - The header is opt-in — requests without it are processed normally.
- Safe methods (
GET,HEAD,OPTIONS) ignore the header.

