API Reference
Initialize an image upload
/rest/images?action=initializeUploadhttps://linkedin-ads.mimicr.dev · provider: https://api.linkedin.comACTION initializeUpload: returns the image URN and an upload URL valid for 1 hour. Then PUT the bytes to uploadUrl. The owner can be an organization (needs ADMINISTRATOR or a sponsored content poster role), the member or an ad account.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
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.
"202610"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.0Query parameters
Always initializeUpload.
initializeUploadBody
application/jsonShow child attributes
urn:li:organization:…, urn:li:person:… or urn:li:sponsoredAccount:….
Show child attributes
Responses
200Upload URL and image URN.
Show child attributes
Epoch milliseconds.
Where to PUT the bytes.
urn:li:image:….
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.
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
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).
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
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).
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
Error message.
426LinkedIn-Version sunset, unknown or not released: NONEXISTENT_VERSION "Requested version {version} is not active".
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
Error message.
429Daily quota of the application or the member reached: TOO_MANY_REQUESTS, with Retry-After (seconds to 00:00 UTC).
HTTP status.
Service error code (100, 401, 65600…).
Present when LinkedIn gives one (VERSION_MISSING, NONEXISTENT_VERSION, ACCESS_DENIED, USER_NOT_AUTHORIZED, TOO_MANY_REQUESTS).
Error message.