Create Workflow PolicyAsk AIpost https://{application_vanity_domain}/api/v1/workflow-policiesQuery ParamsupsertbooleanDefaults to falseBoolean indicating if the operation should be treated as an upserttruefalseBody ParamsWorkflow Policy JSON objectChange Email Workflow PolicyEnterprise IdP Login Workflow PolicyExisting User Invitation Workflow PolicyLogin Workflow PolicyNew User Invitation Workflow PolicyPassword Reset Workflow PolicySignup Workflow PolicyTenant Discovery Workflow PolicyidstringownerTypestringenumrequiredlength between 1 and 30[Required on Create and Upsert] The type of the owner of the resource.APPLICATIONAPPLICATIONTENANTAllowed:APPLICATIONTENANTownerIdstringrequiredlength between 1 and 26[Required on Create and Upsert] The ID of the owner of the resource.typestringenumrequiredlength between 1 and 30[Required on Create and Upsert] The type of the workflow policySIGNUPCHANGE_EMAILENTERPRISE_IDP_LOGININVITE_NEW_USERINVITE_EXISTING_USERLOGINPASSWORD_RESETSIGNUPTENANT_DISCOVERYShow 8 enum valuesmetadatastringcustomRedirectEnabledbooleanBoolean indicating if a custom redirect is enabled.truetruefalsecustomRedirectUrlurilength between 1 and 2000Custom redirect URL that users will be redirected to at the end of the workflow if custom redirects are enabled.Responses 200OK 201Created 400Bad Request 401Unauthorized 403Forbidden 405Method Not Allowed 406Not Acceptable 409Conflict 415Unsupported Media Type 500Internal Server Error 503Service UnavailableUpdated 6 months ago