Skip to main content

Run an EmpowerID workflow via BFF

Goal: execute a configured EmpowerID workflow through the BFF.

Prereqs

  • Workflow defined in ServiceConfigs/BFF/config/empowerid_endpoints.yaml under workflows.*
  • BFF session cookie present

Command

curl -X POST https://.../api/v1/empowerid/workflow \
-H "Content-Type: application/json" \
--cookie "_eid_sid=..." \
-d '{"workflow_name":"PersonDelete","parameters":{"PersonID":"<GUID>"}}'

Troubleshooting

  • 404: name not in catalog; check workflows.*
  • 403: PDP deny; confirm pdp_resource/pdp_action and user permissions
  • 401: BFF session missing

See also: ../reference/empowerid-direct, ./call-empowerid-webui