REST API

HTTP endpoints for server-to-server integrations with KorinAI.

Overview

Use the REST API for language-agnostic access from backends, workers, or third-party systems.

Authentication

  • Send Authorization: Bearer <API_KEY>
  • Some endpoints also validate request domain for API key usage

Base URL


REST API Endpoints

Gallery

Room

chat

messages

profile


Best Practices

  • Keep API keys on the server; never expose them in client code.
  • Use exponential backoff for 429/5xx responses.
  • Log request IDs and timestamps for observability.
  • For streaming, use an SSE client and handle reconnect with /check + /stream.

Related Topics