List lead forms
Lists the instant lead forms that exist on the Page pageId, as { id, name }. Values are live reads from the ad platform.
bearerAuthAuthorizationBearer <token>An organization API key (koast_sk_…) with the API surface enabled, or an OAuth access token issued by Koast (koast_at_…) whose audience covers this API. REST access requires an active Agency plan.
brandId*integerThe brand the request acts on. Every brand-scoped resource lives under its brand.
accountId*stringThe ad account id (act_… on Meta, biz_… on Whop).
pageId*stringPage id that owns the lead forms (from assets.facebookPage.id or getAvailableOptions).
1 <= lengthcursor?stringOpaque cursor from the previous page's nextCursor. Omit for the first page.
limit?integerPage size.
1 <= value <= 10050List lead forms
application/json- response
leadForms*array<>nextCursor*|Pass as cursor to read the next page. Null when there is no next page.
curl -X GET "https://example.com/v1/brands/0/ad-accounts/string/lead-forms?pageId=string" \ -H "Authorization: Bearer koast_sk_..."{ "leadForms": [ { "id": "string", "name": "string" } ], "nextCursor": "string"}Required scope: read. CLI: koast list-lead-forms, see Ad Accounts commands. Authentication, headers, errors and pagination work the same on every operation. See Conventions.
List ad account campaigns
Lists every campaign in the ad account on the ad platform, including those not imported into Koast. Filter by statusFilter or by a case-insensitive name substring with nameQuery. Values are live reads from the ad platform.
Get account naming convention
Returns the naming convention templates configured for the ad account at the campaign, ad set and ad levels, with examples.