API Reference

Account Health

Account Health gives you an operational signal for one connected account: whether it is healthy, whether it recently published successfully, and whether reconnect attention is needed.

What it returns

FieldMeaning
statusHigh-level state such as active or reconnect_required
token_refreshed_atLast successful token refresh
last_publish_atMost recent publish attempt
last_publish_statusOutcome of the most recent publish
last_publish_errorMost recent platform-side error if one exists

Example

curl https://api.unipost.dev/v1/social-accounts/sa_twitter_1/health \
  -H "Authorization: Bearer up_live_xxxx"