---
title: "Seed Test Connection"
method: POST
path: "/api/v1/crm/connections/{connection_id}/seed-test"
tags: ["crm"]
---

# Seed Test Connection

`POST /api/v1/crm/connections/{connection_id}/seed-test`

## Request

- Base URL: `https://app.goodleads.club` (the document declares no server; this is the origin it was published from)
- URL: `https://app.goodleads.club/api/v1/crm/connections/{connection_id}/seed-test`
- Auth: API key in header `X-API-Key`

Verify a live connection end to end with one synthetic seed lead.

Server-side by design: access tokens are EncryptedText and never leave
the server, so the whole deliver → read-back → delete cycle runs here.
Delivery goes through the real adapter (`ADAPTERS[provider].deliver_one`)
but writes NO CrmDelivery / CrmPublishJob rows — this is a probe, not a
delivery. Returns the exhaustive checklist ({check, expected, actual, ok}
per field/tag/placement/link), `passed`, distilled `mismatches`, the
`discoveries` map (candidate payload variants tried in-run, with the
empirically working one named per construct), and the cleanup report —
deletion failures surface as `leftover_records`.

## Path parameters

- `connection_id` string, required

## Request body

- SeedTestRequest
  - `run_suffix` string, nullable
  - `campaign_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/goodleads/apis/formation-gtm-api.md) · [All operations](https://skmtc.dev/goodleads/apis/formation-gtm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/goodleads/apis/formation-gtm-api/revisions/2068d13a82cf?raw)
