APILinkedIn Account
Get Account Status by ID
Retrieve the current status of a specific LinkedIn account by ID. Returns account health, enabled state, session validity, and last activity.
GET
/linkedin/account/{accountId}/statusGet Account Status by ID
Retrieve the status of a specific LinkedIn account. Useful for multi-account setups to check individual account status.
Authentication requiredLinkedIn Account
Code Examples
curl -X GET 'https://api.connectsafely.ai/linkedin/account/acc_123456789/status' \ -H 'Authorization: Bearer <your_api_key>'Parameters
| Name | Type | Required | Description |
|---|---|---|---|
accountId | string | Yes | The LinkedIn account ID to check |
Responses
| Status | Description |
|---|---|
| 200 | Successful response |
200 Example
{
"id": "acc_123456789",
"firstName": "John",
"lastName": "Doe",
"publicId": "john-doe-123",
"platform": "linkedin",
"status": "FREE",
"enabled": true,
"lastUsed": "2024-01-15T10:30:00.000Z",
"hasTokens": true
}Get Account Status
Retrieve the current status of the default LinkedIn account for the authenticated user. Returns account health, enabled state, and last activity timestamp.
Get Account Activity History
Retrieve paginated history of all activities performed by a LinkedIn account including comments, reactions, and other engagements.
