JustCall

Usage Instructions

Integrate the JustCall cloud phone and SMS dialer into the workflow. List and review calls, set call notes and dispositions, read JustCall AI summaries, send and read SMS, create, update, and search contacts, and list users and phone numbers. Can also run workflows on JustCall call, SMS, and contact events. Requires a JustCall API key and secret (Team plan or higher).

Actions

JustCall List Calls

List JustCall calls, filtered by agent, direction, outcome, traits, disposition, contact number, JustCall number, or a date range.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
agentIdstringNoOnly calls of this agent (user) ID
callDirectionstringNoIncoming or Outgoing
callTypestringNoCall outcome: OUTGOING_ANSWERED, OUTGOING_UNANSWERED, OUTGOING_BUSY, OUTGOING_FAILED, OUTGOING_RESTRICTED, OUTGOING_BLOCKED, OUTGOING_CANCELLED, INCOMING_ANSWERED, INCOMING_BUSY, INCOMING_FAILED, INCOMING_MISSED, INCOMING_ABANDONED, INCOMING_VOICEMAIL
callTraitsstringNoComma-separated traits: QUEUE, CALLBACK, FORWARD, TRANSFER, MERGE, IVR, VOICE_AGENT
dispositionCodesstringNoComma-separated disposition codes in "List: Code" form, e.g. "Sales: Lead"
contactNumberstringNoContact number with country code
justcallNumberstringNoJustCall number the calls went through
fromDatetimestringNoStart, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss in the user's timezone
toDatetimestringNoEnd, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss in the user's timezone
fetchAiDatabooleanNoInclude JustCall AI coaching data
fetchQueueDatabooleanNoInclude queue callback data
sortstringNoSort by "id" (default) or "datetime"
orderstringNo"desc" (default) or "asc"
pagenumberNoPage number
perPagenumberNoCalls per page, 1 to 100 (default 20)
lastCallIdFetchedstringNoID of the last call of the previous page, to avoid duplicates

Output

ParameterTypeDescription
callsarrayCalls in this page

JustCall Get Call

Get a JustCall call by ID or call SID: direction, outcome, duration, contact, agent, recording, notes, and disposition.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
callIdstringYesJustCall call ID (numeric) or call SID
fetchAiDatabooleanNoInclude JustCall AI coaching data
fetchQueueDatabooleanNoInclude queue callback data

Output

ParameterTypeDescription
callobjectThe call

JustCall Update Call

Set the notes, disposition, or rating of a completed JustCall call. New notes replace the existing notes.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
callIdstringYesJustCall call ID (numeric) or call SID
notesstringNoCall notes. Replaces any existing notes.
dispositionCodestringNoExisting disposition code in "List: Code" form, e.g. "Sales: Follow Up" for the Follow Up code of the Sales list
ratingnumberNoRating from 0 to 5 in steps of 0.5

Output

ParameterTypeDescription
callobjectThe updated call

JustCall Get Call AI Insights

Get the JustCall AI analysis of a call: summary, action items, customer sentiment, call score, smart chapters, and optionally the transcript. Requires JustCall AI.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
callIdstringYesNumeric JustCall call ID
platformstringNo"justcall" (default) or "sales_dialer"
fetchTranscriptionbooleanNoInclude the transcript (off by default)
fetchSummarybooleanNoInclude the summary (on by default)
fetchActionItemsbooleanNoInclude action items (on by default)
fetchAiInsightsbooleanNoInclude coaching insights (on by default)
fetchSmartChaptersbooleanNoInclude smart chapters (on by default)

Output

ParameterTypeDescription
insightsobjectJustCall AI analysis of the call

JustCall Send SMS

Send an SMS or MMS from a JustCall number to a contact, now or at a scheduled time.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
justcallNumberstringYesJustCall number to send from, in E.164 format (e.g. +14155550100)
contactNumberstringYesRecipient number in E.164 format
bodystringYesMessage text, up to 1600 characters
mediaUrlstringNoComma-separated public media URLs to send as MMS (up to 10)
restrictOncebooleanNoSkip the send if this recipient already got an SMS in the last 24 hours
scheduleAtstringNoSend later, as YYYY-MM-DD HH:mm:ss

Output

ParameterTypeDescription
smsobjectThe sent message

JustCall List SMS

List JustCall SMS messages, filtered by contact number, JustCall number, direction, content, or a date range.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
contactNumberstringNoContact number in E.164 format
justcallNumberstringNoJustCall number in E.164 format
smsDirectionstringNoincoming or outgoing
smsContentstringNoKeywords the message text contains
fromDatetimestringNoStart, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss in the user's timezone
toDatetimestringNoEnd, as yyyy-mm-dd or yyyy-mm-dd hh:mm:ss in the user's timezone
sortstringNoSort by "id" (default) or "datetime"
orderstringNo"asc" or "desc"
pagenumberNoPage number
perPagenumberNoMessages per page, 1 to 100 (default 20)
lastSmsIdFetchedstringNoID of the last message of the previous page, to avoid duplicates

