API Reference•stable•Updated 2026-05-13
Gateway Api
Reference for Kadryn gateway api.
Endpoint
This page defines the endpoint, authentication, request schema, response schema, errors, rate limits, idempotency behavior, and related webhook events for gateway api.
Authentication
Use a server-side Kadryn API key.
bash
Authorization: Bearer $KADRYN_API_KEYHeaders
Content-Type: application/jsonIdempotency-Keyfor retry-safe writes.x-kadryn-projectfor project-level attribution.x-kadryn-featurefor feature-level attribution.traceparentfor distributed tracing.
Response
Successful responses return structured JSON and request correlation headers when applicable.
Errors
Handle 400, 401, 403, 409, 429, and retryable 5xx responses explicitly.