younifyd
Menu

Get Balances

Get Balances

GET/hubs/{hubId}/balances

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Get Balances action (under Balances).
  3. Fill in the fields below, then reference the result from later steps as {{getBalances.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

Response

Returns 200 with an object. Read it in later steps with {{getBalances.response.data.<field>}}.

organisationarray<object>

Organisation level balances.

metricstring

Name of balance

descriptionstring

Description of the balance

limitstring

Limit for this balance

currentUsagestring

Current usage of this balance

hubarray<object>

Hub level balances.

metricstring

Name of balance

descriptionstring

Description of the balance

limitstring

Limit for this balance

currentUsagestring

Current usage of this balance

_linksobject

Resource HAL links

selfanyrequired
balancesany
json
{
  "organisation": [
    {
      "metric": "dynamic-content-sync-limits",
      "description": "Number of processed items synced across all hubs in the organisation",
      "limit": 1000,
      "currentUsage": 999
    }
  ],
  "hub": [
    {
      "metric": "dynamic-content-sync-limits",
      "description": "Number of processed items synced across all hubs in the organisation",
      "limit": 1000,
      "currentUsage": 999
    }
  ],
  "_links": {
    "self": null,
    "balances": null
  }
}

Need more? See the Amplience guide for connection setup and behaviour shared by every action.

Get Balances — Amplience — Documentation