Skip to content

Account Information v1

Reference for the Account Information v1 endpoints on Roblox.

Base URL: https://accountinformation.roblox.com

MethodPathName
GET/v1/birthdategetBirthdate
GET/v1/descriptiongetDescription
POST/v1/descriptionpostDescription
POST/v1/email/verifypostEmailVerify
GET/v1/gendergetGender
POST/v1/genderpostGender
GET/v1/metadatagetMetadata
GET/v1/phonegetPhone
POST/v1/phonepostPhone
POST/v1/phone/deletepostPhoneDelete
POST/v1/phone/resendpostPhoneResend
POST/v1/phone/verifypostPhoneVerify
GET/v1/promotion-channelsgetPromotionChannels
POST/v1/promotion-channelspostPromotionChannels
GET/v1/star-code-affiliatesgetStarCodeAffiliates
POST/v1/star-code-affiliatespostStarCodeAffiliates
DELETE/v1/star-code-affiliatesdeleteStarCodeAffiliates
GET/v1/users/:userId/promotion-channelsgetUsersUseridPromotionChannels
GET/v1/users/:userId/roblox-badgesgetUsersUseridRobloxBadges

GET /v1/birthdate

Get the user’s birthdate

Usage
import { fetchApi } from 'rozod';
import { getBirthdate } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getBirthdate, undefined);
FieldTypeDescription
birthMonthnumber
birthDaynumber
birthYearnumber
StatusDescription
4001: User not found.
4010: Authorization has been denied for this request.

GET /v1/description

Get the user’s description

Usage
import { fetchApi } from 'rozod';
import { getDescription } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getDescription, undefined);
FieldTypeDescription
descriptionstring
StatusDescription
4001: User not found.
4010: Authorization has been denied for this request.

POST /v1/description

Update the user’s description

Usage
import { fetchApi } from 'rozod';
import { postDescription } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postDescription, {
body: { /* ... */ }
});
FieldTypeDescription
descriptionstring
FieldTypeDescription
descriptionstring
StatusDescription
4001: User not found.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5000: An unknown error occured.
5033: This feature is currently disabled. Please try again later.

POST /v1/email/verify

Verify the user’s email address from token

Usage
import { fetchApi } from 'rozod';
import { postEmailVerify } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postEmailVerify, {
body: { /* ... */ }
});
FieldTypeDescription
ticketstring
FieldTypeDescription
verifiedUserHatAssetIdnumber
StatusDescription
4030: Token Validation Failed

GET /v1/gender

Get the user’s gender

Usage
import { fetchApi } from 'rozod';
import { getGender } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getGender, undefined);
FieldTypeDescription
gendernumber
StatusDescription
4001: User not found.
4010: Authorization has been denied for this request.

POST /v1/gender

Update the user’s gender

Usage
import { fetchApi } from 'rozod';
import { postGender } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postGender, {
body: { /* ... */ }
});
FieldTypeDescription
genderstring

Type: unknown

StatusDescription
4001: User not found.
6: The gender provided is invalid.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5000: An unknown error occured.

GET /v1/metadata

Get the metadata

Usage
import { fetchApi } from 'rozod';
import { getMetadata } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getMetadata, undefined);
FieldTypeDescription
isAllowedNotificationsEndpointDisabledboolean
isAccountSettingsPolicyEnabledboolean
isPhoneNumberEnabledboolean
MaxUserDescriptionLengthnumber
isUserDescriptionEnabledboolean
isUserBlockEndpointsUpdatedboolean
shouldUsePersonaForIdVerificationboolean
shouldDisplaySessionManagementboolean
isPasswordRequiredForAgingDownboolean

GET /v1/phone

Get Verified Phone Number

Usage
import { fetchApi } from 'rozod';
import { getPhone } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getPhone, undefined);
FieldTypeDescription
countryCodestring
prefixstring
phonestring
isVerifiedboolean
verificationCodeLengthnumber
canBypassPasswordForPhoneUpdateboolean
StatusDescription
4010: Authorization has been denied for this request.
5000: An unknown error occured.

POST /v1/phone

Set Phone Number

Usage
import { fetchApi } from 'rozod';
import { postPhone } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postPhone, {
body: { /* ... */ }
});
FieldTypeDescription
countryCodestring
prefixstring
phonestring
passwordstring
verificationChannelstring
FieldTypeDescription
verificationChannelstring
datastring
StatusDescription
4002: Invalid Phone Number
3: Phone Number Already Associated
8: Invalid Phone Number Type
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5: Incorrect Password
10:
4296: Flooded
5000: An unknown error occured.
5031: This feature is currently disabled. Please try again later.

POST /v1/phone/delete

Delete Phone

Usage
import { fetchApi } from 'rozod';
import { postPhoneDelete } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postPhoneDelete, {
body: { /* ... */ }
});
FieldTypeDescription
countryCodestring
prefixstring
phonestring
passwordstring
verificationChannelstring

