跳转到主要内容
POST
/
base
/
{baseId}
/
workflow
/
{workflowId}
/
trigger
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/base/{baseId}/workflow/{workflowId}/trigger \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "recordCreated",
  "name": "<string>",
  "description": "<string>",
  "config": "<unknown>"
}
'
{}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

baseId
string
必填
workflowId
string
必填

请求体

application/json
type
enum<string>
必填

type of trigger

可用选项:
recordCreated,
recordUpdated,
recordCreatedOrUpdated,
buttonClick,
formSubmitted,
scheduledTime
name
string

name of the node

description
string

description of the node

config
any | null

node configuration

响应

201 - application/json

Successful created

The response is of type object.

Last modified on December 10, 2025