API Reference
Authentication (OAuth 2.0)GETAuthorization pagePOSTExchange a code or refresh a tokenPOSTIntrospect a token
Member, accounts and rolesGETGet the memberGETList the member's ad accountsGETSearch ad accountsGETGet an ad accountPOSTCreate ad accountsPOSTUpdate an ad accountDELDelete a draft ad accountGETList the users of an ad accountPUTAdd or replace an ad account userGETGet an ad account userPOSTUpdate an ad account userDELRemove an ad account userGETList the member's organization rolesGETGet an organization
Campaign groupsPOSTCreate campaign groupsGETSearch campaign groupsGETGet a campaign groupPOSTUpdate a campaign groupDELDelete a campaign groupGETGet campaign groups in batchPOSTUpdate campaign groups in batchDELDelete campaign groups in batch
CampaignsPOSTCreate campaignsGETSearch campaignsGETGet a campaignPOSTUpdate or activate a campaignDELDelete a campaignGETGet campaigns in batchPOSTUpdate campaigns in batchDELDelete campaigns in batch
Targeting and pricingGETList targeting facetsGETList the values of a facetGETSearch facet valuesGETGet facet values by URNGETEstimate the audience sizeGETGet bid and budget limits
CreativesPOSTCreate creativesPOSTCreate a post and a creative in one callGETSearch creativesGETGet a creativePOSTUpdate a creativeDELDelete a creativeGETGet creatives in batchPOSTUpdate creatives in batchDELDelete creatives in batch
Posts and imagesPOSTCreate a postGETGet a postPOSTUpdate a postDELDelete a postPOSTInitialize an image uploadGETGet an image
Conversions APIPOSTCreate a conversion ruleGETList the conversion rules of an accountGETGet a conversion rulePOSTUpdate a conversion rulePUTAssociate a campaign and a ruleGETGet an associationDELRemove an associationGETList the associations of campaignsPOSTSend conversion eventsGETAd click (Mimicr)
Introspect a token
POST
Base URL: /oauth/v2/introspectTokenhttps://linkedin-ads.mimicr.dev · provider: https://www.linkedin.comReturns 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-urlencodedclient_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.
activeexpiredrevokedexpires_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.