---
title: "Meta Leadgen Setup"
method: POST
path: "/api/agents/{agent_id}/webhook/meta-leadgen-setup"
tags: ["webhook-setup", "webhook-setup"]
---

# Meta Leadgen Setup

`POST /api/agents/{agent_id}/webhook/meta-leadgen-setup`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/agents/{agent_id}/webhook/meta-leadgen-setup`
- Auth: none declared

## Path parameters

- `agent_id` integer, required

## Request body

- MetaLeadgenSetupRequest
  - `app_id` string, required
  - `app_secret` string, required
  - `user_access_token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
