HighLevel LinkedIn Integration API

Documentation for Ad-publishing API

GitHub OpenAPI
Business capability
Digital Marketing Management BC-400.60

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /ad-publishing/linkedin/integration Get a location's LinkedIn Ads integration · Get LinkedIn integration #
Ask an LLM
“Has this location got a LinkedIn Ads account linked?”
“Where can I see a location's LinkedIn integration details?”
Tell an agent
Get the LinkedIn integration for location {locationId}.
Show LinkedIn Ads settings on location {locationId}.
POST /ad-publishing/linkedin/integration Connect a LinkedIn ad account to a location · Create LinkedIn integration #
Ask an LLM
“How do I link a LinkedIn Ads account to a location?”
“Can I set the currency and organization when connecting an ad account?”
Tell an agent
Connect ad account {adAccountId} named {adAccountName} to location {locationId} in currency {currencyCode} for organization {organizationId}.
Set up LinkedIn Ads integration for location {locationId} using ad account {adAccountId}.
GET /ad-publishing/linkedin/ad-accounts List LinkedIn ad accounts available to a location · Get LinkedIn ad accounts #
Ask an LLM
“Which LinkedIn Ads accounts can I choose from for a location?”
“What ad accounts are linked to the current user?”
Tell an agent
List LinkedIn ad accounts available to location {locationId}.
Show the ad accounts I can connect for location {locationId}.
GET /ad-publishing/linkedin/ad-account Get details of one LinkedIn ad account · Get ad account details #
Ask an LLM
“What are the details of a specific LinkedIn ad account?”
“Can I see the currency and organization of an ad account?”
Tell an agent
Show LinkedIn ad account {adAccountId} for location {locationId}.
Get the details of ad account {adAccountId} at location {locationId}.
DELETE /ad-publishing/linkedin/ad-account Disconnect a LinkedIn ad account from a location · Delete ad account #
Ask an LLM
“How do I unlink a LinkedIn Ads account from a location?”
“Can I remove an ad account connection?”
Tell an agent destructive · confirm first
Disconnect ad account {adAccountId} from location {locationId}.
Remove LinkedIn ad account {adAccountId} at location {locationId}.
GET /ad-publishing/linkedin/me Get the LinkedIn user behind a location's connection · Get current LinkedIn user #
Ask an LLM
“Which LinkedIn user is connected to my location?”
“What profile is linked to a location's ad integration?”
Tell an agent
Show the LinkedIn user connected to location {locationId}.
Get the LinkedIn profile behind location {locationId}'s ad integration.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/highlevel:highlevel-linkedin-integration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

highlevel-linkedin-integration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ad Manager LinkedIn Integration API
  description: Documentation for Ad-publishing API
  version: '1.0'
  contact: {}
servers:
- url: https://services.leadconnectorhq.com
tags:
- name: LinkedIn Integration
  description: Documentation for Ad-publishing API
paths:
  /ad-publishing/linkedin/integration:
    get:
      operationId: li-get-integration
      summary: Get LinkedIn integration
      description: Retrieve the LinkedIn Ads integration details for a location
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: HChooFuiyPpVYzeJ4HMe
          type: string
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.readonly
      tags:
      - LinkedIn Integration
    post:
      operationId: li-create-integration
      summary: Create LinkedIn integration
      description: Create a LinkedIn Ads integration for a location with ad account details
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateLinkedinIntegrationDTO'
      responses:
        '201':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.write
      tags:
      - LinkedIn Integration
  /ad-publishing/linkedin/ad-accounts:
    get:
      operationId: li-get-ad-accounts
      summary: Get LinkedIn ad accounts
      description: Retrieve LinkedIn Ads accounts available for the connected user
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: HChooFuiyPpVYzeJ4HMe
          type: string
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.readonly
      tags:
      - LinkedIn Integration
  /ad-publishing/linkedin/ad-account:
    get:
      operationId: li-get-ad-account-details
      summary: Get ad account details
      description: Retrieve details of a specific LinkedIn ad account
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: HChooFuiyPpVYzeJ4HMe
          type: string
      - name: adAccountId
        required: true
        in: query
        description: Ad account identifier
        schema:
          example: '12345678'
          type: string
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.readonly
      tags:
      - LinkedIn Integration
    delete:
      operationId: li-delete-ad-account
      summary: Delete ad account
      description: Remove a LinkedIn ad account connection from a location
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: HChooFuiyPpVYzeJ4HMe
          type: string
      - name: adAccountId
        required: true
        in: query
        description: Ad account identifier
        schema:
          example: '12345678'
          type: string
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.write
      tags:
      - LinkedIn Integration
  /ad-publishing/linkedin/me:
    get:
      operationId: li-get-current-user
      summary: Get current LinkedIn user
      description: Retrieve the authenticated LinkedIn user info for a location
      parameters:
      - name: Version
        in: header
        description: API Version
        required: true
        schema:
          type: string
          enum:
          - '2021-07-28'
          example: '2021-07-28'
      - name: locationId
        required: true
        in: query
        description: Location identifier
        schema:
          example: HChooFuiyPpVYzeJ4HMe
          type: string
      responses:
        '200':
          description: ''
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/BadRequestDTO
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnauthorizedDTO
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: ../common/common-schemas.json#/components/schemas/UnprocessableDTO
      security:
      - bearer:
        - adPublishing.readonly
      tags:
      - LinkedIn Integration
components:
  schemas:
    CreateLinkedinIntegrationDTO:
      type: object
      properties:
        locationId:
          type: string
          description: Location identifier
          example: loc_123
        adAccountId:
          type: string
          description: Ad account identifier
          example: '12345678'
        adAccountName:
          type: string
          description: Ad account name
          example: My Ad Account
        currencyCode:
          type: string
          description: Currency code
          example: USD
        organizationId:
          type: string
          description: Organization identifier
          example: '12345678'
      required:
      - locationId
      - adAccountId
      - adAccountName
      - currencyCode
      - organizationId
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
      type: http
    Location-Access:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
      type: http
    Location-Access-Only:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Sub-Account.
      type: http
    Agency-Access:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Agency (OR) Private Integration Token of Agency.
      type: http
    Agency-Access-Only:
      scheme: bearer
      bearerFormat: JWT
      name: Authorization
      in: header
      description: Use the Access Token generated with user type as Agency.
      type: http
x-tagGroups:
  name: Ad Manager
  tags:
  - Facebook Integration
  - Facebook Ads
  - Facebook Reporting
  - Google Integration
  - Google Ads
  - Google Reporting
  - LinkedIn Integration
  - LinkedIn Ads
  - LinkedIn Reporting
  - Reselling
  - Snapshots