This API allows you to send notifications to other players
POST
https://api.vrchat.cloud/api/1/user/:id/notification
id - the user to send notification to
Yes
| Field | Type | Optional | Description |
|---|---|---|---|
| type | NotificationType |
No | The type of notification to send |
| message | string | Yes | The message to send |
| details | json as string | Yes | Details for some notifications |
- all
- message
- friendrequest
- invite
- votetokick
- halp
- hidden
| NotificationType | Variables |
|---|---|
| invite | "worldId:instance" |
| votetokick | "userToKickId", "initiatorUserId" |
| halp | "halpId","worldId" |
| Field | Type | Description |
|---|---|---|
| id | string | Notification ID |
| type | NotificationType |
The notification type |
| senderUserId | string | The id of the sender |
| receiverUserId | string | The id of the receiver |
| message | string | The message |
| details | object |
Unknown |
| jobName | string | unknown, always write_notification |
| jobColor | string | unknown, always blue |