API Access & Embed Widgets

Your CX data,
your stack.

Connect AItocha CX to any workflow with tiered REST API keys, or drop live conversation widgets directly into your own portal with a single line of HTML. No middleware, no Zapier, no waiting on devs.

< 5 min
Avg. time to first API call
6
Public API endpoints (and counting)
3
Embeddable live views
0
External dependencies required

The Problem We Solve

Your CRM doesn't know about resolved conversations

Support teams resolve 50 tickets a day and none of it flows back into Salesforce, HubSpot, or your BI tool. You're flying blind on the connection between support volume and churn.

Clients want live dashboards, you can't give them access

Partners and key accounts ask for a real-time view of their support queue. Giving them a full dashboard login isn't an option — different data, different privacy concerns.

Building integrations takes sprint cycles

Every integration requires a feature ticket, backend work, QA, and a release. By the time it ships, the business need has changed or the team has moved on.

White-label platforms can't expose your branding

Resellers and BPOs need to show CX data inside their own portals. Linking out to cx.aitocha.com breaks the white-label experience they've promised their clients.

How AItocha CX Does It

Tiered API keys

Generate scoped REST API keys — Starter (read-only, 1K req/day), Professional (read+write, 10K/day), Enterprise (unlimited). Every key is SHA-256 hashed at rest and shown only once.

Full REST API

GET/filter conversations, leads, and analytics. POST messages to open conversations. Auth via X-API-Key header. All responses are JSON with consistent envelope format.

Iframe embed tokens

Generate frontend-safe embed tokens (cxemb_...) scoped to specific views. Paste one <iframe> line into any portal. Origin restriction prevents unauthorized domains from loading your data.

Live embed views

Three ready-to-embed views: Analytics overview (conversation + lead counts over any period), Conversations list with status + sentiment, and Lead list with temperature and score.

Zero-trust security model

API keys and embed tokens are org-scoped, hash-stored, and rate-limited. Revoke any token instantly from the dashboard — changes take effect on the next request.

Instant setup, no SDK

No npm package, no SDK install. The REST API works with curl, Python requests, or any HTTP library. Embed views work in any HTML page — no JavaScript integration required.

How We Compare

FeatureAItocha CXIntercomZendesk
Scoped API keys (read vs. read+write)
Per tier
Limited scopes
OAuth only
Frontend-safe embed tokens
Live iframe embed views (no SDK)
Per-domain origin restriction on embeds
Rate limits visible in dashboard
Buried in docs
Instant revocation (no token rotation wait)

Frequently Asked Questions

What's the difference between an API key and an embed token?+
API keys (sk_...) are server-to-server credentials — never put them in client-side code. Embed tokens (cxemb_...) are designed to live in client-side HTML and iframes. They are read-only, CORS-restricted, and can't access sensitive operations.
Can I restrict an embed token to only show data from certain dates?+
The embed views support a "days" query parameter for the analytics view (e.g. ?days=30). Embed tokens themselves don't have date filters, but you can control the scope (conversations, analytics, leads) and which domains can load the embed.
What happens if I revoke a token that's live in production?+
Revocation is immediate — the next request with the revoked token returns 401 Unauthorized. The iframe will show an error state. Always create a replacement token before revoking to avoid downtime.
Is the embed view white-label? Does it show AItocha branding?+
The current embed views use a neutral dark UI with no AItocha logo or branding. Enterprise plans can request custom CSS overrides for full white-label styling.
Which plan includes API access?+
All paid plans include a Starter API key (read-only, 1K requests/day). Professional plans add read+write access and 10K requests/day. Enterprise has no rate limits. Embed tokens are available on Professional and above.

Connect your stack in minutes, not sprints.

Generate your first API key or embed token right from the dashboard. No approval process, no waiting on support.

No credit card required · 14-day free trial · Cancel anytime