Documentation

Developers

The developer portal for connecting your own app or website to Konkui with API keys, webhooks, the API Playground and usage analytics.

Updated October 6, 2026

Sign in and every dashboard link in these docs opens straight in your own workspace.

Sign in

Dashboard reference

Open in dashboard

Developers is the portal for connecting your own website, app or backend to your Konkui bot through the Third-party API. Here you create API keys, read the API reference, try the API in the Playground, register webhooks and watch API traffic.

Where to find it

Developers is in the System group of the sidebar (under More when the sidebar is collapsed), or go straight to Developers. An admin can hide it from the sidebar with the Developers toggle under Tab Visibility in Settings › General.

The portal has six tabs: Overview, API Keys, Documentation, Playground, Webhooks and Analytics.

Overview

The Developers Overview tab
Developers › Overview
#ItemWhat it does
1Portal tabsSwitch between the six sections of the portal.
2StatsAPI Calls Today, Active Keys (keys used at least once / all keys), Webhooks, and Success Rate for the last 7 days.
3Quick Start GuideThe four steps of an integration with copyable code: get a key, start a conversation, exchange messages, refresh tokens. Go on step 1 opens API Keys.
4API DocumentationOpens the Documentation tab.
5API PlaygroundOpens the Playground tab.

When your keys have traffic, a Top API Endpoints list at the bottom shows the five most-called endpoints with call counts and average response time. A blue banner at the top reminds you that API tokens expire after 1 day and links to the token refresh guide.

API Keys

The API Keys tab
Developers › API Keys
#ItemWhat it does
1Create API KeyCreates a key for the Third-party chat API.
2Create owner-support keyCreates a read-only status key for a delegated support agent (see below).
3Enhanced Security with Short-Lived TokensExplains token expiry, auto-refresh and the 1-hour grace period.

Below the notice is your list of keys. Each key shows its name, its scopes (such as read, write), Created, Last used, Expires and the last 8 characters of its Key ID. The full key is never shown again after creation. Use the ⋮ menu and Revoke Key to delete a key; apps using it are rejected on their next request.

Create an API key

The Create New API Key dialog
Create New API Key
#ItemWhat it doesNotes
1Key NameA name to recognise the key, for example "Production Key".Required. Must be unique in the workspace. "Konkui Playground Credential" is reserved.
2ImportantReminds you the key is shown only once.
3Token ExpirationExplains that the token expires in 1 day and needs auto-refresh.
4Create KeyCreates the key.

After you click Create Key, a green API Key Created Successfully! box shows the key with Copy and Dismiss buttons. Copy it into your server's secret store straight away: it won't be shown again.

Owner-support keys

An owner-support key lets a delegated support agent or service read a small bot-health snapshot of your workspace (bot names, whether each is on, and a few settings). It cannot read customer conversations, credentials, billing or settings, and cannot change anything. It has a fixed 1-day lifetime that refresh cannot extend; create a new one only when the agent still needs access, and revoke it when done.

Documentation

The Documentation tab is the detailed API reference, with request and response examples and code in cURL, JavaScript, Python and PHP.

The Documentation tab
Developers › Documentation
#ItemWhat it does
1Polling API DocsFor apps that call receive-reply on a timer to fetch new messages.
2Webhook API DocsFor apps that receive conversation updates pushed to a webhook.
3Token refresh guidePatterns and samples for refreshing tokens automatically.

Each API page lists its endpoints on the left. Pick one to see its request headers and body, a sample response and code examples.

The Polling API reference page
Polling API reference
#ItemWhat it does
1ENDPOINTSStart Conversation, Send Message and (polling only) Receive Reply (Poll).
2Usage NotesAuthentication and response-format rules for this API style.
3RequestHeaders and body, with Copy.
4ResponseA sample successful response.

Playground

The Playground runs a real conversation with your bot through the API, the same way your app would, without writing code.

The API Playground
Developers › Playground
#ItemWhat it doesNotes
1Mode tabsFull Conversation Flow runs start + send in a chat view. Single API Call is an older, simpler mode.
2Get Playground Credential (up to 1 day)Creates (or reuses) one dedicated read/write credential for the Playground.It appears in API Keys, where you can revoke it. A timer shows when it expires.
3Customer IDThe customer the test conversation belongs to.Pre-filled with a test ID. Letters, numbers and underscores, 3–50 characters.
4Start ConversationStarts a conversation and shows its Conversation ID.Reset Conversation starts over.
5Preset ScenariosPre-fills a first message (Customer Support, Product Information, General Conversation) and suggests follow-ups.
6ConversationType a message and press Enter or the send button; the bot's reply appears below.

Webhooks

Webhooks push events to your server as they happen, so you don't have to poll.

The Webhooks tab
Developers › Webhooks
#ItemWhat it does
1Add WebhookRegisters a new endpoint.

Each webhook in the list shows its URL, Active/Inactive status and subscribed events, with these controls:

ControlWhat it doesNotes
On/off switchPauses or resumes deliveries to this endpoint.No events are queued while it is off.
TestSends a signed test event (test) right away and tells you the HTTP result.
Delete (trash icon)Removes the endpoint after you confirm.
DeliveriesOpens Webhook Deliveries: each delivery's status (PENDING, PROCESSING, SUCCESS, FAILED), event, HTTP status, created and completed times, attempts and last error.Retry appears on failed deliveries and queues them again.

Add a webhook

The Add Webhook Endpoint dialog
Add Webhook Endpoint
#ItemWhat it does
1Webhook URLThe public URL on your server that receives events. Use HTTPS.
2Events to SubscribeConversation Started, Message Received, Message Sent, Conversation Ended. Pick at least one.
3Add WebhookCreates the endpoint.

After creation, a yellow Copy this webhook secret now box shows the signing secret once. Copy it to your server, then click I saved it. If you lose it, create a new endpoint; the secret is never shown again.

How deliveries work

  • Each request is a JSON POST with the headers X-Konkui-Event, X-Konkui-Delivery-ID and X-Konkui-Signature (an HMAC-SHA256 of the raw body using your webhook secret). Verify the signature before trusting a request.
  • Reply with any 2xx status to acknowledge. Other statuses, timeouts and network errors are retried automatically, up to 3 attempts in total (after about 1 minute, then 5 minutes). After that the delivery is marked FAILED and you can Retry it by hand.
  • Delivery is at-least-once, so the same event can arrive twice. Use X-Konkui-Delivery-ID to ignore duplicates.
  • Events are sent for conversations created through the Third-party API.

Analytics

The API Analytics tab
Developers › Analytics
#ItemWhat it does
1Period7 days, 30 days or 90 days.
2MetricsTotal Calls, Success Rate (2xx responses), Avg Response and Active Endpoints.
3API Usage Over TimeCalls per day for the period.
4Top EndpointsThe most-called endpoints with call counts and average response time.