Dialpad

Usage Instructions

Integrate Dialpad business phone and contact center into the workflow. Ring a rep and dial a lead, hang up calls, send SMS, look up calls with their recordings, transcripts, and Ai Recap, manage contacts, and find users. Can also run workflows on Dialpad call, SMS, and contact events. Requires a Dialpad API key.

Actions

Dialpad Initiate Call

Start an outbound call from a Dialpad user: Dialpad rings the user's devices (or one chosen device) and, once they answer, dials the phone number. Limited to 5 calls per minute per user.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
userIdstringYesID of the Dialpad user who makes the call (from List Users)
phoneNumberstringYesNumber to call, in E.164 format (e.g. +14155551234)
outboundCallerIdstringNoNumber shown to the recipient, in E.164 format: the user’s number, the group’s number, or a company number. Use "blocked" to hide it.
deviceIdstringNoRing only this device instead of all of the user’s devices
groupIdstringNoID of an office, department, or call center to place the call through
groupTypestringNoType of the group: callcenter, department, or office
customDatastringNoYour own reference (e.g. a lead ID), passed through to the call events for this call
isConsultbooleanNoPut the user’s ongoing call on hold and start this as a second call

Output

ParameterTypeDescription
callIdstringID of the new call

Dialpad Get Call

Get the details of a Dialpad call by ID: state, direction, numbers, target user, contact, timings, duration, and recording and voicemail links. Limited to 10 requests per minute.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
callIdstringYesDialpad call ID

Output

ParameterTypeDescription
callIdstringDialpad call ID
statestringCall state, e.g. hangup
directionstringinbound or outbound
externalNumberstringNumber of the party outside Dialpad, in E.164 format
internalNumberstringDialpad number used on the call, in E.164 format
targetobjectThe Dialpad user, office, or call center that took or placed the call
↳ idstringID
↳ typestringType, e.g. user, office, or callcenter
↳ namestringName
↳ emailstringEmail address
↳ phonestringPhone number in E.164 format
contactobjectThe external party (contact) on the call
↳ idstringID
↳ typestringType, e.g. user, office, or callcenter
↳ namestringName
↳ emailstringEmail address
↳ phonestringPhone number in E.164 format
dateRangnumberWhen the call rang (epoch ms)
dateStartednumberWhen the call started (epoch ms)
dateConnectednumberWhen the call connected (epoch ms)
dateEndednumberWhen the call ended (epoch ms)
durationnumberTalk time in milliseconds, from connect to end
totalDurationnumberTotal call time in milliseconds, including ringing and queueing
wasRecordedbooleanWhether the call was recorded
recordingUrlsarrayURLs of the call recordings
recordingDetailsarrayRecording details
↳ idstringRecording ID
↳ urlstringRecording URL
↳ recordingTypestringcallrecording, admincallrecording, or voicemail
↳ durationnumberDuration in milliseconds
↳ startTimenumberStart time (epoch ms)
callRecordingShareLinksarrayShareable links to the call recordings
transcriptionTextstringVoicemail transcription text
voicemailLinkstringVoicemail recording URL
voicemailShareLinkstringShareable voicemail link
customDatastringCustom data passed when the call was initiated
groupIdstringGroup the call went through, as "{type}:{id}", e.g. "Office:124"
isTransferredbooleanWhether the call was transferred
masterCallIdstringID of the master call
entryPointCallIdstringID of the call at the entry point (e.g. the office or call center line)
labelsarrayLabels on the call
csatScorestringCSAT score from the post-call survey
mosScorenumberMean opinion score (call quality)

Dialpad List Calls

List concluded Dialpad calls, newest first, optionally filtered by start time and by the user, office, department, or call center that handled them.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
startedAfterstringNoOnly calls started after this time: ISO 8601 date or epoch milliseconds (UTC)
startedBeforestringNoOnly calls started before this time: ISO 8601 date or epoch milliseconds (UTC)
targetIdstringNoOnly calls handled by this target ID. Requires Target Type.
targetTypestringNoType of the target: user, office, department, callcenter, callrouter, channel, coachinggroup, coachingteam, room, staffgroup, or unknown
includeAnonymizedbooleanNoInclude anonymized calls
cursorstringNoCursor from a previous response, to fetch the next page