Type: unknown

StatusDescription
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5: Incorrect Password
4296: Flooded
5000: An unknown error occured.
5031: This feature is currently disabled. Please try again later.

POST /v1/phone/resend

Resend Phone code

Usage
import { fetchApi } from 'rozod';
import { postPhoneResend } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postPhoneResend, {
body: { /* ... */ }
});

Type: unknown

Type: unknown

StatusDescription
4010: Authorization has been denied for this request.
4030: Token Validation Failed
4296: Flooded
5000: An unknown error occured.
5031: This feature is currently disabled. Please try again later.

POST /v1/phone/verify

Verify Phone

Usage
import { fetchApi } from 'rozod';
import { postPhoneVerify } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postPhoneVerify, {
body: { /* ... */ }
});
FieldTypeDescription
codestring

Type: unknown

StatusDescription
4002: Invalid Phone Number
3: Phone Number Already Associated
7: Invalid Code
4010: Authorization has been denied for this request.
4030: Token Validation Failed
4296: Flooded
5000: An unknown error occured.
5031: This feature is currently disabled. Please try again later.

GET /v1/promotion-channels

Get the user’s promotion channels

Usage
import { fetchApi } from 'rozod';
import { getPromotionChannels } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getPromotionChannels, {
alwaysReturnUrls: /* boolean? */,
filterLink: /* boolean? */,
onlyShortenTwitter: /* boolean? = true */
});
NameTypeRequiredDescription
alwaysReturnUrlsboolean?NoWhether all promotion channel links should be returned as full URLs.
filterLinkboolean?NoWhether all promotion channel links should be filtered.
onlyShortenTwitterboolean? = trueNoWhether all promotion channels links except for Twitter should be returned as full URLs. If false, all promotion channels will be shortened.
FieldTypeDescription
promotionChannelsVisibilityPrivacystring
facebookstring
twitterstring
youtubestring
twitchstring
StatusDescription
4001: User not found.
4010: Authorization has been denied for this request.

POST /v1/promotion-channels

Update the user’s promotion channels

Usage
import { fetchApi } from 'rozod';
import { postPromotionChannels } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postPromotionChannels, {
body: { /* ... */ }
});
FieldTypeDescription
facebookstring
twitterstring
youtubestring
twitchstring
promotionChannelsVisibilityPrivacystring

Type: unknown

StatusDescription
4002: The request was empty.
11: The Facebook profile url is invalid.
12: The Twitter handle is invalid.
13: The YouTube url is invalid.
14: The Twitch profile url is invalid.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
4: Only users who are over twelve years of age may edit social network channels.

GET /v1/star-code-affiliates

Gets a star code affiliate supporter for the authenticated user

Usage
import { fetchApi } from 'rozod';
import { getStarCodeAffiliates } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getStarCodeAffiliates, undefined);
FieldTypeDescription
userIdnumber
namestring
codestring
StatusDescription
4010: Authorization has been denied for this request.
5000: An unknown error occured.

POST /v1/star-code-affiliates

Adds a star code affiliate supporter for the authenticated user

Usage
import { fetchApi } from 'rozod';
import { postStarCodeAffiliates } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(postStarCodeAffiliates, {
body: { /* ... */ }
});
FieldTypeDescription
codestring
FieldTypeDescription
userIdnumber
namestring
codestring
StatusDescription
4001: The code was invalid.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5000: An unknown error occured.

DELETE /v1/star-code-affiliates

Removes the star code affiliate supporter for the authenticated user

Usage
import { fetchApi } from 'rozod';
import { deleteStarCodeAffiliates } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(deleteStarCodeAffiliates, undefined);

Type: unknown

StatusDescription
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5000: An unknown error occured.

GET /v1/users/:userId/promotion-channels

Get promotion channels for a given user ID

Usage
import { fetchApi } from 'rozod';
import { getUsersUseridPromotionChannels } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getUsersUseridPromotionChannels, {
userId: /* integer */,
alwaysReturnUrls: /* boolean? */,
filterLink: /* boolean? */
});
NameTypeRequiredDescription
userIdintegerYesThe ID of the user to fetch the promotion channels for.
alwaysReturnUrlsboolean?NoWhether all promotion channel links should be returned as full URLs.
filterLinkboolean?NoWhether all promotion channel links should be filtered.
FieldTypeDescription
facebookstring
twitterstring
youtubestring
twitchstring
StatusDescription
4001: User not found.

GET /v1/users/:userId/roblox-badges

Returns a list of Roblox badges belonging to a user.

Usage
import { fetchApi } from 'rozod';
import { getUsersUseridRobloxBadges } from 'rozod/lib/endpoints/accountinformationv1';
const data = await fetchApi(getUsersUseridRobloxBadges, {
userId: /* integer */
});
NameTypeRequiredDescription
userIdintegerYes

Array of objects:

FieldTypeDescription
idnumber
namestring
descriptionstring
imageUrlstring