Create flow

Create flow. See the OpenAPI-defined parameters, request body, and responses below.

POST /Flow

Create flow. See the OpenAPI-defined parameters, request body, and responses below.

OpenAPI description: Cria um registro de fluxo com os dados do corpo da requisição e retorna o registro criado.

Authentication

Authentication required. Send your user API key in the X-API-Key header.

Parameters

This operation has no path, query, or header parameters.

Request body

Content type: application/json · Schema: FlowDto

PropertyTypeRequiredDescriptionConstraints
idinteger · int32No——
namestringNo—nullable
descriptionstringNo—nullable
isActivebooleanNo——
createdAtstring · date-timeNo—nullable
createdByinteger · int32No——
updatedAtstring · date-timeNo—nullable
updatedByinteger · int32No——

Example request

curl --request POST \
  --url 'https://api.zild.ai/Flow' \
  --header 'X-API-Key: YOUR_USER_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 0,
  "name": "string",
  "description": "string",
  "isActive": true,
  "createdAt": "2026-09-22T18:00:00Z",
  "createdBy": 0,
  "updatedAt": "2026-09-22T18:00:00Z",
  "updatedBy": 0
}'

Responses

StatusDescriptionResponse body
200Operação concluída com sucesso.application/json · FlowDto

Example response (200):

{
  "id": 0,
  "name": "string",
  "description": "string",
  "isActive": true,
  "createdAt": "2026-09-22T18:00:00Z",
  "createdBy": 0,
  "updatedAt": "2026-09-22T18:00:00Z",
  "updatedBy": 0
}

Data models

FlowDto
PropertyTypeRequiredDescriptionConstraints
idinteger · int32No——
namestringNo—nullable
descriptionstringNo—nullable
isActivebooleanNo——
createdAtstring · date-timeNo—nullable
createdByinteger · int32No——
updatedAtstring · date-timeNo—nullable
updatedByinteger · int32No——