Skip to main content
POST
/
Agent
/
Xmpp
/
SendSubscriptionAccepted
Send Subscription Accepted
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>"
    ]
  }
}

Overview

Allows the client to accept a presence subscription made to its account.

Authentication

Requires a valid JWT bearer token.

Notes

This endpoint uses the request schema notation described in Pattern matching.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
to
string
required
id
string

Response

200 - application/json

Success

sent
boolean
required
id
string
required
RosterItem
object
required