---
title: "Create or import a lead in a workspace."
method: POST
path: "/v1/leads"
---

# Create or import a lead in a workspace.

`POST /v1/leads`

## Request

- Base URL: `https://www.kaicalls.com/api`
- URL: `https://www.kaicalls.com/api/v1/leads`
- Auth: HTTP bearer

Creates a lead (leads:write). For an imported walk-up or in-person customer, the integration may pass through a verified SMS opt-in by sending phone, sms_consent: true, and consent_language containing the exact disclosure the customer accepted. smsConsent, sms_opt_in, and text_consent are accepted aliases; consent: true asserts both SMS and voice consent. KaiCalls stores the disclosure and import source as consent provenance. Do not set an opt-in field unless the source system has verified the customer accepted that disclosure. A phone number alone remains cold and SMS is blocked, except for businesses explicitly configured for documented web-form implied consent. The 201 response includes consent ({ recorded, basis, channel }) whenever phone is supplied; send a portal invite only when consent.recorded is true.

## Request body

- object
  - `business_id` string, uuid, required
  - `name` string
  - `email` string
  - `phone` string: E.164 preferred; normalized on write.
  - `source` string
  - `sms_consent` boolean: Attests that the source system verified this customer explicitly opted in to SMS. For imported walk-up clients, send true with consent_language. Never set this merely because a phone number is present.
  - `consent_language` string: Exact SMS consent disclosure accepted by the customer. Stored with the capture source as proof/provenance.

## Response `201`

Lead created (includes a consent object when a phone was supplied).

## Other responses

- `400`: Malformed request (missing/invalid field).
- `403`: Missing leads:write scope, or business_id outside the key.

---

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