Skip to content

Contacts v1

Reference for the Contacts v1 endpoints on Roblox.

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

MethodPathName
GET/v1/contacts/metadatagetContactsMetadata
POST/v1/user/get-tagspostUserGetTags
POST/v1/user/tagpostUserTag
GET/v1/user/tag/validategetUserTagValidate

GET /v1/contacts/metadata

Gets contextual information for contacts and usertags

Usage
import { fetchApi } from 'rozod';
import { getContactsMetadata } from 'rozod/lib/endpoints/contactsv1';
const data = await fetchApi(getContactsMetadata, undefined);
FieldTypeDescription
multiGetContactsMaxSizenumber
multiGetContactsCacheTTLinMSnumber
StatusDescription
4010: Authorization has been denied for this request.

POST /v1/user/get-tags

Gets the tags for multiple users

Usage
import { fetchApi } from 'rozod';
import { postUserGetTags } from 'rozod/lib/endpoints/contactsv1';
const data = await fetchApi(postUserGetTags, {
body: { /* ... */ }
});
FieldTypeDescription
targetUserIdsnumber[]

Array of objects:

FieldTypeDescription
targetUserIdnumber
targetUserTagstring
StatusDescription
4004: Invalid parameters.
8: Too many user Tags are requested.
4010: Authorization has been denied for this request.
42910: The flood limit has been exceeded.

POST /v1/user/tag

Sets the tag for a user

Usage
import { fetchApi } from 'rozod';
import { postUserTag } from 'rozod/lib/endpoints/contactsv1';
const data = await fetchApi(postUserTag, {
body: { /* ... */ }
});
FieldTypeDescription
targetUserIdnumber
userTagstring
FieldTypeDescription
status`“Success""Moderated”`
StatusDescription
4002: The target user is invalid or does not exist.
4: Invalid parameters.
6: The userTag is too long.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5: The user cannot tag themselves.
42910: The flood limit has been exceeded.

GET /v1/user/tag/validate

Validates the tag for a user

Usage
import { fetchApi } from 'rozod';
import { getUserTagValidate } from 'rozod/lib/endpoints/contactsv1';
const data = await fetchApi(getUserTagValidate, {
alias: /* string? */
});
NameTypeRequiredDescription
aliasstring?NoThe tag to validate
FieldTypeDescription
status`“Success""Moderated"
StatusDescription
4004: Invalid parameters.
4010: Authorization has been denied for this request.
42910: The flood limit has been exceeded.