---
title: "Retrieve the lead schema mapping for a specific campaign"
method: GET
path: "/campaigns/{campaignId}/lead-schema-mapping"
tags: ["Campaigns"]
---

# Retrieve the lead schema mapping for a specific campaign

`GET /campaigns/{campaignId}/lead-schema-mapping`

## Request

- Base URL: `https://api.pitchlane.com/api/public/v1`
- URL: `https://api.pitchlane.com/api/public/v1/campaigns/{campaignId}/lead-schema-mapping`
- Auth: API key in header `X-API-Key`

## Path parameters

- `campaignId` string, required

## Response `200`

Returns the lead schema mapping associated with the campaign

- object
  - `leadSchemaMapping` object: The mapping for the campaign's lead schema. The keys of this should be what goes in your API request body.
  - `examplePayload` object: An example estimated API request body payload

## Other responses

- `404`: Campaign not found

---

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