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

List lead forms

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

The forms of an owner. Index pagination (start, count). BATCH_GET: GET /rest/leadForms?ids=List(…).

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}) or (organization:…).

startinteger

Index of the first element.

countinteger

Page size.

Responses

200Forms.
elementsobject[]
Show child attributes
idinteger

Form id; the URN is urn:li:leadGenForm:{id}.

ownerobject

One of sponsoredAccount or organization.

Show child attributes
sponsoredAccountstring
organizationstring
namestring

Internal name.

creationLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

hiddenFieldsobject[]

Up to 20 hidden fields; {{DYNAMIC_VALUE}} placeholders are kept.

Show child attributes
namestring
valuestring
contentobject

Form content.

Show child attributes
headlineobject

Localized text.

Show child attributes
localizedobject

Text per locale ({"pt_BR": "…"}).

preferredLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

descriptionobject

Localized text.

Show child attributes
localizedobject

Text per locale ({"pt_BR": "…"}).

preferredLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

questionsobject[]

At least one question.

Show child attributes
namestring

Unique within the form (409 on duplicates).

questionobject

Localized text.

Show child attributes
localizedobject

Text per locale ({"pt_BR": "…"}).

preferredLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

questionIdinteger

Assigned by the server.

predefinedFieldstring

Prefilled member field.

23 values
FIRST_NAMELAST_NAMEPHONE_NUMBEREMAILCITYSTATECOUNTRYZIP_CODEJOB_TITLEJOB_FUNCTIONSENIORITYCOMPANY_NAMECOMPANY_SIZEINDUSTRYDEGREEFIELD_OF_STUDYSCHOOLSTART_DATEGRADUATION_DATEGENDERWORK_EMAILLINKEDIN_PROFILE_LINKWORK_PHONE_NUMBER
responseRequiredboolean

Default true.

responseEditableboolean

Default true.

questionDetailsobject
Show child attributes
textQuestionDetailsobject
Show child attributes
maxResponseLengthinteger

1–300.

multipleChoiceQuestionDetailsobject

2–15 options.

Show child attributes
optionsobject[]
Show child attributes
idinteger
textobject

Localized text.

legalInfoobject
Show child attributes
privacyPolicyUrlstring
legalDisclaimerobject

Localized text.

Show child attributes
localizedobject

Text per locale ({"pt_BR": "…"}).

preferredLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

consentsobject[]
postSubmissionInfoobject
Show child attributes
messageobject

Localized text.

Show child attributes
localizedobject

Text per locale ({"pt_BR": "…"}).

preferredLocaleobject
Show child attributes
countrystring

Country code (BR).

languagestring

Language code (pt).

callToActionobject
Show child attributes
callToActionLabelstring
VISIT_COMPANY_WEBSITELEARN_MOREVIEW_NOWDOWNLOAD_NoWTRY_NOW
callToActionTargetstring
statestring

DRAFT → PUBLISHED → ARCHIVED. Archiving puts the linked creatives on FORM_HOLD.

DRAFTPUBLISHEDARCHIVED
versionIdinteger

Starts at 1; editing the questions of a published form creates the next version.

versionedLeadGenFormUrnstring

urn:li:versionedLeadGenForm:(urn:li:leadGenForm:{id},{versionId}).

reviewInfoobject

Form review, once published.

Show child attributes
reviewStatusstring
PENDINGAPPROVEDREJECTEDPREAPPROVEDAUTO_APPROVEDNEEDS_REVIEWAUTO_REJECTED
lastUpdatedinteger
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.