POST
/
base
/
{baseId}
/
workflow
curl --request POST \
  --url https://app.teable.cn/api/base/%7BbaseId%7D/workflow \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/json' \
  --data '{"name":"string","description":"string"}'
{
  "id": "<string>",
  "baseId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "hasDraft": true,
  "isActive": true,
  "edges": [
    {
      "source": "<string>",
      "target": "<string>"
    }
  ],
  "nodes": [
    {}
  ],
  "createdBy": "<string>",
  "createdTime": "<string>",
  "lastModifiedTime": "<string>",
  "lastModifiedBy": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

baseId
string
required

Body

application/json

Response

201 - application/json
Successful created

The response is of type object.