Workflows
Check a workflow email alias
Whether @stacksync.email is free for an email trigger step of this workflow (aliases are unique across every workspace); the step's own alias counts as free.
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
workflow_id*stringThe workflow.
uuidalias*stringThe email alias to check, the part before @stacksync.email.
region*RegionsData region of the resources: besg (Europe) or usnv (United States), as GET /v1/regions lists them.
"besg""usnv"step_id?|The email trigger step that would use it: its own alias does not count as taken
nullOK
application/json- response
alias*Aliasemail_address*Email Addressis_available*Is Availablecurl -X GET 'https://api.stacksync.com/v1/workspaces/0/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/email-aliases/string?region=besg'{ "alias": "<alias>", "email_address": "<email_address>", "is_available": false}PATCHSave workflow draft
Save a whole document over the latest draft, as the builder's Save does: the triggers of the new and changed steps (schedules, email, Gmail, queue consumers, sync triggers) are set up first, then the document is saved. A deployed latest version needs a new draft first (POST /workflows/<workflow_id>/drafts).
POSTList execution logs
The runs of a workflow (or of several, options.workflows) matching the log explorer's query and time range, with the sections asked for (rows, count and chart, payload keys) and the cursors of the listing mode.