Allowances
Refreshes the usage allowances for the company associated with the current API key.
Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Responses
200
Successful response
application/json
objectOptional
401
Unauthenticated
403
Unauthorized
422
Validation Error
application/json
post/api/v1/allowances/refresh
POST /api/v1/allowances/refresh HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{}Retrieves the current allowance limits, usage, and remaining capacity for the company associated with the current API key.
Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Responses
200
Successful response
application/json
get/api/v1/my/company/allowance
GET /api/v1/my/company/allowance HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
200
Successful response
{
"data": {
"allowance": {},
"usage": {},
"remaining": {}
}
}Last updated
Was this helpful?