Developer reference

SLAtech v1 API - public endpoints

7 public endpoints - bot query (sync + streaming), lead capture, landing-page payloads, pricing JSON, public stats, widget analytics. Curl examples are copy-paste runnable; auth notes and rate-limit headers are documented in the FAQ at the bottom.

Endpoints

7 routes, plain JSON over HTTPS

POST /v1/query

Submit a visitor question and receive a RAG-grounded answer + citation sources.

curl -X POST https://api.slatech.ai/v1/query \
  -H 'Content-Type: application/json' \
  -H 'X-Api-Key: {your site API key}' \
  -d '{
        "question": "Do you accept walk-in appointments?",
        "topK": 10,
        "scoreThreshold": 0.5
      }'
POST /v1/query/stream

Same as /v1/query but streams the answer token-by-token via Server-Sent Events.

curl -N -X POST https://api.slatech.ai/v1/query/stream \
  -H 'Content-Type: application/json' \
  -H 'X-Api-Key: {your site API key}' \
  -d '{ "question": "How do you handle no-shows?" }'
# SSE events: { event: "token", data: "..." }, { event: "done", data: { sources: [...] } }
GET /v1/landing/{site}/{lang}/{slug}

Fetch a published landing-page payload (FAQ + features + stats) for SEO renderers.

curl https://api.slatech.ai/v1/landing/beauty/en/hair-salons
GET /v1/landing/{site}/sitemap-slugs

List every published (slug, lang, type) tuple for a vertical - feeds dynamic sitemaps.

curl https://api.slatech.ai/v1/landing/med/sitemap-slugs
GET /v1/pricing/{vertical}

Return the live pricing tiers (in tenant currency) for a vertical + language.

curl https://api.slatech.ai/v1/pricing/general
GET /v1/public-stats/{siteId}

Public per-site stats - total questions, resolution rate, leads collected, active-since days.

curl https://api.slatech.ai/v1/public-stats/{SiteId GUID}
POST /v1/query/ask-multimodal

Stub returning 501. Reserved for image-upload + question (Q4 2026 - see /en/roadmap/).

curl -X POST https://api.slatech.ai/v1/query/ask-multimodal \
  -H 'Content-Type: multipart/form-data' \
  -F 'question=Is this rash an allergic reaction?' \
  -F 'image=@/path/to/photo.jpg'
# Returns 501 today; expected shape lives in the response body.
Developer FAQ

Auth, rate limits, SDKs, webhooks

How do I authenticate against the SLAtech API?
Send your site's API key in the X-Api-Key header. Keys are created per site in the admin panel and carry scopes: a widget key can only query, an ingest key can only add content. The landing, pricing and public-stats endpoints need no key. All requests must be HTTPS - plaintext HTTP is rejected at the edge.
What's the rate limit?
Per API key: 60 requests per minute on query endpoints, 20 on ingest, 100 on the rest. Over the limit the API answers 429 with Retry-After, X-RateLimit-Limit and X-RateLimit-Remaining headers.
Is there an OpenAPI spec?
Not yet. This page is the reference; its endpoint list is checked against the API's routes on every build.
Does the API support webhooks?
Yes. Configure a webhook URL and secret per site; events are new_lead, query_unresolved, escalation.requested, sentiment.detected and conversation.tagged. Each request carries X-SLAtech-Signature: sha256=<hex HMAC-SHA256 of the body with your secret>.
Are there official SDKs?
No. Every endpoint is plain JSON over HTTPS, so any HTTP client works; the curl examples above are complete requests.

Need a Pro-tier API token?

Server-to-server bearer tokens ship with Pro and above. Email the founder.

Buyer evaluation tools

Four self-serve tools for evaluating SLAtech (or any AI chatbot vendor) without a sales call:

Answer quality how answer quality is measured TCO calculator Annual savings + payback period Vendor compare-tool Published pricing of 16 vendors Vendor checklist 30 procurement due-diligence questions