---
title: "Subscribe the page to the leadgen webhook"
method: POST
path: "/meta-lead-ads-integrations/{id}/subscribe"
tags: ["Meta Lead Ads"]
---

# Subscribe the page to the leadgen webhook

`POST /meta-lead-ads-integrations/{id}/subscribe`

## Request

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

Requires a configured page access token. On success the integration
becomes `ACTIVE`; on a Graph API failure it becomes `ERROR` with the
reason in `lastError`, and the call still returns `200`.

## Path parameters

- `id` string, required

## Response `200`

Integration after the subscribe attempt

## Other responses

- `400`: The request is invalid.
- `404`: The resource does not exist in the API key's 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)
