Overview
Allows the client to accept a presence subscription made to its account.HTTP request
POST /Agent/Xmpp/SendSubscriptionAccepted
Authentication
Requires a valid JWT bearer token.Request (JSON)
Input parameters
| Parameter | Description |
|---|---|
| PTo | A Bare or Full JID (XMPP network address). |
| PId | Optional Message ID. |
Response (JSON)
Response parameters
| Parameter | Description |
|---|---|
| PSent | If the XMPP stanza was sent or not. |
| PId | ID of stanza sent. Can be used to match responses. If no ID was provided in the call, a message ID will be generated. |
| PBareJid | Bare JID of roster item. |
| PPendingSubscription | If the account has a pending subscription request to the remote entity. |
| PStatus | Status of roster item. |
| PName | Name given to the roster item. |
| PGroups | Names of groups to which the roster item is assigned. |