Facebook Pixel

Get Account Status

Get the status of the first available LinkedIn account for the authenticated user

GET/linkedin/account/status

Get 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

StatusDescription
200Successful 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

FieldTypeDescription
idstringUnique account identifier
firstNamestringAccount owner's first name
lastNamestringAccount owner's last name
publicIdstringLinkedIn public profile ID
platformstringPlatform identifier (always "linkedin")
statusstringAccount status: "FREE" (warmed up) or "WARMUP"
enabledbooleanWhether the account is enabled
lastUsedstringISO timestamp of last account activity
hasTokensbooleanWhether authentication tokens are present