What it is and what it costs
An API token is a long secret that lets another system act as you, with your permissions: send messages, read contacts and so on. The API is part of the Growth plan and up; the full API and MCP (for AI assistants) of Business and up. There is no charge per call, but messages the API starts follow the send limits.
An embed key lets another system, such as your CRM, show one number's flows list and flow editor inside its own page. It is part of the Solo plan and up, not the trial.
Make an API token
- Open API and webhooks, then the API keys tab. Press New API key and type a Name, like "HubSpot sync". Under What it can do, Read, Send and Contacts are ticked for you; tick only what the app needs. Pick the numbers and channels it may use and when it Stops working (1 year unless you change it), then press Create key.
- Copy it at once and keep it somewhere safe: it is shown only once.
- Use it with the API address shown on the page.
- When it is no longer used, press Revoke key. Anything using it stops working at once.
Embed a number's flows
- In Channels > Your channels, someone with the Numbers: settings permission opens Embed key in the number's card menu and presses Make a key.
- Give the key to your developer. It stays on your other system's server, never in a web page.
- Their server gets a short-lived address with the key and shows it in a frame. How to use it in the dialog shows the exact call. The site's address must be listed under Allowed sites for the flow editor in API and webhooks > Website embed, which someone with the Config: change permission can change.
Send events to your own systems
A webhook sends what happens in Welkai, such as a new message, to an address on your own system as it happens. Someone with the Config: change permission sets it up in API and webhooks > Webhooks.
Under Default webhook events, pick Every event, or Only these and tick the ones you need. They apply to every number and Page that has no webhook settings of its own.
Under Chats the webhook ignores, add one phone number per line for chats to leave out (a chat ID works too, as for a staff group). Mailboxes, appointments and billing send no webhook events.
Each channel sets where its events go. In Channels > Your channels, someone with the Numbers: webhooks permission opens Channel webhook in the channel's card menu, fills Webhook URL and presses Save webhook. Each event is signed with the Signing secret, so your system can check it came from Welkai. Every event and your system's answer shows under Deliveries; a failed one is tried again for about 3 days, and you can send it again yourself.
What a token cannot do
Some things need a person signed in to the dashboard and are refused for a token, such as the Storage and Team pages. A token does only what your permissions allow, and it stops working when your role loses the API tokens: use permission. AI apps you connect by signing in are listed under Connected apps, where you can disconnect them. To connect a CRM step by step, see Connect your CRM.