APILinkedIn Account
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
/linkedin/account/statusGet Account Status
Retrieve the current status of the default LinkedIn account. Use this to verify account connectivity before performing actions.
Authentication requiredLinkedIn Account
Code Examples
curl -X GET 'https://api.connectsafely.ai/linkedin/account/status' \ -H 'Authorization: Bearer <your_api_key>'Parameters
No parameters.
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
}Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique account identifier |
firstName | string | Account owner's first name |
lastName | string | Account owner's last name |
publicId | string | LinkedIn public profile ID |
platform | string | Platform identifier (always "linkedin") |
status | string | Account status: "FREE" (warmed up) or "WARMUP" |
enabled | boolean | Whether the account is enabled |
lastUsed | string | ISO timestamp of last account activity |
hasTokens | boolean | Whether authentication tokens are present |
LinkedIn Account
Manage LinkedIn account status via API. Monitor account health, track activity history, and check warmup status for safe automation.
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.
