Create a workflow action
Creates a workflow action linked to an existing workflow. The action payload must match the selected action type. Requires the WORKFLOW_ACTION.CREATE permission.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
version
version
Headers
x-platform-id
Platform ID.
Request
This endpoint expects an object.
workflow_id
Workflow that owns this action.
type
Action type that selects the matching action configuration.
Allowed values:
status
Status of the action.
Allowed values:
description
Description of what this action does.
send_email_to_customer
Email action configuration used to send an email to the customer.
Response
Created
workflow_id
Workflow that owns this action.
type
Action type that selects the matching action configuration.
Allowed values:
status
Status of the action.
Allowed values:
object_type
id
description
Description of what this action does.
created_at
Date time when the action was created.
updated_at
Date time when the action was last updated.
send_email_to_customer
Email action configuration used to send an email to the customer.
Errors
401
Unauthorized Error
403
Forbidden Error