Skip to main content
1

Get your API key

Partner API keys are provisioned by the OpenCX team during onboarding. You’ll receive a JWT token that authenticates all Partner API requests.
Partner API keys are separate from org-level API keys. They manage orgs (create, list, generate API keys, generate login links) — they cannot access chat sessions, contacts, or other org data.
2

Create an org

Call the Partner API to create an org for one of your customers:New customer orgs record your partner organization as their billing owner. If your partner account has no organization linked yet, OpenCX automatically creates one using your partner name and reuses it for future customer orgs. No additional request fields are needed.Existing designated OpenCX staff accounts are added as Admins to the automatically created partner organization. Customer organization memberships are unchanged.
The response contains everything you need:
3

Embed the widget

Use the widget_token from the response to embed the chat widget on the customer’s site:
Or with React:
4

Verify

Open the customer’s site. The chat widget should appear and the AI agent will respond using the instructions you provided.For a production-ready setup, follow the Integration Guide to train the AI with real content.

Next steps

Integration Guide

Full end-to-end setup: crawl websites, train the AI, authenticate users.

API Reference

Full endpoint documentation and error codes.