Get Account Activity History
Get the activity history (comments and reactions) for a LinkedIn account over the last 15 days
GET
/linkedin/account/{accountId}/activityGet Account Activity History
Get the activity history (comments and reactions) for a LinkedIn account over the last 15 days
Authentication requiredLinkedIn Account
Code Examples
curl -X GET 'https://api.connectsafely.ai/linkedin/account/acc_123456789/activity' \ -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
{
"success": true,
"accountId": "acc_123456789",
"accountName": "John Doe",
"dateRange": {
"start": "2024-01-01T00:00:00.000Z",
"end": "2024-01-15T23:59:59.999Z",
"days": 15
},
"summary": {
"totalComments": 45,
"totalReactions": 120,
"totalActivities": 165,
"totalCommentsFetched": 45,
"totalReactionsFetched": 120,
"reachedCommentLimit": false,
"reachedReactionLimit": false
},
"dailyBreakdown": [
{
"date": "2024-01-15",
"comments": 5,
"reactions": 12,
"total": 17
},
{
"date": "2024-01-14",
"comments": 3,
"reactions": 8,
"total": 11
}
],
"warmupStatus": {
"isWarmedUp": true,
"tier": "high",
"commentCount": 45,
"reactionCount": 120,
"totalEngagements": 165,
"recommendedStartMode": "normal",
"reason": "Account has sufficient engagement history"
},
"metadata": {
"fetchedAt": "2024-01-15T12:00:00.000Z",
"maxCommentsLimit": 700,
"maxReactionsLimit": 700,
"filterApplied": "last-15-days"
}
}Usage Notes
This endpoint provides comprehensive activity tracking for LinkedIn accounts:
- Activity Analysis: Reviews comments and reactions over the last 15 days
- Daily Breakdown: Shows engagement patterns day by day
- Warmup Status: Automatically determines if account is ready for high-volume operations
- Tier Classification: Accounts are classified as high, medium, or low activity
