---
title: "Authorize"
method: GET
path: "/api/oauth/facebook-leadgen/authorize"
tags: ["oauth-facebook-leadgen", "oauth-facebook-leadgen"]
---

# Authorize

`GET /api/oauth/facebook-leadgen/authorize`

## 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/oauth/facebook-leadgen/authorize`
- Auth: none declared

## Query parameters

- `agent_id` integer, required: Agent to route this page's leads to
- `trigger_id` integer, nullable: Webhook trigger to attach enrichment to

## 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)
