Refresh Warmup Status
Background refresh of the warmup status for a LinkedIn account
POST
/linkedin/account/{accountId}/warmup/refreshRefresh Warmup Status
Background refresh of the warmup status for a LinkedIn account. Results are cached for 6 hours.
Authentication requiredLinkedIn Account
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/account/acc_123456789/warmup/refresh' \ -H 'Authorization: Bearer <your_api_key>'Parameters
| Name | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | The LinkedIn account ID |
Responses
| Status | Description |
|---|---|
| 200 | Successful response |
200 Example (Cached)
{
"success": true,
"accountId": "acc_123456789",
"cached": true,
"checkedAt": "2024-01-15T10:00:00.000Z",
"expiresAt": "2024-01-15T16:00:00.000Z",
"warmupStatus": {
"isWarmedUp": true,
"status": "FREE",
"tier": "high",
"commentCount": 45,
"reactionCount": 120,
"totalEngagements": 165,
"recommendedStartMode": "normal",
"reason": "Account has sufficient engagement history"
}
}200 Example (Fresh Check)
{
"success": true,
"accountId": "acc_123456789",
"cached": false,
"checkedAt": "2024-01-15T12:00:00.000Z",
"expiresAt": "2024-01-15T18:00:00.000Z",
"warmupStatus": {
"isWarmedUp": true,
"status": "FREE",
"tier": "high",
"commentCount": 50,
"reactionCount": 130,
"totalEngagements": 180,
"recommendedStartMode": "normal",
"reason": "Account has sufficient engagement history"
}
}Usage Notes
- Caching: Results are cached for 6 hours to reduce API calls to LinkedIn
- Fresh Check: If cache is expired, a fresh check is performed via LinkedIn API
- Background Refresh: Use this endpoint to proactively update warmup status
- Cache Invalidation: Cache is automatically invalidated when account crosses the 2-day threshold
