API · LinkedIn
GET /linkedin/accounts/{account}/me
Your connected LinkedIn account: who it is, whether it still works, premium and Sales Navigator status, InMail credits.
| Request | GET /v1/linkedin/accounts/{account}/me |
| Operation id | linkedin.account.me |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Your connected LinkedIn account: who it is, whether it still works, premium and Sales Navigator status, InMail credits.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account | string | yes | The id of the LinkedIn account you connected (from GET /v1/linkedin/accounts). Example: csn_01JDX9EXAMPLE0000000000. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The account. | LinkedInAccountMe |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | LinkedIn has no such public page, or it was removed. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | LinkedIn is temporarily unavailable. Retryable; nothing was charged. | Error |
LinkedInAccountMe fields
| Field | Type | Description |
|---|---|---|
account | string | The connected account id (csn_…). |
profile_urn | string | |
member_id | string | null | |
public_identifier | string | null | |
first_name | string | null | |
last_name | string | null | |
headline | string | null | |
premium | boolean | null | |
sales_navigator | boolean | True when the account was connected with its li_a cookie and Sales Navigator accepted the seat. |
inmail_credits | integer | null | InMail credits left on the seat; null without one or when unknown. |
Errors use one shape everywhere; see Errors for every code and what to do.