curl -X POST \
-H "Authorization: Bearer sk_workspace_test_..." \
"https://sandbox.api.hopae.com/connect/v1/apps/abc123/workflows/wf_abc123/set-default"
{ "success": true }
Workflows
Set Default Workflow
Set a workflow as the app default.
POST
/
apps
/
{client_id}
/
workflows
/
{workflow_id}
/
set-default
curl -X POST \
-H "Authorization: Bearer sk_workspace_test_..." \
"https://sandbox.api.hopae.com/connect/v1/apps/abc123/workflows/wf_abc123/set-default"
{ "success": true }
Set this workflow as the app default. The default workflow is used when no
workflow_id is specified in the OIDC authorize request.
Request
string
required
Bearer <API_KEY> from Console > Developers > Workspace API Keys.string
Optional client-generated string (max 255 chars) to safely retry without re-executing. Valid for 24 hours.
Path parameters
string
required
Client identifier of the app.
string
required
Workflow identifier to set as default.
Response
boolean
true if default was updated.curl -X POST \
-H "Authorization: Bearer sk_workspace_test_..." \
"https://sandbox.api.hopae.com/connect/v1/apps/abc123/workflows/wf_abc123/set-default"
{ "success": true }

