Skip to content

Your API key

Create and use an API key from the Kenalko dashboard.

1 min read

Create a key

Dashboard only (chat apps no longer expose Developer nav):

  1. https://dash.kenalko.com → Developer → API keys.
  2. New key (optional label).
  3. Copy knk_live_… once — store on your server, not in a public browser bundle.

Default scopes include messages:send. Webhooks and logs are not key scopes — configure under Developer → Webhook and Logs.

Revoke from the key card → old integrations get 401 invalid_api_key.

Use on requests

Authorization: Bearer knk_live_...
RouteOther headers
POST /v1/messages/sendContent-Type: application/json, optional Idempotency-Key
GET /v1/meBearer only
GET /v1/files/:idBearer only — raw file bytes on success
export BASE=https://api.example.com
export KEY=knk_live_...

curl -sS "$BASE/v1/me" -H "Authorization: Bearer $KEY"

curl -sS -X POST "$BASE/v1/messages/send" 
  -H "Authorization: Bearer $KEY" 
  -H "Content-Type: application/json" 
  -d '{"to": "peer_username", "message": "Hello"}'

GET /v1/me is not billable and does not require the messages:send scope.

Manage with dashboard session

Create/revoke keys, webhooks, and logs in the dashboard only (logged-in session) — not the integrator Bearer key. UI tour: Developer journey.

See also