accounts
Check accounts health
Returns health status of all connected accounts including token validity, permissions, and issues needing attention.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Query Parameters
profileId?string
Filter by profile ID
platform?string
Filter by platform
Value in
"facebook" | "instagram" | "linkedin" | "twitter" | "tiktok" | "youtube" | "threads" | "pinterest" | "reddit" | "bluesky" | "googlebusiness" | "telegram" | "snapchat"status?string
Filter by health status
Value in
"healthy" | "warning" | "error"Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/accounts/health"{
"summary": {
"total": 5,
"healthy": 3,
"warning": 1,
"error": 1,
"needsReconnect": 1
},
"accounts": [
{
"accountId": "abc123",
"platform": "instagram",
"username": "myaccount",
"status": "healthy",
"canPost": true,
"canFetchAnalytics": true,
"tokenValid": true,
"tokenExpiresAt": "2025-06-15T00:00:00Z",
"needsReconnect": false,
"issues": []
},
{
"accountId": "def456",
"platform": "twitter",
"username": "mytwitter",
"status": "error",
"canPost": false,
"canFetchAnalytics": false,
"tokenValid": false,
"needsReconnect": true,
"issues": [
"Token expired"
]
}
]
}{
"error": "Unauthorized"
}Check account health GET
Returns detailed health info for a specific account including token status, permissions, and recommendations.
Get follower stats GET
Returns follower count history and growth metrics for connected social accounts. Requires analytics add-on subscription. Follower counts are refreshed once per day.