LinkedIn Marketing API website screenshot

LinkedIn Marketing API

The LinkedIn Marketing API Program provides REST APIs that help businesses create LinkedIn marketing campaigns, report on campaign performance, manage leads from Lead Gen Forms, target matched audiences, and grow company Pages. It covers Advertising, Reporting and Analytics, Lead Sync, Matched Audiences, Audience Insights, Media Planning, Conversions, Community Management, Event Management, and Company Intelligence APIs. Authentication uses OAuth 2.0 three-legged (authorization code) flow with versioned API access.

1 APIs 0 Features
AdvertisingMarketingLinkedInLead GenerationAudience TargetingConversions APISocial Marketing

APIs

LinkedIn Marketing API

REST API for managing LinkedIn advertising campaigns, creatives, reporting, lead sync, matched audiences, conversions tracking, media planning, and community management. Authent...

Collections

Resources

🔗
Website
Website
🔗
Documentation
Documentation
🌐
DeveloperPortal
DeveloperPortal
📝
Signup
Signup
💬
Support
Support

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: LinkedIn Marketing API
  version: '2026.05'
request:
  auth:
    type: oauth2
    flow: authorization_code
    authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
    accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
    credentials:
      clientId: '{{clientId}}'
      clientSecret: '{{clientSecret}}'
items:
- info:
    name: Create an ad account
    type: http
  http:
    method: POST
    url: https://api.linkedin.com/rest/adAccounts
    headers:
    - name: LinkedIn-Version
      value: ''
    body:
      type: json
      data: '{}'
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Create an ad account
- info:
    name: Get an ad account
    type: http
  http:
    method: GET
    url: https://api.linkedin.com/rest/adAccounts/:adAccountId
    headers:
    - name: LinkedIn-Version
      value: ''
    params:
    - name: adAccountId
      value: ''
      type: path
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Get an ad account
- info:
    name: Create a campaign group
    type: http
  http:
    method: POST
    url: https://api.linkedin.com/rest/adAccounts/:adAccountId/adCampaignGroups
    headers:
    - name: LinkedIn-Version
      value: ''
    params:
    - name: adAccountId
      value: ''
      type: path
    body:
      type: json
      data: '{}'
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Create a campaign group
- info:
    name: Create a campaign
    type: http
  http:
    method: POST
    url: https://api.linkedin.com/rest/adAccounts/:adAccountId/adCampaigns
    headers:
    - name: LinkedIn-Version
      value: ''
    params:
    - name: adAccountId
      value: ''
      type: path
    body:
      type: json
      data: '{}'
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Create a campaign
- info:
    name: Create an ad creative
    type: http
  http:
    method: POST
    url: https://api.linkedin.com/rest/adAccounts/:adAccountId/creatives
    headers:
    - name: LinkedIn-Version
      value: ''
    params:
    - name: adAccountId
      value: ''
      type: path
    body:
      type: json
      data: '{}'
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Create an ad creative
- info:
    name: List ad targeting facets
    type: http
  http:
    method: GET
    url: https://api.linkedin.com/rest/adTargetingFacets
    headers:
    - name: LinkedIn-Version
      value: ''
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: List ad targeting facets
- info:
    name: Discover entities within a targeting facet
    type: http
  http:
    method: GET
    url: https://api.linkedin.com/rest/adTargetingEntities
    headers:
    - name: LinkedIn-Version
      value: ''
    params:
    - name: q
      value: ''
      type: query
    - name: queryVersion
      value: ''
      type: query
    - name: facet
      value: ''
      type: query
      description: Facet URN, e.g. `urn:li:adTargetingFacet:seniorities`.
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Discover entities within a targeting facet
- info:
    name: Estimate audience count
    type: http
  http:
    method: GET
    url: https://api.linkedin.com/rest/audienceCounts
    headers:
    - name: LinkedIn-Version
      value: ''
    params:
    - name: q
      value: ''
      type: query
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Estimate audience count
- info:
    name: Get ad budget pricing
    type: http
  http:
    method: GET
    url: https://api.linkedin.com/rest/adBudgetPricing
    headers:
    - name: LinkedIn-Version
      value: ''
    params:
    - name: account
      value: ''
      type: query
    - name: bidType
      value: ''
      type: query
    - name: campaignType
      value: ''
      type: query
    - name: matchType
      value: ''
      type: query
    - name: q
      value: ''
      type: query
    auth:
      type: oauth2
      flow: authorization_code
      authorizationUrl: https://www.linkedin.com/oauth/v2/authorization
      accessTokenUrl: https://www.linkedin.com/oauth/v2/accessToken
      credentials:
        clientId: '{{clientId}}'
        clientSecret: '{{clientSecret}}'
  docs: Get ad budget pricing
bundled: true