Email aliases
Check an email alias
Whether @stacksync.email is free for a Genie's email channel or a workflow's email trigger step, checked in every region with that user's own rules. The Genies of one workspace may share an address; a step's own alias counts as free for that step. A read: any member of the workspace may check.
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.
alias*stringThe email alias to check, the part before @stacksync.email.
used_by*EmailAliasUsergenie for a Genie's email channel, workflow_email_trigger for a workflow's email trigger step
"genie""workflow_email_trigger"region?|workflow_email_trigger only, required: the region of the workflow (besg or usnv)
nullworkflow_id?|workflow_email_trigger only, required: the workflow of the email trigger step
nullstep_id?|workflow_email_trigger only: the email trigger step; the alias it already has counts as free
nullOK
application/json- response
alias*AliasThe alias checked, trimmed and in lower case as it is stored
email_address*Email AddressThe address the alias gives, @stacksync.email
is_available*Is Availablereason?|Why the alias cannot be used, or with whom it is shared; null when it is free
nullcurl -X GET 'https://api.stacksync.com/v1/workspaces/0/email-aliases/string/availability?used_by=genie'{ "alias": "<alias>", "email_address": "<email_address>", "is_available": false, "reason": "<reason>"}DELDelete an app trigger
Removes the trigger from where it is attached, in one call: the workflow's trigger step with its edges (a deployed latest version needs a new draft first, 409), or the genie's Trigger interface, and the watch of the app.
GETList API proxies
The API proxies of the workspace in one region that the caller may see (created by them, or shared), newest first.