SendToAgents
This operation is part of the Facebook Private Messaging API section of the Genesys Web Services REST API.
Overview
This request sends a text message only to agents who are in a conference or in a consulting Facebook chat.
Request URL | /api/v2/me/facebooksession/{id} |
---|---|
HTTP Method | POST |
Required Features | api-multimedia |
Parameters
Parameter | Value |
---|---|
operationName | SendToAgents |
text | The text to send to agents |
Sample
Request
POST api/v2/me/facebooksession/0071023821aec011
{
"operationName": "SendToAgents",
"text": "We need your help?"
}
Response
{
"statusCode": 0
}
Notification
Here is the list of notifications received after sending a new message only for agents:
Notification with new message
Missing
Comments or questions about this documentation? Contact us for support!