Get Account Status
Get the status of the first available LinkedIn account for the authenticated user
GET
/linkedin/account/statusGet Account Status
Get the status of the first available LinkedIn account for the authenticated user
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 |
