cURL
curl --request POST \ --url https://{host}/Agent/Xmpp/SendSubscriptionAccepted \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "to": "<string>", "id": "<string>" } '
{ "sent": true, "id": "<string>", "RosterItem": { "bareJid": "<string>", "pendingSubscription": true, "status": "<string>", "name": "<string>", "Groups": [ "<string>" ] } }
Allows the client to accept a presence subscription made to its account.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Success
Show child attributes