---
title: "Criar lead"
method: POST
path: "/leads"
tags: ["Leads"]
---

# Criar lead

`POST /leads`

Cria um novo lead.

## Request body

- object — Dados do lead
  - `agentId` string, nullable — Assistente que capturou o lead
  - `name` string, nullable — Nome
  - `email` string, nullable — Email
  - `phone` string, nullable — Telefone
  - `company` string, nullable — Empresa
  - `site` string, nullable — Site
  - `custom` object — Campos
  - `utm` object — Informações de rastreamento UTM
    - `source` string, nullable — Fonte (`utm_source`)
    - `medium` string, nullable — Meio (`utm_medium`)
    - `campaign` string, nullable — Campanha (`utm_campaign`)
    - `content` string, nullable — Conteúdo (`utm_content`)
    - `term` string, nullable — Termo (`utm_term`)
  - `capture` 'completed' | 'partial' — Status da captura de dados do lead

## Response `200`

Successful response

- object — Dados do lead
  - `id` string, required — Identificador do lead
  - `agentId` string, nullable — Assistente que capturou o lead
  - `name` string, nullable — Nome
  - `email` string, nullable — Email
  - `phone` string, nullable — Telefone
  - `company` string, nullable — Empresa
  - `site` string, nullable — Site
  - `custom` object — Campos
  - `utm` object — Informações de rastreamento UTM
    - `source` string, nullable — Fonte (`utm_source`)
    - `medium` string, nullable — Meio (`utm_medium`)
    - `campaign` string, nullable — Campanha (`utm_campaign`)
    - `content` string, nullable — Conteúdo (`utm_content`)
    - `term` string, nullable — Termo (`utm_term`)
  - `capture` 'completed' | 'partial' — Status da captura de dados do lead
  - `workspaceId` string, required — Identificador do workspace associado
  - `createdAt` string, date-time — Data de criação
  - `updatedAt` string, date-time — Data da última atualização

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/rdstationmentoria/apis/agents.md) · [All operations](https://skmtc.net/rdstationmentoria/apis/agents/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rdstationmentoria/agents/revisions/e86f2f8dff55/schema)
