AccountHealth
False when the account must be reconnected.
Whether an access token is stored for the account.
authorized and has_token: the account can publish.
daily_cap objectrequired
Posts allowed per UTC day for this network; Free workspaces get half (rounded down, at least 1).
Scheduled, awaiting-approval and published posts counted for today (UTC).
connection objectrequired
Connection health of an account (todo 27). Never contains token values.
expired: must be reconnected now. expiring: the connection hits its hard expiry within
7 days. failing: the latest publish attempt failed. healthy: none of these.
Possible values: [healthy, failing, expiring, expired]
What limits the connection: access (the access token), refresh (the refresh token),
expired, unknown (refreshed automatically, no known hard limit) or none (the
network's connections do not expire on a schedule).
Possible values: [access, refresh, expired, unknown, none]
When the connection stops working unless reconnected; null without a hard expiry.
Whole days until expires_at (0 = less than a day).
PostBoost refreshes the token automatically until the hard expiry.
Plain-language explanation of the prediction.
reconnect_reason object | nullrequired
Why the daily token check found the account's token dead, for an account that needs a reconnect;
null otherwise. Codes: meta_190_<subcode> (Facebook, Instagram), refresh_expired (TikTok,
Pinterest), linkedin_revoked, linkedin_expired, google_revoked (YouTube).
linkedin_revokedThe reason in plain language.
When the check first found the token dead.
When the account last published successfully.
The error of the account's latest failed publish, shortened to 300 characters.
Where a workspace member reconnects the account.
{
"id": 0,
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"provider": "string",
"authorized": true,
"has_token": true,
"healthy": true,
"daily_cap": {
"limit": 0,
"used_today": 0
},
"connection": {
"status": "healthy",
"expiry_kind": "access",
"expires_at": "2024-07-29T15:51:28.071Z",
"days_left": 0,
"refreshable": true,
"note": "string",
"reconnect_reason": "Unknown Type: object,null",
"last_success_at": "2024-07-29T15:51:28.071Z",
"last_error": "string",
"reconnect_url": "string"
}
}