KosmoKrator

communication

Dialpad CLI for AI Agents

Use the Dialpad CLI from KosmoKrator to call Dialpad tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 6 read 1 write Bearer token auth

Dialpad CLI Setup

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 --json
kosmokrator integrations:doctor dialpad --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
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.

kosmo integrations:call dialpad.dialpad_list_calls '{
  "startTime": 1,
  "endTime": 1,
  "limit": 1,
  "cursor": "example_cursor"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:dialpad dialpad_list_calls '{
  "startTime": 1,
  "endTime": 1,
  "limit": 1,
  "cursor": "example_cursor"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities 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

All CLI Functions

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.

Parameters
startTime, endTime, limit, cursor

Generic CLI call

kosmo integrations:call dialpad.dialpad_list_calls '{"startTime":1,"endTime":1,"limit":1,"cursor":"example_cursor"}' --json

Provider shortcut

kosmo integrations:dialpad dialpad_list_calls '{"startTime":1,"endTime":1,"limit":1,"cursor":"example_cursor"}' --json

dialpad.dialpad_get_call

Read read

Get details of a specific call record by ID. Returns full call information including participants, duration, direction, and recording URL if available.

Parameters
id

Generic CLI call

kosmo integrations:call dialpad.dialpad_get_call '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:dialpad dialpad_get_call '{"id":"example_id"}' --json

dialpad.dialpad_list_sms

Read read

List SMS messages from Dialpad. Returns message details including sender, recipient, text content, and timestamps. Supports date range filtering and pagination.

Parameters
startTime, endTime, limit, cursor

Generic CLI call

kosmo integrations:call dialpad.dialpad_list_sms '{"startTime":1,"endTime":1,"limit":1,"cursor":"example_cursor"}' --json

Provider shortcut

kosmo integrations:dialpad dialpad_list_sms '{"startTime":1,"endTime":1,"limit":1,"cursor":"example_cursor"}' --json

dialpad.dialpad_send_sms

Write write

Send an SMS message via Dialpad. Specify the recipient number, sender number (or department ID), and message text.

Parameters
to, from, text

Generic CLI call

kosmo integrations:call dialpad.dialpad_send_sms '{"to":"example_to","from":"example_from","text":"example_text"}' --json

Provider shortcut

kosmo integrations:dialpad dialpad_send_sms '{"to":"example_to","from":"example_from","text":"example_text"}' --json

dialpad.dialpad_list_users

Read read

List users in the Dialpad organization. Returns user details including name, email, phone numbers, and department. Supports pagination.

Parameters
limit, cursor

Generic CLI call

kosmo integrations:call dialpad.dialpad_list_users '{"limit":1,"cursor":"example_cursor"}' --json

Provider shortcut

kosmo integrations:dialpad dialpad_list_users '{"limit":1,"cursor":"example_cursor"}' --json

dialpad.dialpad_get_user

Read read

Get details of a specific Dialpad user by ID. Returns user profile including name, email, phone numbers, department, and status.

Parameters
id

Generic CLI call

kosmo integrations:call dialpad.dialpad_get_user '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:dialpad dialpad_get_user '{"id":"example_id"}' --json

dialpad.dialpad_get_current_user

Read read

Get the profile of the currently authenticated Dialpad user. Useful for verifying the connection and identifying which account the integration is using.

Parameters
none

Generic CLI call

kosmo integrations:call dialpad.dialpad_get_current_user '{}' --json

Provider shortcut

kosmo integrations:dialpad dialpad_get_current_user '{}' --json

Function Schemas

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.

Operation
Read read
Schema command
kosmo integrations:schema dialpad.dialpad_list_calls --json
ParameterTypeRequiredDescription
startTime integer no Unix timestamp for the start of the date range.
endTime integer no Unix timestamp for the end of the date range.
limit integer no 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.

Operation
Read read
Schema command
kosmo integrations:schema dialpad.dialpad_get_call --json
ParameterTypeRequiredDescription
id string yes The call history record ID.

dialpad.dialpad_list_sms

List SMS messages from Dialpad. Returns message details including sender, recipient, text content, and timestamps. Supports date range filtering and pagination.

Operation
Read read
Schema command
kosmo integrations:schema dialpad.dialpad_list_sms --json
ParameterTypeRequiredDescription
startTime integer no Unix timestamp for the start of the date range.
endTime integer no Unix timestamp for the end of the date range.
limit integer no Maximum number of SMS messages to return (default: 50).
cursor string no Pagination cursor — pass the cursor from a previous response to get the next page.

dialpad.dialpad_send_sms

Send an SMS message via Dialpad. Specify the recipient number, sender number (or department ID), and message text.

Operation
Write write
Schema command
kosmo integrations:schema dialpad.dialpad_send_sms --json
ParameterTypeRequiredDescription
to string yes The recipient phone number in E.164 format (e.g., "+14155551234").
from string yes The sender phone number or department ID in E.164 format (e.g., "+14155559876").
text string yes The SMS message body.

dialpad.dialpad_list_users

List users in the Dialpad organization. Returns user details including name, email, phone numbers, and department. Supports pagination.

Operation
Read read
Schema command
kosmo integrations:schema dialpad.dialpad_list_users --json
ParameterTypeRequiredDescription
limit integer no Maximum number of users to return (default: 50).
cursor string no Pagination cursor — pass the cursor from a previous response to get the next page.

dialpad.dialpad_get_user

Get details of a specific Dialpad user by ID. Returns user profile including name, email, phone numbers, department, and status.

Operation
Read read
Schema command
kosmo integrations:schema dialpad.dialpad_get_user --json
ParameterTypeRequiredDescription
id string yes The Dialpad user ID.

dialpad.dialpad_get_current_user

Get the profile of the currently authenticated Dialpad user. Useful for verifying the connection and identifying which account the integration is using.

Operation
Read read
Schema command
kosmo integrations:schema dialpad.dialpad_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

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.