Skip to main content
GET
https://api.trillet.ai
/
v1
/
api
/
meta-lead
/
auth
/
install
Install Meta Lead Ads
curl --request GET \
  --url https://api.trillet.ai/v1/api/meta-lead/auth/install \
  --header 'x-api-key: <api-key>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "url": "https://www.facebook.com/v18.0/dialog/oauth?client_id=...&redirect_uri=...&scope=...&state=..."
}

Headers

x-api-key
string
required
API key used for authenticating requests to the API.
x-workspace-id
string
required
Workspace identifier for the API.

Response Fields

url
string
The Meta OAuth authorization URL. Redirect the user to this URL to authorize the Meta Lead Ads connection.
{
  "url": "https://www.facebook.com/v18.0/dialog/oauth?client_id=...&redirect_uri=...&scope=...&state=..."
}