Reference for the Presence v1 endpoints on Roblox.
Base URL: https://presence.roblox.com
POST /v1/presence/users
Usage
import { fetchApi } from 'rozod';
import { postPresenceUsers } from 'rozod/lib/endpoints/presencev1';
const data = await fetchApi(postPresenceUsers, {
| Field | Type | Description |
|---|
userIds | number[] | null | |
| Field | Type | Description |
|---|
userPresences | object[] | null | See below |
userPresences[] item fields:
| Field | Type | Description |
|---|
userPresenceType | `0 | 1 |
lastLocation | string | null | |
placeId | number | null | |
rootPlaceId | number | null | |
gameId | string | null | |
universeId | number | null | |
userId | number | |
| Status | Description |
|---|
| 400 | Bad Request |
| 403 | Forbidden |
| 429 | Too Many Requests |