---
title: "Create an organization lead intake source"
method: POST
path: "/sources"
tags: ["Sources"]
---

# Create an organization lead intake source

`POST /sources`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/sources`
- Auth: HTTP bearer

Creates a lead source for the current organization, storing intake credentials and routing context for captured external leads.

## Request body

- SourceRequest: Defines the fields clients can send when working with lead source.
  - `name` string, nullable: Human-readable source name.
  - `dailyLeadLimit` integer, nullable: Maximum new leads accepted per UTC day. Null means unlimited; zero pauses intake.
  - `description` string, nullable: Human-readable description that explains this lead source request to API users.
  - `automaticPhoneLookup` boolean: Whether to look up lead phone numbers during intake. When disabled, lookup is required before calling or texting.
  - `normalizeIncomingData` boolean: Whether to normalize capitalization in incoming lead names and cities.
  - `automaticConsentValidation` boolean: Whether to validate consent certificates during intake. Skipped validation leaves consent unverified.
  - `requiresTrustedForm` boolean: Indicates whether leads from this source must include a TrustedForm or Leadping Consent certificate for consent proof.
  - `defaultTagIds` string[], required: Tag IDs automatically assigned to leads created by this source.
  - `defaultTagNames` string[], required: Tag names automatically assigned to leads created by this source.

## Response `201`

Source was successfully created.

- SourceCredentialIssueResponse: Returns a newly issued source credential exactly once.
  - `source` SourceResponse: Describes lead source data returned by Leadping.
    - `isDemo` boolean: Whether this record belongs to demo data.
    - `dailyLeadLimit` integer, nullable: Maximum new leads accepted per UTC day. Null means unlimited; zero pauses intake.
    - `description` string, nullable: Human-readable description that explains this lead source response to API users.
    - `enabled` boolean: Indicates whether this lead source response is active and available in the Leadping API.
    - `apiKeyPreview` string, nullable: Masked preview of the source API key for compact display.
    - `apiKeyRotatedAt` string, date-time, nullable: UTC timestamp when the source credential was most recently rotated.
    - `firstLeadReceivedAt` string, date-time, nullable: UTC timestamp when this source first delivered a lead to Leadping.
    - `lastLeadReceivedAt` string, date-time, nullable: UTC timestamp when this source most recently delivered a lead to Leadping.
    - `user` IdNamePair, nullable: User summary connected to this automation configuration response.
      - `id` string, required
      - `name` string, required
    - `createdByUser` IdNamePair, nullable: User summary connected to this automation configuration response.
      - `id` string, required
      - `name` string, required
    - `createdByUserEmail` string, email, nullable: Email used to resolve the creator's avatar.
    - `modifiedByUser` IdNamePair, nullable: User summary connected to this automation configuration response.
      - `id` string, required
      - `name` string, required
    - `organization` IdNamePair, nullable: User summary connected to this automation configuration response.
      - `id` string, required
      - `name` string, required
    - `costPerLead` number, double, nullable: Configured cost charged when this source creates a billable lead.
    - `automaticPhoneLookup` boolean: Whether to look up lead phone numbers during intake. When disabled, lookup is required before calling or texting.
    - `normalizeIncomingData` boolean: Whether to normalize capitalization in incoming lead names and cities.
    - `automaticConsentValidation` boolean: Whether to validate consent certificates during intake. Skipped validation leaves consent unverified.
    - `requiresTrustedForm` boolean: Indicates whether leads from this source must include a TrustedForm or Leadping Consent certificate for consent proof.
    - `complianceApproved` boolean: Indicates whether the organization or sender passed compliance review.
    - `defaultTagIds` string[]: Tag IDs automatically assigned to leads created by this source.
    - `defaultTags` TagSummary[]: Default tag summaries automatically applied to leads from this source.
      - `id` string: Unique Leadping identifier for this tag summary.
      - `name` string: Display name for this tag summary in the Leadping API.
      - `normalizedName` string: Normalized name used for case-insensitive tag matching and deduplication.
      - `color` string, nullable: Hex color used to display this tag or status in Leadping clients.
    - `name` string
    - `id` string
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time, nullable
  - `secret` string: Newly issued source credential. Leadping does not retain this plaintext value.

## Other responses

- `400`: The request was invalid or malformed.
- `401`: Authentication credentials are missing or invalid.
- `403`: The caller does not have permission to perform this operation.
- `404`: The requested resource or required account context was not found.
- `415`: The request content type is not supported by this endpoint.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-11-23** `dc1ddf79f3a9`: 3 info
  - added the new optional request property `allOf[#/components/schemas/SourceRequest]/normalizeIncomingData` (media type: application/json)
  - added the new optional request property `allOf[#/components/schemas/SourceRequest]/normalizeIncomingData` (media type: application/*+json)
  - added the optional property `allOf[#/components/schemas/SourceCredentialIssueResponse]/source/allOf[#/components/schemas/SourceResponse]/normalizeIncomingData` to the response with the `201` status
- **2026-11-11** `81aed8c9afb7`: 3 info
  - added the non-success response with the status `404`
  - added the non-success response with the status `415`
  - added the non-success response with the status `500`
- **2026-10-27** `22db4c970c18`: 3 info
  - added the new optional request property `allOf[#/components/schemas/SourceRequest]/automaticConsentValidation` (media type: application/json)
  - added the new optional request property `allOf[#/components/schemas/SourceRequest]/automaticConsentValidation` (media type: application/*+json)
  - added the optional property `allOf[#/components/schemas/SourceCredentialIssueResponse]/source/allOf[#/components/schemas/SourceResponse]/automaticConsentValidation` to the response with the `201` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/sources/post.md)

---

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