Skip to main content
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

Authorization
string
required
Bearer <API_KEY> from Console > Developers > Workspace API Keys.

Path parameters

client_id
string
required
Client identifier of the app.
workflow_id
string
required
Workflow identifier to set as default.

Response

success
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 }