Pular para o conteúdo principal
POST
/
v1
/
flows
curl -X POST https://api.whatabot.app/api/v1/flows \
  -H "X-Api-Key: wh_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "Meu Flow"}'

Documentation Index

Fetch the complete documentation index at: https://docs.whatabot.app/llms.txt

Use this file to discover all available pages before exploring further.

Cria um novo flow associado a um espaço de trabalho.
X-Api-Key
string
obrigatório
Sua chave de API (prefixada com wh_).

Body

name
string
obrigatório
O nome do flow.

Exemplos de payload

{
  "name": "Meu Flow"
}
curl -X POST https://api.whatabot.app/api/v1/flows \
  -H "X-Api-Key: wh_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"name": "Meu Flow"}'