curl -X POST \ -H "Authorization: Bearer sk_workspace_test_..." \ -H "Content-Type: application/json" \ -d '{ "name": "KYC Premium", "entryNodeId": "nd_req", "nodes": [ { "id": "nd_req", "type": "request", "next": "nd_verify" }, { "id": "nd_verify", "type": "verification", "next": "nd_resp", "config": { "channel": "oidc", "claims": ["name", "birthdate"] } }, { "id": "nd_resp", "type": "response" } ] }' \ "https://sandbox.api.hopae.com/connect/v1/apps/abc123/workflows"
{ "workflowId": "wf_abc123", "name": "KYC Premium", "entryNodeId": "nd_req", "nodes": [ { "id": "nd_req", "type": "request", "next": "nd_verify" }, { "id": "nd_verify", "type": "verification", "next": "nd_resp", "config": { "channel": "oidc", "claims": ["name", "birthdate"] } }, { "id": "nd_resp", "type": "response" } ], "createdAt": "2025-01-15T10:00:00.000Z", "updatedAt": "2025-01-15T10:00:00.000Z" }
Create a new workflow for an app.
VERIFICATION
app.providers
Bearer <API_KEY>
application/json
nodes
Show Node properties
request
verification
check-min-loa
check-claim
evaluate
if
response
IF