API reference
API reference
Every endpoint of https://api.kweko.uz/v1, grouped by resource. The most used resources have their own pages with fields and examples.
Resources
All endpoints
This list is generated from the API's routes. The scope column is read from the permission checks in each endpoint's code: an endpoint marked Kweko app only refuses API keys and apps (it serves the Kweko web app), and one without a scope either needs none or checks permissions in a way this list cannot read; its resource page says which. Paths link to their detailed description where there is one.
/v1/ad-spend
| Method | Path | Scope |
|---|
| GET | /v1/ad-spend/aliases | |
| PUT | /v1/ad-spend/aliases | |
| POST | /v1/ad-spend/import | |
| GET | /v1/ad-spend/imports | |
| DELETE | /v1/ad-spend/imports/{id} | |
| GET | /v1/ad-spend/months | |
| PUT | /v1/ad-spend/months | |
| GET | /v1/ad-spend/rates | |
| PUT | /v1/ad-spend/rates | |
/v1/ai
| Method | Path | Scope |
|---|
| DELETE | /v1/ai/consent | Kweko app only |
| POST | /v1/ai/consent | Kweko app only |
| POST | /v1/ai/draft | ai:use |
| POST | /v1/ai/requests/{id}/outcome | |
| GET | /v1/ai/settings | Kweko app only |
| PATCH | /v1/ai/settings | Kweko app only |
| GET | /v1/ai/summary | |
| POST | /v1/ai/summary | ai:use |
| POST | /v1/ai/translate | ai:use |
| GET | /v1/ai/usage | Kweko app only |
/v1/ai-agent
| Method | Path | Scope |
|---|
| GET | /v1/ai-agent | |
| PUT | /v1/ai-agent | |
| GET | /v1/ai-agent/conversations | messages:read |
| POST | /v1/ai-agent/sandbox | automations:manage |
/v1/ai-drafts
| Method | Path | Scope |
|---|
| GET | /v1/ai-drafts | messages:read |
| POST | /v1/ai-drafts/{id}/dismiss | messages:read |
| POST | /v1/ai-drafts/{id}/use | messages:read |
/v1/analytics
| Method | Path | Scope |
|---|
| GET | /v1/analytics/dashboards/{name} | reports:read |
| GET | /v1/analytics/digest | reports:read |
| PUT | /v1/analytics/digest | reports:read |
| GET | /v1/analytics/digest/preview | reports:read |
| GET | /v1/analytics/drill | reports:read |
| GET | /v1/analytics/leaderboard | reports:read |
| GET | /v1/analytics/metrics | |
| GET | /v1/analytics/plans | reports:read |
| PUT | /v1/analytics/plans | reports:read |
| GET | /v1/analytics/plans/chances | reports:read |
| PUT | /v1/analytics/plans/chances | reports:read |
| GET | /v1/analytics/plans/progress | reports:read |
| PUT | /v1/analytics/plans/settings | reports:read |
| POST | /v1/analytics/query | reports:read |
| POST | /v1/analytics/recompute | Kweko app only |
| GET | /v1/analytics/roi | reports:read |
| GET | /v1/analytics/score/me | reports:read |
| GET | /v1/analytics/settings | reports:read |
| PUT | /v1/analytics/settings | Kweko app only |
| GET | /v1/analytics/tabs | reports:read |
| GET | /v1/analytics/team | reports:read |
/v1/announcements
| Method | Path | Scope |
|---|
| GET | /v1/announcements | |
| POST | /v1/announcements/{id}/dismiss | |
/v1/api-keys
/v1/app
| Method | Path | Scope |
|---|
| GET | /v1/app/installation | |
| PUT | /v1/app/installation/health | |
/v1/apps
| Method | Path | Scope |
|---|
| POST | /v1/apps/actions | Kweko app only |
| POST | /v1/apps/blocks | Kweko app only |
| GET | /v1/apps/extension-points | |
| GET | /v1/apps/extensions | Kweko app only |
| POST | /v1/apps/frame-context | Kweko app only |
| GET | /v1/apps/installations | Kweko app only |
| DELETE | /v1/apps/installations/{id} | Kweko app only |
| GET | /v1/apps/installations/{id} | Kweko app only |
| POST | /v1/apps/installations/{id}/call | Kweko app only |
| PATCH | /v1/apps/installations/{id}/settings | Kweko app only |
| GET | /v1/apps/marketplace | Kweko app only |
| GET | /v1/apps/marketplace/{app} | Kweko app only |
| POST | /v1/apps/marketplace/{app}/install | Kweko app only |
| GET | /v1/apps/marketplace/categories | |
| GET | /v1/apps/scopes | |
/v1/audit-log
| Method | Path | Scope |
|---|
| GET | /v1/audit-log | Kweko app only |
/v1/automation-runs
| Method | Path | Scope |
|---|
| GET | /v1/automation-runs/{id} | |
| POST | /v1/automation-runs/{id}/replay | |
| POST | /v1/automation-runs/{id}/stop | automations:manage automations:run leads:write |
/v1/automations
| Method | Path | Scope |
|---|
| GET | /v1/automations | |
| POST | /v1/automations | |
| DELETE | /v1/automations/{id} | |
| GET | /v1/automations/{id} | |
| PATCH | /v1/automations/{id} | |
| GET | /v1/automations/{id}/ai-log | automations:manage |
| POST | /v1/automations/{id}/disable | |
| POST | /v1/automations/{id}/enable | |
| POST | /v1/automations/{id}/run | automations:run |
| GET | /v1/automations/{id}/runs | |
| POST | /v1/automations/{id}/test | automations:manage |
| POST | /v1/automations/ai/test | automations:manage |
| GET | /v1/automations/bot-presets | |
| POST | /v1/automations/dry-run | automations:manage |
| POST | /v1/automations/pause | |
| POST | /v1/automations/resume | |
| GET | /v1/automations/settings | |
| PATCH | /v1/automations/settings | |
| GET | /v1/automations/templates | |
| POST | /v1/automations/templates/{tid}/install | |
| POST | /v1/automations/validate | |
/v1/billing
| Method | Path | Scope |
|---|
| GET | /v1/billing | |
| GET | /v1/billing/addons | |
| POST | /v1/billing/addons/checkout | |
| POST | /v1/billing/cancel | |
| POST | /v1/billing/checkout | |
| POST | /v1/billing/checkout/{id}/complete | |
| GET | /v1/billing/invoices | |
| POST | /v1/billing/pay | |
| GET | /v1/billing/plans | |
| POST | /v1/billing/quote | |
| POST | /v1/billing/resume | |
/v1/booking
| Method | Path | Scope |
|---|
| GET | /v1/booking | |
| DELETE | /v1/booking/exceptions/{memberID}/{day} | |
| PUT | /v1/booking/exceptions/{memberID}/{day} | |
| POST | /v1/booking/services | |
| DELETE | /v1/booking/services/{id} | |
| PATCH | /v1/booking/services/{id} | |
| PATCH | /v1/booking/settings | |
| POST | /v1/booking/setup | |
/v1/bookings
| Method | Path | Scope |
|---|
| GET | /v1/bookings | |
| POST | /v1/bookings/{id}/status | |
| GET | /v1/bookings/by-task/{taskID} | |
/v1/broadcasts
| Method | Path | Scope |
|---|
| GET | /v1/broadcasts | Kweko app only |
| POST | /v1/broadcasts | Kweko app only |
| DELETE | /v1/broadcasts/{id} | Kweko app only |
| GET | /v1/broadcasts/{id} | Kweko app only |
| PATCH | /v1/broadcasts/{id} | Kweko app only |
| POST | /v1/broadcasts/{id}/cancel | Kweko app only |
| POST | /v1/broadcasts/{id}/pause | Kweko app only |
| POST | /v1/broadcasts/{id}/preview | Kweko app only |
| GET | /v1/broadcasts/{id}/recipients | Kweko app only |
| POST | /v1/broadcasts/{id}/resume | Kweko app only |
| POST | /v1/broadcasts/{id}/send | Kweko app only |
| POST | /v1/broadcasts/{id}/test | Kweko app only |
/v1/bulk
| Method | Path | Scope |
|---|
| POST | /v1/bulk/{entity}/preview | |
| POST | /v1/bulk/{entity}/run | |
| GET | /v1/bulk/jobs | |
| GET | /v1/bulk/jobs/{id} | |
| POST | /v1/bulk/jobs/{id}/undo | |
/v1/calendar
| Method | Path | Scope |
|---|
| GET | /v1/calendar | tasks:read |
| DELETE | /v1/calendar/feed | |
| GET | /v1/calendar/feed | |
| POST | /v1/calendar/feed/rotate | |
/v1/calls
| Method | Path | Scope |
|---|
| GET | /v1/calls | calls:write |
| GET | /v1/calls/{id} | calls:read |
| POST | /v1/calls/{id}/hangup | calls:read |
| POST | /v1/calls/{id}/outcome | calls:write |
| GET | /v1/calls/{id}/recording | calls:write |
| POST | /v1/calls/{id}/transcribe | calls:write |
| GET | /v1/calls/{id}/transcript | calls:read |
| POST | /v1/calls/originate | calls:write |
| GET | /v1/calls/transcription | Kweko app only |
| PATCH | /v1/calls/transcription | Kweko app only |
/v1/channels
| Method | Path | Scope |
|---|
| GET | /v1/channels | Kweko app only |
| POST | /v1/channels | Kweko app only |
| DELETE | /v1/channels/{id} | Kweko app only |
| GET | /v1/channels/{id} | Kweko app only |
| PATCH | /v1/channels/{id} | Kweko app only |
| POST | /v1/channels/{id}/disconnect | Kweko app only |
| POST | /v1/channels/{id}/simulate | messages:send |
| POST | /v1/channels/{id}/sync | Kweko app only |
| GET | /v1/channels/{id}/templates | Kweko app only |
| POST | /v1/channels/{id}/templates/sync | Kweko app only |
| POST | /v1/channels/{id}/test | Kweko app only |
/v1/companies
/v1/conversations
/v1/crm
| Method | Path | Scope |
|---|
| GET | /v1/crm/members | |
/v1/crm-migrations
| Method | Path | Scope |
|---|
| GET | /v1/crm-migrations | Kweko app only |
| POST | /v1/crm-migrations | Kweko app only |
| GET | /v1/crm-migrations/{id} | Kweko app only |
| PATCH | /v1/crm-migrations/{id} | Kweko app only |
| POST | /v1/crm-migrations/{id}/cancel | Kweko app only |
| POST | /v1/crm-migrations/{id}/purge | Kweko app only |
| POST | /v1/crm-migrations/{id}/resume | Kweko app only |
| POST | /v1/crm-migrations/{id}/run | Kweko app only |
/v1/distribution
| Method | Path | Scope |
|---|
| GET | /v1/distribution | |
| GET | /v1/distribution/log | |
| GET | /v1/distribution/queues | automations:manage |
| POST | /v1/distribution/queues | |
| DELETE | /v1/distribution/queues/{id} | |
| PATCH | /v1/distribution/queues/{id} | |
| PUT | /v1/distribution/queues/order | |
| PUT | /v1/distribution/schedules/{memberID} | |
/v1/documents
| Method | Path | Scope |
|---|
| GET | /v1/documents | leads:read |
| POST | /v1/documents/generate | leads:write messages:send |
| POST | /v1/documents/preview | leads:write |
| GET | /v1/documents/requisites | leads:write |
| PUT | /v1/documents/requisites | Kweko app only |
| GET | /v1/documents/templates | leads:write |
| POST | /v1/documents/templates | Kweko app only |
| DELETE | /v1/documents/templates/{id} | Kweko app only |
| GET | /v1/documents/templates/{id} | leads:write |
| PATCH | /v1/documents/templates/{id} | Kweko app only |
| GET | /v1/documents/variables | leads:write |
/v1/duplicates
| Method | Path | Scope |
|---|
| GET | /v1/duplicates | |
| POST | /v1/duplicates/check | |
| POST | /v1/duplicates/dismiss | |
| POST | /v1/duplicates/merge | |
| POST | /v1/duplicates/merges/{id}/undo | |
| GET | /v1/duplicates/preview | |
/v1/email
| Method | Path | Scope |
|---|
| GET | /v1/email/detect | Kweko app only |
| GET | /v1/email/signature | |
| PUT | /v1/email/signature | |
/v1/exports
| Method | Path | Scope |
|---|
| GET | /v1/exports | |
| POST | /v1/exports | |
| GET | /v1/exports/{id} | |
/v1/fields
/v1/files
| Method | Path | Scope |
|---|
| GET | /v1/files | messages:send notes:write tasks:write |
| POST | /v1/files | messages:send notes:write tasks:write |
| DELETE | /v1/files/{id} | |
| GET | /v1/files/{id} | |
| POST | /v1/files/{id}/restore | |
| GET | /v1/files/usage | |
| Method | Path | Scope |
|---|
| GET | /v1/forms | |
| POST | /v1/forms | |
| DELETE | /v1/forms/{id} | |
| GET | /v1/forms/{id} | |
| PATCH | /v1/forms/{id} | |
| GET | /v1/forms/{id}/submissions | |
| GET | /v1/forms/{id}/submissions/export | |
/v1/imports
| Method | Path | Scope |
|---|
| GET | /v1/imports | |
| POST | /v1/imports | |
| GET | /v1/imports/{id} | |
| POST | /v1/imports/{id}/preview | |
| POST | /v1/imports/{id}/run | |
| POST | /v1/imports/{id}/undo | |
| GET | /v1/imports/targets | |
/v1/integrations
| Method | Path | Scope |
|---|
| GET | /v1/integrations/didox/documents | leads:read |
| POST | /v1/integrations/didox/documents | leads:write |
| POST | /v1/integrations/didox/documents/{doc}/sync | leads:read |
| GET | /v1/integrations/gcal/busy | |
| POST | /v1/integrations/gcal/connect | |
| DELETE | /v1/integrations/gcal/me | |
| GET | /v1/integrations/gcal/me | |
| GET | /v1/integrations/health | Kweko app only |
| GET | /v1/integrations/health/{id}/events | Kweko app only |
| POST | /v1/integrations/health/check | Kweko app only |
| POST | /v1/integrations/meta_ads/{id}/sync | Kweko app only |
| POST | /v1/integrations/moysklad/{id}/sync | Kweko app only |
| POST | /v1/integrations/odoo/{id}/sync | Kweko app only |
| GET | /v1/integrations/stir/{stir} | companies:write |
/v1/invites
| Method | Path | Scope |
|---|
| GET | /v1/invites | Kweko app only |
| POST | /v1/invites | Kweko app only |
| DELETE | /v1/invites/{id} | Kweko app only |
/v1/leads
/v1/limits
| Method | Path | Scope |
|---|
| GET | /v1/limits | |
/v1/members
/v1/mentions
| Method | Path | Scope |
|---|
| POST | /v1/mentions/read | |
/v1/messages
/v1/my-work
| Method | Path | Scope |
|---|
| GET | /v1/my-work | |
/v1/notes
/v1/notifications
| Method | Path | Scope |
|---|
| GET | /v1/notifications | |
| POST | /v1/notifications/read | |
| DELETE | /v1/notifications/telegram | |
| GET | /v1/notifications/telegram | |
| POST | /v1/notifications/telegram/link | |
/v1/onboarding
| Method | Path | Scope |
|---|
| GET | /v1/onboarding/checklist | |
| POST | /v1/onboarding/checklist | |
| DELETE | /v1/onboarding/sample-data | Kweko app only |
| POST | /v1/onboarding/sample-data | Kweko app only |
| PUT | /v1/onboarding/tips | |
| GET | /v1/onboarding/tours | |
| PUT | /v1/onboarding/tours/{id} | |
/v1/outreach
| Method | Path | Scope |
|---|
| GET | /v1/outreach/settings | Kweko app only |
| PATCH | /v1/outreach/settings | Kweko app only |
/v1/pipelines
/v1/products
/v1/proposals
| Method | Path | Scope |
|---|
| GET | /v1/proposals | leads:read |
| POST | /v1/proposals | |
| GET | /v1/proposals/{id} | leads:read |
| PATCH | /v1/proposals/{id} | leads:read |
| POST | /v1/proposals/{id}/revoke | leads:read |
| POST | /v1/proposals/{id}/send | leads:read |
/v1/push
| Method | Path | Scope |
|---|
| GET | /v1/push/config | |
| DELETE | /v1/push/subscriptions | |
| POST | /v1/push/subscriptions | |
/v1/query
| Method | Path | Scope |
|---|
| POST | /v1/query/{entity} | |
| GET | /v1/query/{entity}/count | |
| POST | /v1/query/{entity}/count | |
| GET | /v1/query/{entity}/fields | |
| POST | /v1/query/format | |
| POST | /v1/query/leads/board | |
| POST | /v1/query/parse | |
/v1/saved-replies
| Method | Path | Scope |
|---|
| GET | /v1/saved-replies | messages:read |
| POST | /v1/saved-replies | |
| DELETE | /v1/saved-replies/{id} | |
| PATCH | /v1/saved-replies/{id} | |
| PUT | /v1/saved-replies/order | |
/v1/search
| Method | Path | Scope |
|---|
| GET | /v1/search | messages:read tasks:read |
/v1/segments
| Method | Path | Scope |
|---|
| GET | /v1/segments | |
| POST | /v1/segments | Kweko app only |
| DELETE | /v1/segments/{id} | Kweko app only |
| GET | /v1/segments/{id} | |
| PATCH | /v1/segments/{id} | Kweko app only |
| GET | /v1/segments/{id}/count | |
/v1/sequences
| Method | Path | Scope |
|---|
| POST | /v1/sequences/{id}/enroll | automations:run |
/v1/sms
| Method | Path | Scope |
|---|
| POST | /v1/sms/bulk | messages:send |
| GET | /v1/sms/estimate | |
| GET | /v1/sms/messages | leads:read messages:read |
| POST | /v1/sms/send | messages:send |
/v1/support
| Method | Path | Scope |
|---|
| POST | /v1/support/messages | Kweko app only |
| POST | /v1/support/read | Kweko app only |
| GET | /v1/support/thread | Kweko app only |
/v1/tasks
/v1/telephony
| Method | Path | Scope |
|---|
| GET | /v1/telephony/accounts/{id}/extensions | Kweko app only |
| PUT | /v1/telephony/accounts/{id}/extensions | Kweko app only |
| POST | /v1/telephony/accounts/{id}/simulate | Kweko app only |
| GET | /v1/telephony/me | calls:write |
/v1/timeline
| Method | Path | Scope |
|---|
| GET | /v1/timeline | leads:read or contacts:read or companies:read |
/v1/usage
| Method | Path | Scope |
|---|
| GET | /v1/usage | |
| POST | /v1/usage/restrictions/{id}/review | |
/v1/views
| Method | Path | Scope |
|---|
| GET | /v1/views | |
| POST | /v1/views | Kweko app only |
| DELETE | /v1/views/{id} | Kweko app only |
| PATCH | /v1/views/{id} | Kweko app only |
/v1/webhooks
| Method | Path | Scope |
|---|
| GET | /v1/widget/settings | |
| PATCH | /v1/widget/settings | |
/v1/workspace
| Method | Path | Scope |
|---|
| GET | /v1/workspace | |
| PATCH | /v1/workspace | Kweko app only |
| DELETE | /v1/workspace/deletion | |
| POST | /v1/workspace/deletion | |
| GET | /v1/workspace/security | |
| PATCH | /v1/workspace/security | Kweko app only |