Output

ParameterTypeDescription
cursorstringPass as Cursor to fetch the next page. Empty on the last page.
callsarrayConcluded calls, newest first
↳ callIdstringDialpad call ID
↳ statestringCall state, e.g. hangup
↳ directionstringinbound or outbound
↳ externalNumberstringNumber of the party outside Dialpad, in E.164 format
↳ internalNumberstringDialpad number used on the call, in E.164 format
↳ targetobjectThe Dialpad user, office, or call center that took or placed the call
↳ idstringID
↳ typestringType, e.g. user, office, or callcenter
↳ namestringName
↳ emailstringEmail address
↳ phonestringPhone number in E.164 format
↳ contactobjectThe external party (contact) on the call
↳ idstringID
↳ typestringType, e.g. user, office, or callcenter
↳ namestringName
↳ emailstringEmail address
↳ phonestringPhone number in E.164 format
↳ dateRangnumberWhen the call rang (epoch ms)
↳ dateStartednumberWhen the call started (epoch ms)
↳ dateConnectednumberWhen the call connected (epoch ms)
↳ dateEndednumberWhen the call ended (epoch ms)
↳ durationnumberTalk time in milliseconds, from connect to end
↳ totalDurationnumberTotal call time in milliseconds, including ringing and queueing
↳ wasRecordedbooleanWhether the call was recorded
↳ recordingUrlsarrayURLs of the call recordings
↳ recordingDetailsarrayRecording details
↳ idstringRecording ID
↳ urlstringRecording URL
↳ recordingTypestringcallrecording, admincallrecording, or voicemail
↳ durationnumberDuration in milliseconds
↳ startTimenumberStart time (epoch ms)
↳ callRecordingShareLinksarrayShareable links to the call recordings
↳ transcriptionTextstringVoicemail transcription text
↳ voicemailLinkstringVoicemail recording URL
↳ voicemailShareLinkstringShareable voicemail link
↳ customDatastringCustom data passed when the call was initiated
↳ groupIdstringGroup the call went through, as "{type}:{id}", e.g. "Office:124"
↳ isTransferredbooleanWhether the call was transferred
↳ masterCallIdstringID of the master call
↳ entryPointCallIdstringID of the call at the entry point (e.g. the office or call center line)
↳ labelsarrayLabels on the call
↳ csatScorestringCSAT score from the post-call survey
↳ mosScorenumberMean opinion score (call quality)

Dialpad Hang Up Call

Hang up an active Dialpad call by ID.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
callIdstringYesID of the call to hang up

Output

ParameterTypeDescription
callIdstringID of the call that was hung up
hungUpbooleanTrue when Dialpad accepted the hang-up

Dialpad Send SMS

Send an SMS from a Dialpad user, office, department, or call center number to up to 10 phone numbers, or post it to a Dialpad channel.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
toNumbersstringNoRecipient numbers in E.164 format, comma-separated (up to 10). Required unless Channel Hashtag is set.
textstringYesMessage text
userIdstringNoID of the Dialpad user to send as. Required with a company-level API key unless From Number or a sender group is set.
fromNumberstringNoDialpad number to send from, in E.164 format. Overrides the user and sender group.
senderGroupIdstringNoID of the office, department, or call center to send as
senderGroupTypestringNoType of the sender group: callcenter, department, or office
channelHashtagstringNoDialpad channel to post to instead of phone numbers, e.g. "#sales"
inferCountryCodebooleanNoRead numbers without a country code as being in the sender’s country

Output

ParameterTypeDescription
smsIdstringDialpad SMS ID
textstringMessage text
fromNumberstringSender number
toNumbersarrayRecipient numbers
directionstringinbound or outbound
messageStatusstringSend status: pending, success, or failed
messageDeliveryResultstringDelivery result, e.g. accepted, rejected, or invalid_destination
contactIdstringID of the recipient contact
userIdstringID of the sending user
targetIdstringID of the sending target
targetTypestringType of the sending target
deviceTypestringDevice the message was sent from
createdDatestringWhen the message was created

