Count scheduled posts
How many posts are scheduled, in total and per account, without listing them (the dashboard sidebar counters).
Requires the read scope.
bearerAuthorizationBearer <token>An API key (tb_live_...) from the dashboard, or an OAuth access token.
Tebar-Profile?stringLimits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.
The counts.
application/json- response
total*integerEach item once.
by_account*array<>Accounts with at least one; an item on several accounts counts under each.
curl -X GET 'https://api.tebar.app/v1/posts/counts'{
"total": 0,
"by_account": [
{
"account_id": "string",
"count": 0
}
]
}Create a post POST
Publishes now, schedules (scheduled_at), or saves a draft. Each target can have its own content, media_ids, and platform options (targets[].options, see the *Options schemas). Validated against every target platform before anything is saved. Requires the write scope.
Get a post GET
Includes the status of each target. Requires the read scope.