API Reference
Image upload (www.linkedin.com)PUTUpload the image bytesGETDownload an image
Lead Sync: forms and leads

List leads

GET/rest/leadFormResponses?q=owner
Base URL: https://linkedin-ads.mimicr.dev · provider: https://api.linkedin.com

The leads of an owner, newest first. Use it to backfill or reconcile what the webhook delivered.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

LinkedIn-Versionstringrequired

API version, YYYYMM (the latest is 202610). Missing → 400 VERSION_MISSING; sunset, unknown or unreleased → 426 NONEXISTENT_VERSION. 202511 stops on 2026-11-16 by the sandbox clock.

Example: "202610"
X-Restli-Protocol-Versionstringrequired

Always 2.0.0. Calls that use the 2.0 syntax (List(…), (key:value), encoded URN keys) without it answer 400 "Invalid query parameters passed to request".

2.0.0

Query parameters

qstringrequired

Finder.

owner
ownerstringrequired

(sponsoredAccount:urn%3Ali%3AsponsoredAccount%3A{id}).

leadTypestringrequired

(leadType:SPONSORED); other lead types answer 501.

versionedLeadGenFormUrnstring

Only leads of this form version (encoded).

associatedEntitystring

Only leads of this creative.

submittedAtTimeRangestring

(start:{ms},end:{ms}).

limitedToTestLeadsboolean

true for test leads only.

fieldsstring

Add ownerInfo, leadMetadataInfo, associatedEntityInfo or form.

startinteger

Index of the first element.

countinteger

Page size, default 10, max 100.

Responses

200Leads.
elementsobject[]
Show child attributes
idstring

Lead id; the URN is urn:li:leadGenFormResponse:{id}.

leadTypestring
SPONSORED
ownerobject
Show child attributes
sponsoredAccountstring
submitterstring

urn:li:person:…; absent for guest leads.

versionedLeadGenFormUrnstring

Form version the member filled.

leadMetadataobject

Absent for test leads.

Show child attributes
sponsoredLeadMetadataobject
Show child attributes
campaignstring
associatedEntityobject

Absent for test leads.

Show child attributes
associatedCreativestring
submittedAtinteger

Epoch milliseconds.

responseIdstring
testLeadboolean
formResponseobject
Show child attributes
answersobject[]
Show child attributes
questionIdinteger
answerDetailsobject
Show child attributes
textQuestionAnswerobject
Show child attributes
answerstring
multipleChoiceAnswerobject
Show child attributes
optionsinteger[]
consentResponsesobject[]
Show child attributes
consentIdinteger
acceptedboolean
ownerInfoobject

Only when projected.

Show child attributes
sponsoredAccountInfoobject
Show child attributes
namestring
leadMetadataInfoobject

Only when projected.

Show child attributes
sponsoredLeadMetadataInfoobject
Show child attributes
campaignobject
Show child attributes
idinteger
namestring
typestring
associatedEntityInfoobject

Only when projected.

pagingobject

Index pagination.

Show child attributes
startinteger

Index of the first element.

countinteger

Page size.

totalinteger

Total elements, when known.

linksobject[]

Always empty in Mimicr.

400Invalid request: missing LinkedIn-Version (VERSION_MISSING), Rest.li 2.0 syntax without X-Restli-Protocol-Version or with unencoded URNs ("Invalid query parameters passed to request"), or invalid parameters.
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

401Missing token (Empty oauth2_access_token), invalid token (65600 INVALID_ACCESS_TOKEN), revoked (65601 REVOKED_ACCESS_TOKEN) or expired (65602 EXPIRED_ACCESS_TOKEN).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

403The token lacks the scope (ACCESS_DENIED, "Not enough permissions to access: {resource}.{METHOD}.{version}") or the member's role is too low (NO_PERMISSION_ON_ENTITY).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

426LinkedIn-Version sunset, unknown or not released: NONEXISTENT_VERSION "Requested version {version} is not active".
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.

429Daily quota of the application or the member reached: TOO_MANY_REQUESTS, with Retry-After (seconds to 00:00 UTC).
statusinteger

HTTP status.

serviceErrorCodeinteger

Service error code (100, 401, 65600…).

codestring

Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).

messagestring

Error message.