Pular para o conteúdo principal
POST
/
v1
/
kanban
/
pipelines
/
{pipelineId}
/
cards
curl -X POST "https://api.whatabot.app/api/v1/kanban/pipelines/pipeline-uuid/cards" \
  -H "X-Api-Key: wh_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"stageId": "stage-uuid", "values": {"name": "Maria Souza"}, "tags": ["hot"]}'
{
  "id": "card-uuid",
  "pipelineId": "pipeline-uuid",
  "stageId": "stage-uuid",
  "sessionId": null,
  "tags": ["hot"],
  "values": {
    "name": "Maria Souza"
  },
  "createdAt": "2026-04-20T10:00:00.000Z",
  "movedAt": "2026-04-20T10:00:00.000Z"
}
Cria um novo card em um estágio específico do pipeline.
X-Api-Key
string
obrigatório
Sua chave de API (prefixada com wh_).
pipelineId
string
obrigatório
UUID do pipeline.

Body

stageId
string
obrigatório
UUID do estágio onde o card será criado.
values
object
Valores dos campos do card (chave = ID do campo, valor = dado).
tags
string[]
Lista de tags para o card.

Exemplos de payload

{
  "stageId": "stage-uuid"
}
curl -X POST "https://api.whatabot.app/api/v1/kanban/pipelines/pipeline-uuid/cards" \
  -H "X-Api-Key: wh_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"stageId": "stage-uuid", "values": {"name": "Maria Souza"}, "tags": ["hot"]}'
{
  "id": "card-uuid",
  "pipelineId": "pipeline-uuid",
  "stageId": "stage-uuid",
  "sessionId": null,
  "tags": ["hot"],
  "values": {
    "name": "Maria Souza"
  },
  "createdAt": "2026-04-20T10:00:00.000Z",
  "movedAt": "2026-04-20T10:00:00.000Z"
}