Output

ParameterTypeDescription
messagesarrayMessages in this page

JustCall Get SMS

Get a JustCall SMS by ID: text, direction, contact, agent, and delivery status.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
smsIdstringYesJustCall SMS ID

Output

ParameterTypeDescription
smsobjectThe message

JustCall Create Contact

Add a contact to JustCall with a name, phone number, and optional email, company, address, notes, and other numbers.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
firstNamestringYesFirst name
contactNumberstringYesPrimary phone number with country code
lastNamestringNoLast name
emailstringNoEmail address
companystringNoCompany
addressstringNoAddress
extensionnumberNoExtension to assign to the contact
otherNumbersstringNoOther phone numbers: comma-separated (labeled Mobile), or a JSON array of {"label", "number"} objects
acrossTeambooleanNoApply to the contact of every agent instead of only the account owner
notesstringNoNotes about the contact
agentIdstringNoCreate the contact only for this agent ID

Output

ParameterTypeDescription
contactobjectThe created contact

JustCall Update Contact

Update a JustCall contact found by ID or phone number: name, email, company, address, notes, and other numbers. With an ID, a phone number replaces the contact's primary number.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
contactIdstringNoJustCall contact ID. Leave empty to find the contact by phone number.
contactNumberstringNoPhone number. Without a contact ID it finds the contact; with one it becomes the new primary number.
firstNamestringNoFirst name
lastNamestringNoLast name
emailstringNoEmail address
companystringNoCompany
addressstringNoAddress
extensionnumberNoExtension to assign to the contact
otherNumbersstringNoOther phone numbers: comma-separated (labeled Mobile), or a JSON array of {"label", "number"} objects
acrossTeambooleanNoApply to the contact of every agent instead of only the account owner
notesstringNoA note to add, or a JSON array of notes

Output

ParameterTypeDescription
contactobjectThe updated contact

JustCall Get Contact

Get a JustCall contact by ID: name, numbers, email, company, notes, and DND/DNM/blacklist status.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
contactIdstringYesJustCall contact ID

Output

ParameterTypeDescription
contactobjectThe contact

JustCall List Contacts

List or search JustCall contacts by phone number, first or last name, DND/DNM/blacklist status, or agent.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
contactNumberstringNoPhone number to search for
firstNamestringNoFirst name to search for
lastNamestringNoLast name to search for
contactStatusstringNoComma-separated statuses: blacklist, dnd, dnm
acrossTeambooleanNoInclude the contacts of every agent
agentIdsstringNoComma-separated agent IDs whose contacts to list
orderstringNoOrder by contact ID: "asc" or "desc"
pagenumberNoPage number, starting at 0
perPagenumberNoContacts per page, 1 to 500 (default 50)
lastContactIdFetchedstringNoID of the last contact of the previous page, to avoid duplicates

Output

ParameterTypeDescription
contactsarrayContacts in this page

JustCall List Users

List JustCall users (agents) with their availability, on-call state, role, and numbers. Filter by email, role, group, or availability.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
availablebooleanNoOnly users available per their working hours
emailstringNoEmail of the user
groupIdstringNoUser group ID
rolestringNoRole assigned in JustCall
orderstringNoOrder by agent ID: "desc" (default) or "asc"
pagenumberNoPage number, starting at 0
perPagenumberNoUsers per page, 1 to 100 (default 50)

Output

ParameterTypeDescription
usersarrayUsers in this page

JustCall List Phone Numbers

List the phone numbers in a JustCall account with their line name, type, capabilities, owner, and business hours setting.

Input

ParameterTypeRequiredDescription
apiKeystringYesJustCall API key, from Profile > APIs and Webhooks
apiSecretstringYesJustCall API secret, from Profile > APIs and Webhooks
capabilitiesstringNoOnly numbers capable of call, sms, or mms
numberTypestringNolocal, mobile, or toll_free
availabilitySettingstringNoAlways Open, Always Closed, or Custom Hours
justcallLineNamestringNoLine name to search for
numberOwnerIdstringNoAgent ID that owns the numbers
sharedAgentIdstringNoAgent ID the numbers are shared with
sharedGroupIdstringNoUser group ID the numbers are shared with
orderstringNo"ASC" or "DESC"
pagenumberNoPage number
perPagenumberNoNumbers per page, 1 to 100 (default 30)

Output

ParameterTypeDescription
phoneNumbersarrayPhone numbers in this page

Triggers

A Trigger is a block that starts a workflow when an event happens in this service.

JustCall Webhook

Trigger a workflow on JustCall calls (completed, answered, missed, voicemail), SMS sent or received, and contact status changes.