The resource path of the user.
Format: users/{user_id}.
Represents any registered user of Roblox.
The resource path of the user.
Format: users/{user_id}.
The timestamp at which the user was created. This string is formatted as a Timestamp.
Unique ID that identifies a user in Roblox.
Unique username for a user in Roblox.
Display name for the user.
User-defined information about themselves.
Current locale selected by the user. Returns IETF language code.
Whether the user is a premium user.
Specifies if the user is ID-verified.
To access this data, you need an API key / OAuth token with the following scope: user.advanced:read.
User's social network profiles and visibility.
https://apis.roblox.com
{
"path": "users/123",
"createTime": "2023-07-05T12:34:56Z",
"id": "123456",
"name": "exampleUser",
"displayName": "userDefinedName",
"about": "Example User's bio",
"locale": "en-US",
"premium": true,
"idVerified": true,
"socialNetworkProfiles": {
"facebook": "string",
"twitter": "string",
"youtube": "string",
"twitch": "string",
"guilded": "string",
"visibility": "SOCIAL_NETWORK_VISIBILITY_UNSPECIFIED"
}
}
Gets a user's basic and advanced information.
To access a user's public information, no additional scopes are required.
To access a user's verification status, you need the following scopes:
To access a user's social account information, you need the following scopes:
The user ID.
curl -L -X GET 'https://apis.roblox.com/cloud/v2/users/{user_id}' \
-H 'x-api-key: {your-api-key}'
{
"path": "users/123",
"createTime": "2023-07-05T12:34:56Z",
"id": "123456",
"name": "exampleUser",
"displayName": "userDefinedName",
"about": "Example User's bio",
"locale": "en-US",
"premium": true,
"idVerified": true,
"socialNetworkProfiles": {
"facebook": "string",
"twitter": "string",
"youtube": "string",
"twitch": "string",
"guilded": "string",
"visibility": "SOCIAL_NETWORK_VISIBILITY_UNSPECIFIED"
}
}
Generates and returns the URL for the user's avatar thumbnail.
The user ID.
Size of the generated thumbnail. The generated thumbnail will have size * size dimension.
Currently supported values: 48, 50, 60, 75, 100, 110, 150, 180, 352, 420, 720 Default is 420.
Specify the format of the generated thumbnail. Default is PNG.
Possible values:
Value | Description |
---|---|
FORMAT_UNSPECIFIED | Default UserThumbnail Format -- set to png |
PNG | Generate thumbnail in .png format |
JPEG | Generate thumbnail in .jpg format |
Specify the shape of the thumbnail. Default is ROUND (circular).
Possible values:
Value | Description |
---|---|
SHAPE_UNSPECIFIED | Default UserThumbnail Shape -- set to round |
ROUND | Generate thumbnail as a circle. |
SQUARE | Generate thumbnail as a rectangle. |
This method is asynchronous and returns an Operation, which represents the current state of the operation. It contains an endpoint path that you can poll to obtain the real response and applicable metadata. See the documentation on long-running operations for more information.
The following sections describe the response and metadata objects that are provided when an operation completes.
Returns the URL for the user's avatar thumbnail.
URI for the generated thumbnail.
None
curl -L -X GET 'https://apis.roblox.com/cloud/v2/users/{user_id}:generateThumbnail?size={integer}&format={string}&shape={string}' \
-H 'x-api-key: {your-api-key}'