Pular para o conteúdo principal
POST
/
pipelines
Create pipeline
curl --request POST \
  --url https://app.dilli.studio/api/v1/pipelines \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "stages": [
    {
      "id": "<string>",
      "external_id": "<string>",
      "name": "<string>",
      "order": 123,
      "color": "<string>",
      "probability": 123
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Use o Playground da API abaixo para enviar esta requisição com sua X-Api-Key. A URL base e os cabeçalhos são preenchidos automaticamente; atualize quaisquer campos de caminho, consulta ou corpo e clique em Enviar.

Autorizações

X-Api-Key
string
header
obrigatório

Corpo

application/json
name
string
obrigatório
description
string | null
is_default
boolean
stages
object[]

Resposta

201 - application/json

Created

id
string

ULID

name
string
description
string | null
stages
object[]
created_at
string<date-time>
updated_at
string<date-time>