POST/ad_accounts/:ad_account_id/lead_gen_forms
Create a lead generation form.
Rate Limit
Policy Slug: ads-leads
- Window: 60 seconds
- Quota: 20 requests
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 429
- 5XX
A lead generation form.
Bad request.
No bearer token or a bad bearer token was provided.
Insufficient authentication scopes.
The specified resource was not found.
Too many requests. See Rate Limiting for header details and best practices.
Response Headers
RateLimit-Policy
The rate limit policies that apply to this request (IETF "RateLimit header fields for HTTP" draft). Each comma-separated policy is keyed by a public policy name and lists its quota q and window in seconds w.
RateLimit
The current rate limit state for each applicable policy (IETF "RateLimit header fields for HTTP" draft): remaining quota r and seconds until the window resets t. On a 429 the exhausted policy reports r=0.
Server error.