Connection Health
Social networks expire or revoke access tokens. PostBoost refreshes tokens automatically where the network allows it, predicts when a connection will stop working, and warns you before a scheduled post fails.
Which networks expire when
| Network | What expires | What PostBoost does |
|---|---|---|
| TikTok | The refresh token, about a year after you connect | Refreshes the access token daily; warns before the refresh token ends |
| The refresh token | Refreshes automatically; warns before the refresh token ends | |
| LinkedIn (profile and page) | The 60-day access token when LinkedIn grants no refresh token | Warns before the access token ends. With a refresh token, refreshes automatically |
| Instagram (direct login), Threads | The 60-day access token | Refreshes it a week before expiry. If refreshing fails, you are warned |
| YouTube, Google Business Profile, Bluesky | No fixed date | Refreshes automatically; a revoked connection shows up as a failed post and account.disconnected |
| Facebook Pages, Instagram via Facebook, X, Mastodon | No fixed date | Nothing to refresh. Changing your password or removing app access disconnects the account |
Alerts
When a connection's predicted expiry is 7, 3 and 1 days away, PostBoost:
- emails the workspace admins with a reconnect link, and
- sends the
account.token_expiringwebhook (once per threshold). Reconnecting resets the alerts.
When a network revokes access, the account.disconnected webhook fires and the account shows as disconnected in the dashboard.
{
"event": "account.token_expiring",
"data": {
"id": 12,
"uuid": "0b6f2c1e-…",
"name": "Acme",
"provider": "tiktok",
"authorized": true,
"expires_at": "2026-10-18T09:00:00+00:00",
"days_left": 6,
"threshold": 7,
"reconnect_url": "https://postboost.co/app/<workspace>/accounts"
}
}
Check health from the API
GET /{workspaceUuid}/account-health returns, for every account, a connection block:
| Field | Meaning |
|---|---|
status | healthy, failing (latest publish failed), expiring (expires within 7 days) or expired (reconnect now) |
expires_at, days_left | Predicted hard expiry, when the network has one |
expiry_kind | access, refresh, expired, unknown or none |
last_success_at, last_error | Latest successful publish and the latest publish error |
reconnect_url | Where to reconnect the account |
Token values are never returned.
Health page
Open https://postboost.co/app/<workspace uuid>/health to see the same information for every account, with a Reconnect button.
Reconnect links for clients
Agencies can create a single-use link (valid 7 days) that lets the account's owner reconnect it without a PostBoost login: POST /{workspaceUuid}/accounts/{accountUuid}/reconnect-links, or Get a link to send on the health page. The link refreshes only that account; signing in as another profile or page changes nothing. This feature is being rolled out and may return 404 until it is enabled.