API endpoints

Find information on using the REST API endpoints provided by the add-ons sold here. This document assumes you have already created an API key and setup the necessary headers for your request. Learn more about using the XenForo API.

GET discord/find-discord
Get Discord user and server profile information for a user that has linked their Discord account.

Parameters

Input Type Description
user_id integer [required] The user ID to look up.
guild_id string The Discord guild / server ID to get server profile information from. The user must be a member of this guild.

Response

Output Type Description
discord_user array The user's Discord account information.
server_profile array The user's server profile information (if guild_id is provided).

GET discord/find-user
Find a user by their Discord user ID.

Parameters

Input Type Description
discord_user_id string [required] The Discord user ID to look up.

Response

Output Type Description
user User|null The user that is linked to the provided Discord user ID
Back
Top