Diska
API

Endpoints

The API Channel for integrations and the internal API reference.

The supported surface for integrations is the API Channel at https://api.diska.ai/v1, authenticated with API keys. It is versioned, documented endpoint by endpoint and covered by the GET /v1/openapi.json specification.

DomainPrefixAuthentication
API Channel/v1API key (Authorization: Bearer dsk_…)
Outbound webhooks— (Diska calls your endpoint)X-Diska-Signature HMAC signature
Realtime/api/v1/realtime + WebSocketSession or public session credential

Internal backoffice API

The rest of /api/v1 is the internal API serving the backoffice (app.diska.ai), authenticated with Better Auth sessions. It is referenced below for transparency, but it is not an integration contract: it can change without notice and does not accept API keys. If you need something that only exists here, talk to us — that is how the API Channel grows.

DomainPrefix
Organizations/api/v1/organizations
Agent Templates/api/v1/agent-templates
Agents/api/v1/agents
Flows/api/v1/agents/{agent_id}/flows
Knowledge/api/v1/knowledge-bases
Agent Knowledge/api/v1/agents/{agent_id}/knowledge-*
Actions/api/v1/actions
Integrations/api/v1/integrations
Providers/api/v1/providers
Call History/api/v1/call-sessions
Test Center/api/v1/tests
Webhooks (inbound)/api/v1/webhooks

Actions

Prefix: /api/v1/actions

MethodPathDescription
GET/capabilitiesProvider availability badges.
POST/validate-phoneValidates a phone number.
POST/validate-sipValidates a SIP URI.
GET/phone-booksLists phone books.
POST/phone-booksCreates a phone book.
GET/phone-books/{book_id}Gets a phone book.
PATCH/phone-books/{book_id}Updates a phone book.
DELETE/phone-books/{book_id}Deletes a phone book.
POST/phone-books/{book_id}/entriesAdds an entry.
PUT/phone-books/{book_id}/entriesReplaces entries.
PATCH/phone-books/{book_id}/entries/{entry_id}Updates an entry.
DELETE/phone-books/{book_id}/entries/{entry_id}Deletes an entry.
GET/call-transfersLists transfers.
POST/call-transfersCreates a transfer.
GET/call-transfers/{transfer_id}Gets a transfer.
PATCH/call-transfers/{transfer_id}Updates a transfer.
DELETE/call-transfers/{transfer_id}Deletes a transfer.
POST/call-transfers/{transfer_id}/duplicateDuplicates a transfer.
POST/call-transfers/{transfer_id}/simulateSimulates a transfer.
POST/call-transfers/{transfer_id}/executeExecutes a live transfer.
GET/ivrLists IVRs.
POST/ivrCreates an IVR.
GET/ivr/{ivr_id}Gets an IVR.
PATCH/ivr/{ivr_id}Updates an IVR.
DELETE/ivr/{ivr_id}Deletes an IVR.
POST/ivr/{ivr_id}/duplicateDuplicates an IVR.
POST/ivr/{ivr_id}/executeExecutes a DTMF IVR.
GET/information-extractorsLists extractors.
POST/information-extractorsCreates an extractor.
GET/information-extractors/{extractor_id}Gets an extractor.
PATCH/information-extractors/{extractor_id}Updates an extractor.
DELETE/information-extractors/{extractor_id}Deletes an extractor.
POST/information-extractors/{extractor_id}/duplicateDuplicates an extractor.
POST/information-extractors/{extractor_id}/simulateSimulates an extractor.
POST/information-extractors/{extractor_id}/rerunReruns an extractor.
GET/custom-evaluationsLists evaluations.
GET/custom-evaluations/export.csvExports CSV.
POST/custom-evaluationsCreates an evaluation.
GET/custom-evaluations/{evaluation_id}Gets an evaluation.
PATCH/custom-evaluations/{evaluation_id}Updates an evaluation.
DELETE/custom-evaluations/{evaluation_id}Deletes an evaluation.
POST/custom-evaluations/{evaluation_id}/duplicateDuplicates an evaluation.
POST/custom-evaluations/{evaluation_id}/simulateSimulates an evaluation.
GET/post-call-smsLists post-call SMS.
POST/post-call-smsCreates a post-call SMS.
GET/post-call-sms/{sms_id}Gets a post-call SMS.
PATCH/post-call-sms/{sms_id}Updates a post-call SMS.
DELETE/post-call-sms/{sms_id}Deletes a post-call SMS.
POST/post-call-sms/{sms_id}/duplicateDuplicates a post-call SMS.
POST/post-call-sms/{sms_id}/executeExecutes a post-call SMS.
POST/post-call-sms/{sms_id}/dry-runDry-runs a post-call SMS.
GET/during-call-smsLists during-call SMS.
POST/during-call-smsCreates a during-call SMS.
GET/during-call-sms/{sms_id}Gets a during-call SMS.
PATCH/during-call-sms/{sms_id}Updates a during-call SMS.
DELETE/during-call-sms/{sms_id}Deletes a during-call SMS.
POST/during-call-sms/{sms_id}/duplicateDuplicates a during-call SMS.
POST/during-call-sms/{sms_id}/executeExecutes a during-call SMS.
POST/during-call-sms/{sms_id}/simulateSimulates a during-call SMS.
GET/custom-actionsLists custom actions.
POST/custom-actionsCreates a custom action.
GET/custom-actions/{action_id}Gets a custom action.
PATCH/custom-actions/{action_id}Updates a custom action.
DELETE/custom-actions/{action_id}Deletes a custom action.
POST/custom-actions/{action_id}/duplicateDuplicates a custom action.
POST/custom-actions/{action_id}/initializeInitializes a custom action.
POST/custom-actions/{action_id}/executeExecutes a custom action.
POST/custom-actions/{action_id}/simulateSimulates a custom action.
GET/booking-actionsLists booking actions.
POST/booking-actionsCreates a booking action.
GET/booking-actions/{action_id}Gets a booking action.
PATCH/booking-actions/{action_id}Updates a booking action.
DELETE/booking-actions/{action_id}Deletes a booking action.
POST/booking-actions/{action_id}/duplicateDuplicates a booking action.

