Retrieve an allocation
Returns one of the account holder’s allocations, active or deactivated. Send type when allocations of several types share the ID.
Authentication
Access token from POST /access-token. Valid for at most 30 minutes.
Path parameters
Headers
The account holder a platform API key acts on. Platform keys must send it on account holder operations. A company API key acts on its own account holder; it may omit the header or send its own account holder ID.
Your own correlation ID for this request. It is recorded with the request. The X-Request-Id response header is always generated by the server.
Query parameters
Response headers
Remaining budget for each rate limit policy, for example "burst"; r=57; t=6 (requests remaining and seconds until the window resets).
The rate limit policies applied to this request, for example "burst"; q=60; w=10 (requests allowed per window of seconds).
Response
Always allocation.
true on a live platform in production, false on a Sandbox platform and outside production.
The allocation type’s key.
Its depth in its type’s hierarchy, 0 at the top.
INACTIVE once deactivated: kept, but left out of GET /allocations.
false when your accounting integration owns the allocation; change it there.
The ID of the allocation this one sits under. Absent on a top-level allocation.