When configuring a call event to trigger to a webhook, you can set the user_uuid parameter. Doing so makes the webhook being only triggered when events are related to the specified user.
For example, given a webhook on event user_status_update, and user_uuid is set to user A, the webhook will only be triggered when user A changes its presence status, not when user B does.
Unsupported events will always trigger the webhook, regardless of the related user.
Supported Events:
agent_paused
agent_status_update
agent_unpaused
auth_refresh_token_created
auth_session_created
BridgeCreate
BridgeDestroy
BridgeEnter
BridgeLeave
call_answered
call_created
call_ended
call_log_created
call_log_user_created
call_updated
CEL
chatd_presence_updated
ContactStatus
DeviceStateChange
DialBegin
DialEnd
DialState
endpoint_status_update
ExtensionStatus
favorite_added
favorite_deleted
Hangup
Newchannel
NewConnectedLine
Newstate
PeerStatus
relocate_answered
relocate_completed
relocate_ended
relocate_initiated
SoftHangupRequest
user_status_update
user_voicemail_message_created
user_voicemail_message_deleted
user_voicemail_message_updated
users_forwards_busy_updated
users_forwards_noanswer_updated
users_forwards_unconditional_updated
users_services_dnd_updated
users_services_incallfilter_updated
Example response:
conversation_id=1648580479.4179
is_caller=False
talking_to=TEST
caller_id_number=8022
muted=False
record_state=inactive
sip_call_id=aa2eca64-47cd-4847-a814-7ed64fe76b45
caller_id_name=TEST+USER
peer_caller_id_number=8021
line_id=66
bridges=%5B%5D
peer_caller_id_name=Patrick+Kennedy
creation_time=2022-03-29T19%3A01%3A20.027%2B0000
dialed_extension=7001
call_id=1648580480.4184
status=Up
on_hold=False
user_uuid=7171186d-4cca-468f-a5f6-f8f3f18665a9
reason_code=16