---
title: "Create test lead"
method: POST
path: "/ads/lead-forms/{id}/test-leads"
tags: ["Ads"]
---

# Create test lead

`POST /ads/lead-forms/{id}/test-leads`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/ads/lead-forms/{id}/test-leads`
- Auth: API key in header `Authorization`

Seed a synthetic test lead.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Request body

- object: Test lead.
  - `account_id` string
  - `field_data` unknown[]
    - unknown

## Response `201`

Test lead.

- object: Test lead.

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `409`: Account not activated for ads (call POST /v1/socials/activate first).
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
