Parcel Public API v2
  • Homepage
  • Discord Server
  • Customer Support
  • 🔑Obtain API Key
    • Create an API Key
    • Developer Portal
  • 🏢Hub Endpoints
    • Fetch Hub Information
    • Update Hub Information
  • 🛍️Product Endpoints
    • Fetch Product Information
    • Create a new Product
    • Update an existing Product
    • Delete an existing Product
  • 📝Whitelist Endpoints
    • Check Whitelist
    • Give Whitelist
    • Transfer Whitelist
    • Revoke Whitelist
Powered by GitBook
On this page

Was this helpful?

  1. Whitelist Endpoints

Check Whitelist

Verify a user's ownership of a product license

This endpoint facilitates the verification of user ownership for a specific product license within your hub. It's crucial for ensuring that only authorized users have access to particular products, maintaining a fair and secure environment for all participants.

Check the Whitelist of a user

GET https://v2.parcelroblox.com/whitelist/check/:userid_type/:user_id

Path Parameters

Name
Type
Description

userid_type*

string

"roblox" or "discord"

user_id*

string

Roblox or Discord User ID

Query Parameters

Name
Type
Description

product_id*

String

Product ID

Headers

Name
Type
Description

Authorization*

string

prod_DGzVhVsrqNJi4b0Chd9mMPUI9

Content-Type

string

application/json

If everything was able to process properly:

{ "status": "200", "message": "OK", "data": { "userid": string, "userid_type": string, "product_id": string, "owns_license": boolean } }

If you provided an invalid authorization key:

{ "status": "401", "message": "Invalid authorization key." }

If you did not provide an authorization key:

{ "status": "401", "message": "No authorization key was provided." }

If you did not supply a Product ID:

{ "status": "400", "message": "Missing Query Parameter.\nRequired params: product_id", "data": {} }

If something was wrong on our end:

{ "status": "500", "message": "Internal Server Error" }

If the product ID that you supplied does not exist:

{ "status": "404", "message": "Product does not exist.", "data": {} }

If the user ID that you supplied does not exist within our Database:

{ "status": "404", "message": "No Roblox Account associated to this Discord User ID.", "data": {} }
PreviousDelete an existing ProductNextGive Whitelist

Last updated 11 months ago

Was this helpful?

📝