Web Service Integration

Web Service Integration lets CCaaS send call and chat data to an external web service when a defined event occurs.

Web Service Integration enables CCaaS to push data to an external web service when a defined call or chat event occurs. On the configured event, the system sends an HTTP request to the target URL, optionally including call data as URL parameters, form parameters, or a custom request body.


Accessing Web Service Integration

Web Service Integration is accessible to accounts with Supervisor or Admin permissions.

  1. Navigate to API Enablement > Web Service Integration
  2. All configured Web Service Integration Profiles are listed in the management panel

Creating a Web Service Integration Profile

  1. Click Show List View to show the list of profiles
  2. Click Add to create a new profile
  3. Configure the profile fields (see below)
  4. Use the Test Web Service option to verify the request is generated correctly and handled by the target web service
  5. Click Save
📘

The target web service and its business logic (authenticating the request, processing the payload) are built and maintained outside of CCaaS. Research the target CRM or web service ahead of time to determine the required URL and data.


Profile Configuration

FieldDescription
Profile NameA name to identify the Web Service Integration Profile.
Target URLThe base URL of the request; the system sends a request to this URL when a call meets the configured criteria.
Triggering Call CriteriaThe conditions a call must meet to trigger a request. If no criteria are configured, every call triggers a request.
HTTP MethodThe HTTP method used for the request.
URL ParametersOptional parameters appended to the Target URL as query string values, populated with call data or a static string — see Available Parameters below.
HTTP HeadersOptional custom headers included with the request.
Form ParametersOptional parameters included in the request body rather than the URL, populated the same way as URL Parameters.
Custom Request BodyDefines a custom content type and payload for the request.
Triggering EventThe point in the call lifecycle when the request is sent — see Triggering Event below.

Available Parameters

URL Parameters and Form Parameters can be populated with a static string or one of the following call data values:

VariableResolved Value
Empty ValueAn empty string.
Account CodesA comma-delimited list of account codes (e.g., Opp Won, Large Sale, Processed in CRM).
AgentThe agent associated with the last event on the call, including name and extension (e.g., John Doe (154)).
Agent ExtensionThe agent's extension only (e.g., 154).
Agent NameThe agent's name only (e.g., John Doe).
Audio Recording LinkA URL linking to the audio recording of the call.
Call DirectionThe direction of the call: Internal, Inbound, Outbound, or Intersite.
Caller NameThe caller ID name.
DNISThe DNIS associated with the last event on the call.
External NumberThe number of the other party associated with the last event on the call.
Group/SkillThe group or skill associated with the last event on the call.
LocationOn an inbound call, the location of the calling party's number. On an outbound call, the location of the dialed party's number.
Media IDThe long-form UUID of the call, message thread, or email.
Report Media IDThe short-form ID used in Cradle to Grave and Reports in place of the UUID — useful for comparing API data against a report.
TimeThe start time of the call, in milliseconds since January 1, 1970, 00:00:00 GMT.
TagA comma-delimited list of tags associated with the call's events.
TranscriptThe full transcript of the call.
Transcript SummariesAn AI-generated summary of the full transcript.
Transcript TopicsThe topics detected from the transcript.
📘

Older profiles may reference Call ID or Report Call ID — legacy equivalents of Media ID and Report Media ID respectively.

Triggering Event

EventBehavior
Call is PresentingTriggers when the call is ringing the agent, before being answered.
Call is ConnectedTriggers when the agent answers the call. Recommended over Call is Presenting for most use cases.
Call is CompleteTriggers when the call disconnects, before the recording is processed — excludes any post-call notes or account codes.
Call and Recordings ProcessedTriggers after the call ends and any associated recording has finished processing.
Call is UpdatedTriggers when a completed call's recording is processed, and again whenever account codes are added to or removed from the call afterward.
📘

Because Call is Updated can trigger more than once for the same call, the receiving endpoint should be prepared to handle duplicate posts — using a unique value such as Media ID to differentiate them.