Skip to main content
POST
automateWorkflow

Authorizations

Authorization
string
header
required

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

Query Parameters

workflowid
integer
required

Workflow ID the agent runs.

Body

Schedule of an agent (automated workflow).

seconds_until_next_execution
integer

How often the agent repeats, in seconds (86400 = daily). 0 means it runs once.

start_time
string

When the agent next runs, "yyyy-MM-dd HH:mm:ss" in the account timezone.

description
string

Description of the agent. Can be null.

blackout_start
string

Start of the daily period the agent must not run, "HH:mm" in the account timezone, or null.

blackout_end
string

End of the daily period the agent must not run, "HH:mm" in the account timezone, or null.

blackout_days
string

Days the agent must not run, as English day names (e.g. "Saturday", "Sunday"). Checked against the current day in UTC.

active
integer

1 = agent on, 0 = agent off.

Response

Success

invoice_id
integer
message
string
status
enum<integer>
Available options:
0,
1,
2,
3