{{getMsg('Help_YouAreHere')}}:
/
{{page.title}}
{{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}}
{{helpModel.downloadHelpPdfDataStatus}}
Send Reaction
The Send Reaction handler allows to send a reaction to an ongoing call. Reactions should be single emoji defined by its short name. Emojis can be send in rapid succession for a greater effect. The request must be done using POST
.
A list of available emojis for the reactions can be requested using a GET
request.
GET /api/cowork/user/calls/reaction
Returns a list of available emojis short names as well a their base64 image representation that can be used for other UIs.
The response JSON looks like:
{ ":smile:": "data:image/svg+xml;base64,...", ":thumbsup:": "data:image/svg+xml;base64,...", ":thumbsdown:": "data:image/svg+xml;base64,...", }
POST /api/cowork/user/calls/reaction
Sends a reaction, such as an emoji, to the ongoing call and returns the currently running calls of the selected channel.
{ "reaction": "<Reaction to send. Should be an emoji short name>", "clients": [ { "clientId": "<GUID of the client that should be modified>", "media": "<The media type of the connection that should be modified.>" }, ... ] }
REQUEST Field | Value Type | Description |
---|---|---|
reaction | String | Reaction to send. Should be an emoji short name |
clientId | String | The GUID of a client to modify, e.g. if multiple clients of a user are online |
media | String (optional) | The media type of the connection to modify, can be either camera (also for audio-only connections) or screenX with X being a number |
Note: the clients
field is optional. Optional fields can be omitted and will not change the current state.
Example Request
# Request # Use user:password for authorization POST /api/cowork/react/calls/reaction HTTP/1.1 Accept: */* Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u { "reaction": ":smile:" } # Response HTTP/1.1 200 OK