---
title: "Create Referral"
method: POST
path: "/api/sales/referrals"
tags: ["sales"]
---

# Create Referral

`POST /api/sales/referrals`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/sales/referrals`
- Auth: none declared

Somebody pointed us at somebody else -- typed in by a human here, parsed
out of a reply by Rooster elsewhere. Both land as 'pending'.

Returns `duplicate` rather than an error when this name is already an open
referral at this account: two people naming the same warden is one rung, and
the second person to say it has not done anything wrong.

## Request body

- RecordReferralRequest
  - `from_contact_id` string, uuid, required
  - `org_id` string, uuid, required
  - `referred_name` string, nullable
  - `referred_title` string, nullable
  - `referred_email` string, nullable
  - `referred_phone` string, nullable
  - `quote` string, nullable
  - `origin` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