Dialpad Create Contact

Create a Dialpad contact. Without an owner it is a shared company contact; with an owner user ID it is a local contact for that user.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
firstNamestringYesFirst name
lastNamestringYesLast name
phonesstringNoPhone numbers in E.164 format, comma-separated (e.g. "+14155551234,+14155555678"). The first is the primary number.
emailsstringNoEmail addresses, comma-separated. The first is the primary email.
companyNamestringNoCompany name
jobTitlestringNoJob title
extensionstringNoExtension
urlsstringNoWebsites, comma-separated
ownerIdstringNoID of the user to create a local contact for. Leave empty for a shared contact.

Output

ParameterTypeDescription
idstringDialpad contact ID
typestringshared, local, or lead
firstNamestringFirst name
lastNamestringLast name
displayNamestringDisplay name
companyNamestringCompany name
jobTitlestringJob title
extensionstringExtension
phonesarrayPhone numbers in E.164 format
primaryPhonestringPrimary phone number
emailsarrayEmail addresses
primaryEmailstringPrimary email address
urlsarrayWebsites
ownerIdstringID of the user who owns a local contact

Dialpad Update Contact

Update a Dialpad contact. Only the fields you fill in change; list fields such as phones replace the existing list.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
contactIdstringYesDialpad contact ID
firstNamestringNoFirst name
lastNamestringNoLast name
phonesstringNoPhone numbers in E.164 format, comma-separated (e.g. "+14155551234,+14155555678"). The first is the primary number.
emailsstringNoEmail addresses, comma-separated. The first is the primary email.
companyNamestringNoCompany name
jobTitlestringNoJob title
extensionstringNoExtension
urlsstringNoWebsites, comma-separated

Output

ParameterTypeDescription
idstringDialpad contact ID
typestringshared, local, or lead
firstNamestringFirst name
lastNamestringLast name
displayNamestringDisplay name
companyNamestringCompany name
jobTitlestringJob title
extensionstringExtension
phonesarrayPhone numbers in E.164 format
primaryPhonestringPrimary phone number
emailsarrayEmail addresses
primaryEmailstringPrimary email address
urlsarrayWebsites
ownerIdstringID of the user who owns a local contact

Dialpad Get Contact

Get a Dialpad shared or local contact by ID.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
contactIdstringYesDialpad contact ID

Output

ParameterTypeDescription
idstringDialpad contact ID
typestringshared, local, or lead
firstNamestringFirst name
lastNamestringLast name
displayNamestringDisplay name
companyNamestringCompany name
jobTitlestringJob title
extensionstringExtension
phonesarrayPhone numbers in E.164 format
primaryPhonestringPrimary phone number
emailsarrayEmail addresses
primaryEmailstringPrimary email address
urlsarrayWebsites
ownerIdstringID of the user who owns a local contact

Dialpad List Contacts

List Dialpad shared contacts, optionally searched by name, including local contacts or only those owned by one user.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
namestringNoSearch contacts by name
ownerIdstringNoOnly contacts owned by this user ID
includeLocalbooleanNoAlso include users’ local contacts (default false)
cursorstringNoCursor from a previous response, to fetch the next page

Output

ParameterTypeDescription
cursorstringPass as Cursor to fetch the next page. Empty on the last page.
contactsarrayContacts on this page
↳ idstringDialpad contact ID
↳ typestringshared, local, or lead
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ displayNamestringDisplay name
↳ companyNamestringCompany name
↳ jobTitlestringJob title
↳ extensionstringExtension
↳ phonesarrayPhone numbers in E.164 format
↳ primaryPhonestringPrimary phone number
↳ emailsarrayEmail addresses
↳ primaryEmailstringPrimary email address
↳ urlsarrayWebsites
↳ ownerIdstringID of the user who owns a local contact

Dialpad List Users

