Endpoints
Welcome to the Bravo API. These endpoints are used for integrating Bravo into your own code.
We cannot code for you. Do not open a ticket about how to use an API.
Do not ever give out your API key. If you believe your API key has been compromised, regenerate it via the settings menu.
Metric staff will NEVER ask you for your API key. If somebody is impersonating Metric staff, please open a ticket
API Base URL
The API's base URL is https://bravo.tomerthegreat.com/api/bravo/v1/
Check if user owns product
GET https://bravo.tomerthegreat.com/api/bravo/v1/ownership/
Query Parameters
identificationType*
String
The platform of the ID that you specified (use "roblox" or "discord" ONLY)
identification*
String
The user ID of the user that you would like to check ownership of
product*
String
The product that you would like to check ownership of
hubId*
String
The ID of the hub that you would like to check product ownership in
true{
"error": "The specified product was not found."
}{
"error": "You are missing required parameters in your request."
}{
"error": "The user isn't linked yet, or the user is not valid."
}Gets a hub's products
GET https://bravo.tomerthegreat.com/api/bravo/v1/products/
Query Parameters
hubId*
String
The ID of the hub you would like to get the products from.
Gets information about a user
GET https://bravo.tomerthegreat.com/api/bravo/v1/users/getinfo/
Query Parameters
identificationType*
String
The platform of the ID that you specified (use "roblox" or "discord" ONLY)
identification*
String
The user ID of the user that you would like to get the information of
hubId*
String
The ID of the hub that you would like to get the user's information from
Generates a linking code
POST https://bravo.tomerthegreat.com/api/bravo/v1/users/gencode
Query Parameters
robloxId*
string
The ROBLOX ID of the user that you would like to generate a linking code for
discordId*
String
The Discord ID of the user that you would like to generate a linking code for
Grants product to the specified user
POST https://bravo.tomerthegreat.com/api/bravo/v1/licenses/grant/
Query Parameters
identificationType*
String
The platform of the ID that you specified (use "roblox" or "discord" ONLY)
identification*
String
The user ID of the user that you would like to grant the product to
product*
The product that you would like to grant to the user
apiKey*
String
The API key for your hub, used for security reasons.
hubId*
String
The hub ID of the hub that you are granting the products in.
Grants product to the specified user
DELETE https://bravo.tomerthegreat.com/api/bravo/v1/licenses/revoke
Query Parameters
identificationType*
String
The platform of the ID that you specified (use "roblox" or "discord" ONLY)
identification*
String
The user ID of the user that you would like to grant the product to
product*
String
The product that you would like to grant to the user
apiKey*
String
The API key for your hub, used for security reasons.
hubId*
String
The hub ID of the hub that you are granting the products in.
Last updated
Was this helpful?