All endpoints

List recent posts by a profile or company

GEThttps://myagentmail.com/linkedin/posts/by-author

Pull the most recent posts authored by a LinkedIn profile or company page. Same helper the engagement-signal runner uses internally; exposed as a GET so agents can do one-shot lookups ("show me Acme's last 5 posts") without spinning up a recurring signal.

profileUrl accepts either a profile URL (https://www.linkedin.com/in/<slug>/) or a company URL (https://www.linkedin.com/company/<slug>/). The route resolves to a urn:li:fsd_profile: or urn:li:fsd_company: URN automatically.

Quota: each call burns one engagement_poll slot from the per-session daily budget.

Query parameters

sessionId
required
string
profileUrl
required
string
count
integer
sinceUrn
string

Watermark — return only posts whose activityUrn is newer than this.

Responses

200application/jsonAuthor identity + array of posts (newest first).
ok
boolean
author
object
kind
"profile" | "company"

enum: "profile" | "company"

urn
string
label
string
count
integer
posts
object[]
activityUrn
string
postedAt
integer

Unix ms; null when LinkedIn omits it.

excerpt
string
400Could not resolve the profile/company URL.
404Session not found.
429Daily quota exceeded for this session.

Authentication

Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.