FollowAgent method find an agent identified by user_id or asm_session_id and return a stream of events associated with the current session of the user and long as the session lives regardless if the agent is using the omni interface or neo interface. When the agent is in a voice session one of the first messages received will be AgentVoiceStartEvent that contains a sip dial url that can be used to connect to the agent's voice session.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.cbf.tcn.com/api/v1alpha1/agentsmith/agentsmith/followagent' \
--header'Content-Type: application/json' \
--data-raw''