User
Fetch user
GET
https://api.hubdot.xyz/v1/user/fetch
Returns a specific hub.
Query Parameters
Name
Type
Description
discordUserId
string
Discord user id to search for
robloxUserId
string
Roblox user id to search for
{
"_id": "5fe89146544f465bfcbe766d",
"discordUserId": "348853688179359746",
"robloxUserId": "79291163",
"robloxUsername": "MoaufmKlo",
"products": {
"5fe88f582a753b6220e423a9": [
"5fe8930e544f465bfcbe766e"
]
},
"createdAt": "2020-12-27T13:51:02.572Z",
"updatedAt": "2020-12-27T13:51:02.572Z"
}
Create user
POST
https://api.hubdot.xyz/v1/user/create
Creates a user.
Request Body
Name
Type
Description
userId
string
Discord user id
{}
Fetch user's products
GET
https://api.hubdot.xyz/v1/user/products
Fetches a user's products.
Request Body
Name
Type
Description
guildId
string
hub's Discord guild id
apiToken
string
hub's api token
robloxUserId
string
User's Roblox user id
[
"product",
"product 2"
]
Last updated
Was this helpful?