Centro familiar
Family Center acts as Discord's parental controls solution to allow parents to monitor the activities of their teens on Discord. They do not allow parents to view message content, but Discord does share:
Users messaged (DMs and Group DMs)
Users called (DMs and Group DMs) in the last week
Friends added in the last week
Guilds joined in the last week
Guilds the teen has sent messages to in the last week
A maximum of 8 accounts can be connected to a single parent.
In line with the API, instead of referring to Family Center users as "parents" or "teens" and links as "family", "connected teens", or "my family", the API terminology will be used instead.
Requestor: This is the user that sends a link request to a different user and acts as the user the linked user is connected to. Can be viewed as the "parent."
Linked user: This is the user that receives or accepts a link request sent by the requestor and acts as the user the "parent" can view the activity of. Can be viewed as the "teen."
Link: Represents the connection between requestor and linked user.
Partial user data of an underage user linked to the requestor via Family Center.
created_at
ISO8601 timestamp
When the link request was sent
updated_at
ISO8601 timestamp
When the link status was last updated
requestor_id 1
snowflake
The ID of the account the linked user is connected to
user_id 1
snowflake
The ID of the linked user
1 If the link type is , the and will be the same. See Link Type for more information.
Represents the current state of the link.
1
The Family Center link request has been sent, but not accepted
2
The linked user is currently connected to the requestor
3
The link has been disconnected
4
The link request was rejected
Represents what part each user played in the connection.
1
The current user accepted the request and is the linked user of the link
2
The current user sent the request and is the requestor of the link
Lists all linked users and requestors. Not to be confused with the Linked User object.
Audit log of events of the linked user. Visible to both requestors and linked users.
teen_user_id
?snowflake
The ID of the linked user
range_start_id
?snowflake
A snowflake representing the start time of the current 7-day track range
event_id
snowflake
The ID of the event action
user_id
snowflake
The ID of the linked user
entity_id
snowflake
The ID of the entity the action relates to (user, guild, or group DM) based off the action type
Represents what kind of action the linked user engaged in.
1
Users added within the last 7 days
2
Guild joined within the last 7 days
3
Users messaged within the last 7 days
4
Guilds the linked user has sent messages in within the last 7 days
5
Users called within the last 7 days
GET/family-center/@me
Returns a Family Center object.
GET/family-center/@me/link-code
Generates the link code for usage in the generated QR code that a linked user receives to give to a requestor.
link_code
string
The code used to connect a requestor to a linked user, appended to the end of the URL the QR code encodes
GET/users/@me/linked-users
Returns a linked users object.
POST/users/@me/linked-users
Creates a request that appears in the linked user's Family Center. Returns a linked users object on success. Fires a User Update Gateway event.
recipient_id
snowflake
The ID of the user the requestor wants to connect to
code
string
The link code from the linked user's device
PATCH/users/@me/linked-users
Modifies the linked user status of a linked user. Can be invoked by either the linked user or the requestor if used for removing the link. Returns an array of linked user objects on success. Fires a User Update Gateway event.
linked_user_id 1
string
The ID of the user the linked user or requestor is modifying
1 If this request is sent to remove a link (settingto ), the changes depending on if the requestor or linked user is invoking it. If the linked user invokes the request, is the ID of the requestor, otherwise it's the ID of the linked user.