communication
Dialpad CLI for Headless Automation
Use the Dialpad CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write Bearer token auth
Dialpad CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The Dialpad CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Dialpad CLI for Headless Automation
kosmokrator integrations:configure dialpad --set access_token="$DIALPAD_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call dialpad.dialpad_list_calls '{"startTime":1,"endTime":1,"limit":1,"cursor":"example_cursor"}' --json Discovery Before Execution
Agents and scripts can inspect Dialpad docs and schemas before choosing a function.
kosmo integrations:docs dialpad --json
kosmo integrations:docs dialpad.dialpad_list_calls --json
kosmo integrations:schema dialpad.dialpad_list_calls --json
kosmo integrations:search "Dialpad" --json
kosmo integrations:list --json Useful Dialpad CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
dialpad.dialpad_list_calls | Read | startTime, endTime, limit, cursor | List call history records from Dialpad. Returns call details including participants, duration, and direction. Supports date range filtering and pagination. |
dialpad.dialpad_get_call | Read | id | Get details of a specific call record by ID. Returns full call information including participants, duration, direction, and recording URL if available. |
dialpad.dialpad_list_sms | Read | startTime, endTime, limit, cursor | List SMS messages from Dialpad. Returns message details including sender, recipient, text content, and timestamps. Supports date range filtering and pagination. |
dialpad.dialpad_send_sms | Write | to, from, text | Send an SMS message via Dialpad. Specify the recipient number, sender number (or department ID), and message text. |
dialpad.dialpad_list_users | Read | limit, cursor | List users in the Dialpad organization. Returns user details including name, email, phone numbers, and department. Supports pagination. |
dialpad.dialpad_get_user | Read | id | Get details of a specific Dialpad user by ID. Returns user profile including name, email, phone numbers, department, and status. |
dialpad.dialpad_get_current_user | Read | none | Get the profile of the currently authenticated Dialpad user. Useful for verifying the connection and identifying which account the integration is using. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.