deprecated
List actions
GET
https://api.cakemail.dev
/workflows/{workflow_id}/actions
deprecated
Create an action
POST
https://api.cakemail.dev
/workflows/{workflow_id}/actions
path Parameters
workflow_id
string · required
query Parameters
account_id
integer · min: 1lock_key
string · pattern:^[a-zA-Z0-9-_]{8,}$
Request Body
name
string · requiredcondition
string · enum · requiredEnum values:openednot_openedclickednot_clickednonedelay
integer · requiredtype
string · enum · requiredEnum values:email
parent_id
stringemail_settings
object
Responses
id
string · requireddata
object · requiredobject
stringDefault: actioncreated
booleanDefault: true
deprecated
deprecated
Delete an action
DELETE
https://api.cakemail.dev
/workflows/{workflow_id}/actions/{action_id}
deprecated
Update an action
PATCH
https://api.cakemail.dev
/workflows/{workflow_id}/actions/{action_id}
path Parameters
action_id
string · requiredworkflow_id
string · required
query Parameters
account_id
integer · min: 1lock_key
string · pattern:^[a-zA-Z0-9-_]{8,}$
Request Body
name
stringparent_id
stringcondition
string · enumEnum values:openednot_openedclickednot_clickednonedelay
integertype
string · enumEnum values:emailemail_settings
object
Responses
id
string · requireddata
object · requiredobject
stringDefault: actionpatched
booleanDefault: true
deprecated
deprecated
Send a test of an action
POST
https://api.cakemail.dev
/workflows/{workflow_id}/actions/{action_id}/send-test
path Parameters
workflow_id
string · requiredaction_id
string · required
query Parameters
account_id
integer · min: 1lock_key
string · pattern:^[a-zA-Z0-9-_]{8,}$
Request Body
email
string · email · required
type
string · enumEnum values:mergedseparatedDefault: merged
Responses
id
string · requiredobject
stringDefault: actionsent
booleanDefault: true
deprecated
Show action links
GET
https://api.cakemail.dev
/workflows/{workflow_id}/actions/{action_id}/links