Docs
Workspace Settings

List workspace budgets

The organization's total daily warmup cap (orgLimit; null means unlimited, not zero), how much of it is allocated, and each workspace's dailyWarmupBudget. Requires a personal (ti_pk_) key whose creator is an organization owner.

GET
/v2/workspaces/quotas

Response Body

curl -X GET "https://lynx-api.trulyinbox.com/v2/workspaces/quotas"
{
  "data": {
    "orgLimit": 0,
    "allocated": 0,
    "workspaces": [
      {
        "workspaceId": 0,
        "workspaceName": "string",
        "dailyWarmupBudget": 0
      }
    ]
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "invalid_request",
    "message": "string",
    "details": {},
    "retry_after": 34
  },
  "meta": {
    "request_id": "req_2f1c…",
    "timestamp": "2019-08-24T14:15:22Z"
  }
}