Crear etapa de flujo
Crea un estado de flujo. Vea los parámetros definidos por OpenAPI, el cuerpo de solicitud y las respuestas a continuación.
POST
/FlowStageCrea un estado de flujo. Vea los parámetros definidos por OpenAPI, el cuerpo de solicitud y las respuestas a continuación.
Descripción de OpenAPI: Registra una etapa vinculada a un flujo, con nombre, orden, responsables, indicadores de inicio y fin, color y límite de tareas en curso (WipLimit).
Autenticación
Se requiere autenticación. Envía tu clave de API de usuario en la cabecera X-API-Key.
Parámetros
Esta operación no tiene parámetros de ruta, consulta o encabezado.
Órgano solicitante
Tipo de contenido: application/json · Schema: FlowStageDto
| Propiedad | Tipo | Obligatorio | Descripción | Constraints |
|---|---|---|---|---|
id | integer · int32 | No | — | — |
flowId | integer · int32 | No | — | — |
name | string | No | — | nullable |
order | integer · int32 | No | — | — |
responsibleUserId | integer · int32 | No | — | nullable |
responsibleAgentId | integer · int32 | No | — | nullable |
isInitial | boolean | No | — | — |
isFinal | boolean | No | — | — |
color | string | No | — | nullable |
wipLimit | integer · int32 | No | — | nullable |
createdAt | string · date-time | No | — | nullable |
updatedAt | string · date-time | No | — | nullable |
Ejemplo de solicitud
curl --request POST \
--url 'https://api.zild.ai/FlowStage' \
--header 'X-API-Key: YOUR_USER_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"id": 0,
"flowId": 0,
"name": "string",
"order": 0,
"responsibleUserId": 0,
"responsibleAgentId": 0,
"isInitial": true,
"isFinal": true,
"color": "string",
"wipLimit": 0,
"createdAt": "2026-09-22T18:00:00Z",
"updatedAt": "2026-09-22T18:00:00Z"
}'
Respuestas
| Estado | Descripción | Cuerpo de respuesta |
|---|---|---|
200 | Operación completada correctamente. | application/json · FlowStageDto |
Respuesta de ejemplo (200):
{
"id": 0,
"flowId": 0,
"name": "string",
"order": 0,
"responsibleUserId": 0,
"responsibleAgentId": 0,
"isInitial": true,
"isFinal": true,
"color": "string",
"wipLimit": 0,
"createdAt": "2026-09-22T18:00:00Z",
"updatedAt": "2026-09-22T18:00:00Z"
}
Modelos de datos
FlowStageDto
| Propiedad | Tipo | Obligatorio | Descripción | Constraints |
|---|---|---|---|---|
id | integer · int32 | No | — | — |
flowId | integer · int32 | No | — | — |
name | string | No | — | nullable |
order | integer · int32 | No | — | — |
responsibleUserId | integer · int32 | No | — | nullable |
responsibleAgentId | integer · int32 | No | — | nullable |
isInitial | boolean | No | — | — |
isFinal | boolean | No | — | — |
color | string | No | — | nullable |
wipLimit | integer · int32 | No | — | nullable |
createdAt | string · date-time | No | — | nullable |
updatedAt | string · date-time | No | — | nullable |