Skip to main content
POST
/
ads
/
lead-forms
/
{id}
/
test-leads
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.createTestLead({
    id: "<id>",
    requestBody: {},
  });

  console.log(result);
}

run();
{}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

id
string
required

Form id.

Body

application/json

Test lead.

account_id
string
field_data
array

Response

Test lead.

Test lead.