Skip to content

Workflows

Workflows define the stages a project moves through — from proposal to completion. Create custom workflows, add stages with colors, and assign workflows to projects.

FieldTypeDescription
iduuid
account_iduuid
namestring
is_defaultbool
stagesobject[]
created_atdatetime
updated_atdatetime

Endpoint: workflows-create

FieldTypeRequiredDescription
namestringYes
stagesobject[]Yes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/workflows-create \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "...", "stages": []}'

Endpoint: workflows-delete

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/workflows-delete \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: workflows-get

FieldTypeRequiredDescription
idstringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/workflows-get \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "..."}'

Endpoint: workflows-list

Endpoint: workflows-set-stages

FieldTypeRequiredDescription
idstringYes
stagesobject[]Yes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/workflows-set-stages \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "...", "stages": []}'

Endpoint: workflows-update

FieldTypeRequiredDescription
idstringYes
namestringYes
Terminal window
curl -X POST https://api.driftwoodapp.com/api/workflows-update \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id": "...", "name": "..."}'