Update Invite Message
Updates a single Invite Message and then returns a list of all of them. Admin Credentials are required to update messages of other users!
Updating a message automatically sets the cooldown timer to 60 minutes. Trying to edit a message before the cooldown timer expires results in a 429 "Too Fast Error".
Message type refers to a different collection of messages, used during different types of responses.
message= Message during a normal inviteresponse= Message when replying to a messagerequest= Message when requesting an inviterequestResponse= Message when replying to a request for invite
Requests made through this page are proxied through an intermediary server due to Cross-Origin Resource Sharing restrictions.
Auth Token via Cookie
In: cookie
Path Parameters
Must be a valid user ID.
The type of message to fetch, must be a valid InviteMessageType.
"message""message" | "response" | "request" | "requestResponse"The message slot to fetch of a given message type.
0 <= value <= 11Message of what to set the invite message to.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://api.vrchat.cloud/api/1/message/string/message/11" \
-H "Content-Type: application/json" \
-d '{
"message": "string"
}'[
{
"canBeUpdated": true,
"id": "invm_24a1c14d-5e24-48e5-90e3-c3f712420ffa",
"message": "string",
"messageType": "message",
"remainingCooldownMinutes": 0,
"slot": 11,
"updatedAt": "2019-08-24T14:15:22Z"
}
]{
"error": {
"message": "Really? A negative slot? Tsk-tsk․․․",
"status_code": 400
}
}{
"error": {
"message": "You are not authorized to perform that action.",
"status_code": 401
}
}{
"error": {
"message": "Please wait 60 more minutes until you try again․",
"status_code": 429
}
}