v6 documentation is incomplete, want to contribute?

Respond Invite

Respond to an invite or invite request without accepting it. :notificationId is the ID of the requesting notification.

In case the notification being replied to is an invite, the responseSlot refers to a response message from the the message collection. In case the notification is an invite request, it will refer to one from the requestResponse collection instead.

Requests made through this page are proxied through an intermediary server due to Cross-Origin Resource Sharing restrictions.

POST
/invite/{notificationId}/response
auth<token>

Auth Token via Cookie

In: cookie

Path Parameters

notificationIdstring

Must be a valid notification ID.

Slot number of the Response Message to use when responding to a user.

responseSlotinteger
Range0 <= value <= 11

Response Body

application/json

application/json

curl -X POST "https://api.vrchat.cloud/api/1/invite/string/response" \
  -H "Content-Type: application/json" \
  -d '{
    "responseSlot": 11
  }'

{
  "id": "frq_00000000-0000-0000-0000-000000000000",
  "senderUserId": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469",
  "type": "friendRequest",
  "message": "",
  "details": "{}",
  "seen": false,
  "created_at": "2021-01-01T00:00:00.000Z"
}

{
  "error": {
    "message": "\"Response slot is out of bounds.\"",
    "status_code": 400
  }
}