ORYKSAORYKSADevelopers
Get API keys

API overview

REST over HTTPS, JSON in and out, one base URL: https://api.oryksa.com/v1

Try the API in the browser: API console.

OpenAPI and Postman

The full API is described in an OpenAPI 3.1 file. Import it into Postman, Insomnia or any code generator, or use the ready-made Postman collection (set the apiKey variable to your key).

OpenAPI 3.1 (JSON) Postman collection updated 2026-09-28

Endpoints

MethodEndpointDescription
GET/v1/accountPlan, usage and agent summary
PATCH/v1/agentBusiness profile of the AI employee
PATCH/v1/agent/appearanceName, photo, greeting, suggestions
GET/v1/knowledgeWhat the agent knows
PUT/v1/knowledge/pagesReplace the site content
POST/v1/knowledge/crawlRead a live site
POST/v1/knowledge/faqAdd or update FAQs
POST/v1/chatCustomer message in, AI reply out
GET/v1/conversationsAPI conversations
GET/v1/conversations/{id}Messages of one conversation
POST/v1/sessionsShort-lived token for an app user
GET/POST/v1/client/*In-app chat with the session token
GET/v1/widgetWebsite chat snippet
PUT/v1/widget/domainsLock the chat to your domains
GET/POST/v1/webhooksList or create webhooks
DELETE/v1/webhooks/{id}Delete a webhook
POST/v1/webhooks/{id}/testSend a test event

Errors

Errors always come with a machine-readable code and a human-readable message:

{
  "error": {
    "code": "interaction_limit_reached",
    "message": "The plan's interaction limit for this period is used up.",
    "upgrade_url": "https://app.oryksa.com/billing"
  }
}
HTTPCodeMeaning
400invalid_requestA field is missing or invalid.
401unauthorizedMissing, wrong or revoked API key.
402plan_requiredThe channel is not included in the plan (see upgrade_url).
402interaction_limit_reachedThe plan's interactions for this period are used up.
403account_inactiveThe account that owns the key is not active.
404not_foundThe resource does not exist.
409agent_not_configuredSet up the agent first with PATCH /v1/agent.
422crawl_failedThe site could not be read (for example it only renders in the browser).
429rate_limitedToo many requests. Wait retry_after seconds.
503agent_unavailableThe owner turned the AI off for this channel.

Rate limits

Per API key: 120 requests per minute. Chat: 30 messages per minute per account. Reading pages: 20 per hour. Reading a live site: 10 per hour. Above the limit the API answers 429 rate_limited.

Plans and interactions

The API is a channel like the website chat: it needs a plan with web channels (the developer bonus of accounts connected through the MCP also includes it). Each AI reply counts as one interaction of the plan, with the same limits as WhatsApp. Knowledge, agent and conversation endpoints do not use interactions.