API Reference
Image upload (www.linkedin.com)PUTUpload the image bytesGETDownload an image
Authentication (OAuth 2.0)

Introspect a token

POST/oauth/v2/introspectToken
Base URL: https://linkedin-ads.mimicr.dev · provider: https://www.linkedin.com

Returns whether a token is active, its scopes (comma-separated here) and its expiry in epoch seconds. A valid token of another app answers 200 {"active": false}.

Authorization

Public route, no token.

Body

application/x-www-form-urlencoded
client_idstringrequired

Client id of the app.

client_secretstringrequired

Client secret of the app.

tokenstringrequired

The access token.

Responses

200Token information.
activeboolean

Whether the token is valid.

client_idstring

Client id of the app that owns the token.

authorized_atinteger

When the member consented, epoch seconds.

created_atinteger

When the token was created, epoch seconds.

statusstring

Token status.

activeexpiredrevoked
expires_atinteger

Expiry, epoch seconds.

scopestring

Granted scopes, comma-separated.

auth_typestring

3L (member token).

400Unknown client id or token.
errorstring

Error code (invalid_request, invalid_redirect_uri, invalid_client, server_error).

error_descriptionstring

Error message.

401Wrong client secret (invalid_client).
errorstring

Error code (invalid_request, invalid_redirect_uri, invalid_client, server_error).

error_descriptionstring

Error message.