Skip to main content
GET
/
ads
/
lead-forms
/
{id}
Typescript (SDK)
import { Crevio } from "@crevio/sdk";

const crevio = new Crevio({
  apiKey: process.env["CREVIO_API_KEY"] ?? "",
});

async function run() {
  const result = await crevio.ads.leadForms.get({
    id: "<id>",
    accountId: "<id>",
  });

  console.log(result);
}

run();
{}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

Form id.

Query Parameters

account_id
string
required

Connected ad-capable channel id (sacct_…).

Response

Lead form.

Lead form.