The /v3/loads/check/quota endpoint lets you get the number of load announcements that you have posted in the current month and the number remaining, according to your subscription plan.
For TMS integrators, this endpoint is useful to display this information within your UI as a courtesy feature. With this endpoint implemented, our mutual customer can see how many more BrokerCarrier load announcements they have in the current month without having to separately log into their BrokerCarrier dashboard.
Notes on this endpoint:
- Requires secret key. This endpoint must be called from the server side to avoid compromising your secret API key. Please do not use your secret key in client-side JavaScript.
HTTP request
Method
URL
GETRequired parameters
Name
Type
Value(s)
pkstringYour public API key
skstringYour secret API key
emailstringEmail address of the VETCarriers user who is making the API call
Return values
This endpoint returns an object with the following keys and values.
Key
Type
Value
quotaobject{}An object with the following fields:
{
}
{
integerintegerinteger}
responseobject{}An object with the following fields:
{
}
{
stringintegerinteger}
Example response
{
"quota": {
"used": 1654,
"remaining": 346,
"limit": 2000
},
"response": {
"date_time": "2022-11-28 22:19:56 UTC",
"timestamp": 1669673996,
"status": 200
}
}