---
title: "Create a Meta Lead Ads integration"
method: POST
path: "/meta-lead-ads-integrations"
tags: ["Meta Lead Ads"]
---

# Create a Meta Lead Ads integration

`POST /meta-lead-ads-integrations`

## Request

- Base URL: `https://api.flogpt.com/api/v1`
- URL: `https://api.flogpt.com/api/v1/meta-lead-ads-integrations`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Credentials are write-only. Send `userAccessToken`, `pageAccessToken`
and `appSecret` in the body; they are encrypted at rest and read back
only as `*Configured` booleans. Supplying `userAccessToken` with a
`pageId` also derives the page token and checks permissions. A
`webhookVerifyToken` is generated server-side and cannot be set.

## Request body

- ResourceInput

## Response `201`

Created integration

## Other responses

- `400`: The request is invalid.
- `409`: An integration for that page already exists in this organization.

---

[API](https://skmtc.dev/flogpt/apis/flogpt-organization-api.md) · [All operations](https://skmtc.dev/flogpt/apis/flogpt-organization-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flogpt/apis/flogpt-organization-api/revisions/c3a6cff76797?raw)
