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 }

Documentation Index

Fetch the complete documentation index at: https://docs.hopae.com/llms.txt

Use this file to discover all available pages before exploring further.

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.
Idempotency-Key
string
Optional client-generated string (max 255 chars) to safely retry without re-executing. Valid for 24 hours.

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 }