HighLevel Facebook Integration API

Documentation for Ad-publishing API

GitHub OpenAPI
Business capability
Digital Marketing Management BC-400.60

Operations 16

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/facebook/me Get the connected Facebook user · Get current Facebook user #
Ask an LLM
“Which Facebook user is my location connected to?”
“Can I check the Facebook profile behind a location's ad integration?”
Tell an agent
Show the Facebook user profile for location {locationId}.
Get the connected Facebook account for location {locationId}.
GET /ad-publishing/facebook/pages List Facebook pages linked to a location · Get Facebook pages #
Ask an LLM
“Which Facebook pages are connected to my location?”
“Can I fetch the existing pages a location already has linked?”
Tell an agent
List the Facebook pages for location {locationId}.
Fetch existing Facebook pages for location {locationId} with fetchExisting {fetchExisting}.
GET /ad-publishing/facebook/page/{pageId}/instagram List Instagram accounts linked to a Facebook page · Get Instagram accounts for page #
Ask an LLM
“Which Instagram accounts are connected to a Facebook page?”
“Can I list Instagram accounts for a page of a specific type?”
Tell an agent
List Instagram accounts linked to Facebook page {pageId} for location {locationId}.
Show Instagram accounts on page {pageId} of type {type} for location {locationId}.
GET /ad-publishing/facebook/page/{pageId}/forms List lead gen forms on a Facebook page · Get page lead forms #
Ask an LLM
“What lead gen forms exist on a Facebook page?”
“Can I see the lead forms a page already has set up?”
Tell an agent
List lead gen forms on Facebook page {pageId} for location {locationId}.
Show the existing lead forms on page {pageId} at location {locationId}.
POST /ad-publishing/facebook/page/{pageId}/forms Create a lead gen form on a Facebook page · Create page lead form #
Ask an LLM
“How do I create a lead gen form on a Facebook page?”
“Can I add a greeting card and privacy policy to a new lead form?”
Tell an agent
Create a {type} lead form named {name} on Facebook page {pageId} at location {locationId} with questions {questions} and privacy policy {privacyPolicyLink}.
Add a lead form {name} to page {pageId} for location {locationId} with questions {questions}, privacy policy {privacyPolicyLink} and thank you page {thankYouPage}.
GET /ad-publishing/facebook/ad-accounts List ad accounts for a location · Get ad accounts #
Ask an LLM
“Which Facebook ad accounts are available to a location?”
“Can I list ad accounts for a specific account source type?”
Tell an agent
List ad accounts for location {locationId}.
Show ad accounts at location {locationId} of type {type}.
GET /ad-publishing/facebook/ad-accounts/{adAccountId} Get details of one ad account · Get ad account details #
Ask an LLM
“What are the details of a specific Facebook ad account?”
“Can I look up one ad account by its ID?”
Tell an agent
Get ad account {adAccountId} for location {locationId}.
Show the details of ad account {adAccountId} at location {locationId}.
DELETE /ad-publishing/facebook/ad-accounts/{adAccountId} Disconnect an ad account from a location · Delete ad account #
Ask an LLM
“How do I disconnect a Facebook ad account from a location?”
“Can I remove an ad account connection for a location?”
Tell an agent destructive · confirm first
Disconnect ad account {adAccountId} from location {locationId}.
Remove the ad account connection {adAccountId} at location {locationId}.
GET /ad-publishing/facebook/conversation-forms List conversation lead forms for a location · Get conversation forms #
Ask an LLM
“Which conversation lead forms exist for a location?”
“Can I see the chat lead forms a location has set up?”
Tell an agent
List conversation lead forms for location {locationId}.
Show the chat lead forms at location {locationId}.
POST /ad-publishing/facebook/conversation-forms Create a conversation lead form · Create conversation form #
Ask an LLM
“How do I create a chat lead form with welcome questions?”
“Can I add a welcome message and quick-reply questions to a conversation form?”
Tell an agent
Create a conversation form named {name} at location {locationId} with welcome message {text} and questions {questions}.
Add a chat lead form {name} to location {locationId} with welcome text {text} and quick replies {questions}.
POST /ad-publishing/facebook/integration Connect a Facebook page and ad account to a location · Create Facebook integration #
Ask an LLM
“How do I connect a Facebook page to a location for ads?”
“Can I attach an ad account when setting up a Facebook integration for a location?”
Tell an agent
Create a Facebook integration for location {locationId} on page {pageId}.
Set up Facebook ads for location {locationId} with page {pageId} and ad account {adAccountId}.
GET /ad-publishing/facebook/integration Get a location's Facebook ad integration · Get Facebook integration #
Ask an LLM
“Is my location's Facebook ad integration set up?”
“What page and ad account does a location's Facebook integration use?”
Tell an agent
Show the Facebook ad integration for location {locationId}.
Get the Facebook integration details at location {locationId}.
DELETE /ad-publishing/facebook/integration Disconnect the Facebook ad integration · Delete Facebook integration #
Ask an LLM
“How do I disconnect the Facebook ad integration from a location?”
“Can I remove the Facebook integration entirely?”
Tell an agent destructive · confirm first
Delete the Facebook integration at location {locationId}.
Disconnect Facebook ads from location {locationId}.
DELETE /ad-publishing/facebook/page Disconnect a Facebook page from a location · Delete page connection #
Ask an LLM
“How do I disconnect a Facebook page from a location?”
“Can I remove a page connection without deleting the page itself?”
Tell an agent destructive · confirm first
Disconnect Facebook page {pageId} from location {locationId}.
Remove the page connection {pageId} at location {locationId}.
PUT /ad-publishing/facebook/page/default Set the default Facebook page for a location · Set default page #
Ask an LLM
“How do I make a Facebook page the default for a location?”
“Can I change which page a location uses for ads?”
Tell an agent
Set Facebook page {pageId} as the default for location {locationId}.
Make page {pageId} the default page at location {locationId}.
GET /ad-publishing/facebook/lead-form/{leadFormId} Get a Facebook lead form by ID · Get lead form by ID #
Ask an LLM
“What questions and settings does a specific lead form have?”
“Can I look up one lead form by its ID?”
Tell an agent
Get lead form {leadFormId} for location {locationId}.
Show the questions on lead form {leadFormId} at location {locationId}.

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-facebook-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-facebook-integration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ad Manager Facebook Integration API
  description: Documentation for Ad-publishing API
  version: '1.0'
  contact: {}
servers:
- url: https://services.leadconnectorhq.com
tags:


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/highlevel/openapi/highlevel-facebook-integration-api-openapi.yml