Overview
Looks up the outcome of a LinkedIn publish attempt. LinkedIn post creation is synchronous, so there is no polling cycle — this simply returns the recorded result of the attempt identified by log_id.
Endpoint
GET https://eranol.com/api/v1/social/linkedin/status?log_id=<log_id>
Query parameters
| Field | Type | Required | Notes |
|---|
log_id | string | Yes | The log_id returned by the publish endpoint |
Example response
{
"log_id": "b7e1c2a4-...",
"post_urn": "urn:li:share:1234567890",
"status": "complete",
"fail_reason": null,
"post_url": "https://www.linkedin.com/feed/update/urn:li:share:1234567890",
"initiated_at": "2026-08-25T10:00:00.000Z",
"updated_at": "2026-08-25T10:00:02.000Z"
}
Response fields
| Field | Type | Notes |
|---|
log_id | string | The publish attempt id |
post_urn | string | null | LinkedIn's URN for the post; null if publishing failed |
status | string | submitted (in progress), complete, or failed |
fail_reason | string | null | Present when status is failed |
post_url | string | null | Link to the live post; null if no post_urn |
initiated_at | string | ISO timestamp the attempt started |
updated_at | string | ISO timestamp of the last status change |
Errors
| Status | Meaning |
|---|
400 | log_id is missing |
401 | Missing or invalid API key |
402 | Insufficient credits |
404 | Publish log not found, or it does not belong to this account |