---
title: "Publishing headroom left"
method: GET
path: "/v1/social-accounts/{id}/allowance"
tags: ["Channels"]
---

# Publishing headroom left

`GET /v1/social-accounts/{id}/allowance`

## Request

- Base URL: `https://api.postlake.dev`
- URL: `https://api.postlake.dev/v1/social-accounts/{id}/allowance`
- Auth: `bearerAuth` (a scheme the document does not define)

How many posts this channel has left in the network's own rolling window, read from the network rather than counted locally. Check it before planning a batch: the alternative is discovering the ceiling by being refused partway through one, with some posts already live and some not.

## Path parameters

- `id` string, required

## Response `200`

Allowance

- object
  - `used` integer, required
  - `limit` integer, required
  - `remaining` integer, required
  - `windowHours` integer, required: The window the count covers, so "5 left" means something.
  - `platform` 'bluesky' | 'threads' | 'x' | 'linkedin' | 'instagram' | 'tiktok' | 'facebook' | 'youtube' | 'pinterest', required

---

[API](https://skmtc.dev/postlake/apis/postlake-api.md) · [All operations](https://skmtc.dev/postlake/apis/postlake-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postlake/apis/postlake-api/revisions/f81060e31f69?raw)