List Dialpad users, or find one by email, phone number, or name prefix. Use it to get the user ID needed to place calls and send SMS.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
emailstringNoFind the user with this email. Cannot be combined with name filters.
numberstringNoFind the user with this Dialpad number, in E.164 format. Cannot be combined with name filters.
firstNamestringNoFilter by first-name prefix (e.g. "jo" matches John and Jose)
lastNamestringNoFilter by last-name prefix
statestringNoUser state: active, all, cancelled, deleted, pending, or suspended
companyAdminbooleanNotrue for only company admins, false for only non-admins
cursorstringNoCursor from a previous response, to fetch the next page

Output

ParameterTypeDescription
cursorstringPass as Cursor to fetch the next page. Empty on the last page.
usersarrayUsers on this page
↳ idstringDialpad user ID
↳ firstNamestringFirst name
↳ lastNamestringLast name
↳ displayNamestringDisplay name
↳ emailsarrayEmail addresses
↳ phoneNumbersarrayDialpad numbers assigned to the user
↳ extensionstringExtension
↳ jobTitlestringJob title
↳ statestringactive, cancelled, deleted, pending, or suspended
↳ isAdminbooleanWhether the user is an admin
↳ isOnlinebooleanWhether the user is online
↳ isAvailablebooleanWhether the user is available
↳ onDutyStatusstringContact center status, e.g. available, busy, or wrapup
↳ doNotDisturbbooleanWhether Do Not Disturb is on
↳ officeIdstringID of the user’s office
↳ companyIdstringID of the company
↳ timezonestringTimezone
↳ languagestringLanguage
↳ licensestringLicense type

Dialpad Get User

Get a Dialpad user by ID, including their numbers, availability, and contact center status. Use "me" with a user-level API key for its owner.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
userIdstringYesDialpad user ID, or "me" for the owner of a user-level API key

Output

ParameterTypeDescription
idstringDialpad user ID
firstNamestringFirst name
lastNamestringLast name
displayNamestringDisplay name
emailsarrayEmail addresses
phoneNumbersarrayDialpad numbers assigned to the user
extensionstringExtension
jobTitlestringJob title
statestringactive, cancelled, deleted, pending, or suspended
isAdminbooleanWhether the user is an admin
isOnlinebooleanWhether the user is online
isAvailablebooleanWhether the user is available
onDutyStatusstringContact center status, e.g. available, busy, or wrapup
doNotDisturbbooleanWhether Do Not Disturb is on
officeIdstringID of the user’s office
companyIdstringID of the company
timezonestringTimezone
languagestringLanguage
licensestringLicense type

Dialpad Get Call Transcript

Get the transcript of a Dialpad call: each spoken line with the speaker and time, plus AI moments. Also returns the spoken lines joined as plain text.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
callIdstringYesDialpad call ID

Output

ParameterTypeDescription
callIdstringDialpad call ID
linesarrayTranscript lines and AI moments in order
↳ typestringtranscript, moment, real_time_moment, custom_moment, or ai_question
↳ namestringSpeaker name
↳ contentstringWhat was said
↳ timestringWhen it was said
↳ userIdstringSpeaker’s Dialpad user ID
↳ contactIdstringSpeaker’s contact ID
textstringSpoken lines as plain text, one "Speaker: line" per row

Dialpad Get AI Recap

Get the Dialpad Ai Recap of a call: summary, action items, call purposes, and disposition. Requires Ai Recaps on the Dialpad plan. Limited to 12 requests per minute.

Input

ParameterTypeRequiredDescription
apiKeystringYesDialpad API key, sent as a Bearer token. Company admins create keys under Admin Settings > My Company > Authentication > API Keys.
environmentstringNoDialpad environment the API key belongs to: "production" (dialpad.com, default) or "sandbox" (sandbox.dialpad.com)
callIdstringYesDialpad call ID
summaryFormatstringNoSummary format: bullet, short, medium, or long

Output

ParameterTypeDescription
callIdstringDialpad call ID
summarystringRecap summary text
actionItemsarrayAction items from the call
purposesarrayWhy the call happened
dispositionstringCall outcome (disposition)
isInternalCallbooleanWhether both parties were inside the company
sourcestringLanguage model that wrote the recap
dateCreatednumberWhen the recap was created (epoch ms)
dateModifiednumberWhen the recap was last changed (epoch ms)