Use the Dialpad CLI from KosmoKrator to call Dialpad tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Dialpad can be configured headlessly with `kosmokrator integrations:configure dialpad`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure dialpad --set access_token="$DIALPAD_ACCESS_TOKEN" --enable --read allow --write ask --jsonkosmokrator integrations:doctor dialpad --jsonkosmokrator integrations:status --json
Credentials
Authentication type: Bearer tokenbearer_token. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
access_token
DIALPAD_ACCESS_TOKEN
Secret secret
yes
Access Token
url
DIALPAD_URL
URL url
no
Dialpad API URL
Call Dialpad Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Dialpad.
dialpad.dialpad_list_calls
Read read
List call history records from Dialpad. Returns call details including participants, duration, and direction. Supports date range filtering and pagination.
Get details of a specific call record by ID. Returns full call information including participants, duration, direction, and recording URL if available.
List SMS messages from Dialpad. Returns message details including sender, recipient, text content, and timestamps. Supports date range filtering and pagination.
Get the profile of the currently authenticated Dialpad user. Useful for verifying the connection and identifying which account the integration is using.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
dialpad.dialpad_list_calls
List call history records from Dialpad. Returns call details including participants, duration, and direction. Supports date range filtering and pagination.
Maximum number of call records to return (default: 50).
cursor
string
no
Pagination cursor — pass the cursor from a previous response to get the next page.
dialpad.dialpad_get_call
Get details of a specific call record by ID. Returns full call information including participants, duration, direction, and recording URL if available.
List SMS messages from Dialpad. Returns message details including sender, recipient, text content, and timestamps. Supports date range filtering and pagination.
Get the profile of the currently authenticated Dialpad user. Useful for verifying the connection and identifying which account the integration is using.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.