accounts
Check account health
Returns detailed health info for a specific account including token status, permissions, and recommendations.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
accountIdstring
The account ID to check
Response Body
application/json
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/accounts/string/health"{
"accountId": "abc123",
"platform": "instagram",
"username": "myaccount",
"displayName": "My Account",
"status": "healthy",
"tokenStatus": {
"valid": true,
"expiresAt": "2025-06-15T00:00:00Z",
"expiresIn": "180 days",
"needsRefresh": false
},
"permissions": {
"posting": [
{
"scope": "instagram_basic",
"granted": true,
"required": true
},
{
"scope": "instagram_content_publish",
"granted": true,
"required": true
}
],
"analytics": [
{
"scope": "instagram_manage_insights",
"granted": true,
"required": false
}
],
"optional": [],
"canPost": true,
"canFetchAnalytics": true,
"missingRequired": []
},
"issues": [],
"recommendations": []
}{
"error": "Unauthorized"
}{
"error": "Not found"
}