Send Call Center Events
- Print
- DarkLight
- PDF
Send Call Center Events
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/api/v1/voip/events
Send the VoIP client events. Permission required: view-l-room
VoIP Client Events
List of VoIP client Events available in enum format:
{"VOIP-CALL-STARTED" = "voip-call-started",
"VOIP-CALL-ENDED" = "voip-call-ended",
"VOIP-CALL-DECLINED" = "voip-call-declined",
"VOIP-CALL-ON-HOLD" = "voip-call-on-hold",
"VOIP-CALL-UNHOLD" = "voip-call-unhold",
"VOIP-CALL-DURATION" = "voip-call-duration" }
Header parameters
X-Auth-Token
stringRequired
The authToken
of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired
The userId
of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Body parameters
Example 1
{
"rid": "oWLW6v8c8oRGb4cC9",
"event": "voip-call-started"
}
object
rid
string
event
string
comment
string
Responses
400
Bad Request
Example 1
{
"success": false,
"error": "Match error: Missing key 'event'"
}
Example 2
{
"success": false,
"error": "Match error: Missing key 'rid'"
}
object
success
boolean
error
string
401
Unauthorized
Authorization Error
{
"status": "error",
"message": "You must be logged in to do this."
}
object
status
string
message
string
403
Forbidden
Example 1
{
"success": false,
"error": "User does not have the permissions required for this action [error-unauthorized]"
}
Example 2
{
"success": false,
"error": "unauthorized"
}
object
success
boolean
error
string
404
Not Found
Example 1
{
"success": false,
"error": "Resource not found"
}
object
success
boolean
error
string
Was this article helpful?