Agents

Prefix: /api/v1/agents

MethodPathDescription
POST/from-templateCreates an agent from a template.
POST/Creates a blank agent.
POST/importImports an agent from JSON.
GET/Lists agents.
GET/{agent_id}Gets an agent.
PATCH/{agent_id}Updates an agent.
POST/{agent_id}/duplicateDuplicates an agent.
POST/{agent_id}/archiveArchives an agent.
POST/{agent_id}/unarchiveUnarchives an agent.
GET/{agent_id}/exportExports an agent.
GET/{agent_id}/versionsLists versions.
POST/{agent_id}/versions/publishPublishes a version.
POST/{agent_id}/versions/discardDiscards a draft.
POST/{agent_id}/versions/{version}/restoreRestores a version.
POST/{agent_id}/chat/testChat test.
GET/{agent_id}/knowledge-basesAssigned KBs.
PUT/{agent_id}/knowledge-basesSets assigned KBs.
GET/{agent_id}/knowledge-runtimeKB diagnostic.
POST/{agent_id}/knowledge-retrieveRetrieval preview.

Agent Templates

Prefix: /api/v1/agent-templates

MethodPathDescription
GET/Lists templates.
GET/{template_id}Gets a template.

Flows

Prefix: /api/v1/agents/{agent_id}/flows

MethodPathDescription
GET/Lists flows.
POST/Creates a subflow.
GET/{flow_id}Gets a flow.
PATCH/{flow_id}Updates a flow.
DELETE/{flow_id}Deletes a flow.
POST/{flow_id}/duplicateDuplicates a flow.
GET/{flow_id}/validateValidates a flow.
GET/{flow_id}/compiledCompiles a flow.
POST/{flow_id}/publishPublishes a flow.
POST/publish-allPublishes all flows.
GET/{flow_id}/runtime/startStarts runtime.
POST/{flow_id}/runtime/advanceAdvances runtime.
POST/{flow_id}/runtime/simulateSimulates runtime.

Knowledge

Prefix: /api/v1/knowledge-bases

MethodPathDescription
GET/Lists KBs.
POST/Creates a KB.
GET/{id}Gets a KB.
PATCH/{id}Updates a KB.
DELETE/{id}Deletes a KB.
GET/{id}/documentsLists documents.
POST/{id}/documents/manualCreates a manual document.
PATCH/{id}/documents/{document_id}Updates a manual document.
DELETE/{id}/documents/{document_id}Deletes a document.
POST/{id}/documents/pdfUploads a PDF.
POST/{id}/documents/urlImports a URL.
POST/{id}/documents/crawlCrawls a URL.
GET/{id}/documents/{document_id}/fileDownloads a PDF.
POST/{id}/documents/{document_id}/reindexReindexes a document.
GET/{id}/sync-sourcesSync sources.

Integrations

Prefix: /api/v1/integrations

MethodPathDescription
GET/Lists integrations.
GET/calcomCal.com status.
GET/calcom/eventsLists Cal.com events.
POST/calcom/connectConnects Cal.com.
DELETE/calcomDisconnects Cal.com.

Test Center

Prefix: /api/v1/tests

MethodPathDescription
GET/scenario-presetsScenario presets.
GET/suitesLists suites.
POST/suitesCreates a suite.
GET/suites/{suite_id}Gets a suite.
PATCH/suites/{suite_id}Updates a suite.
DELETE/suites/{suite_id}Deletes a suite.
POST/suites/{suite_id}/casesCreates a case.
PATCH/suites/{suite_id}/cases/{case_id}Updates a case.
DELETE/suites/{suite_id}/cases/{case_id}Deletes a case.
POST/suites/{suite_id}/generate-casesGenerates cases with AI.
POST/suites/{suite_id}/executeExecutes a suite.
GET/runsLists runs.
GET/runs/{run_id}Gets a run.

Call History

Prefix: /api/v1/call-sessions

MethodPathDescription
GET/Lists sessions.
GET/{session_id}Gets a session.

Realtime

See Realtime.

Webhooks

See Webhooks.

Copyright © 2026