Enables or disables a provider and returns the next required activation step.
Request
Bearer <API_KEY> from Console > Developers > Workspace API Keys.
Path parameters
Client identifier of the app.
Provider identifier (e.g., smartid, ftn).
Request body
true to enable the provider, false to disable it.
Response
The provider that was updated.
Whether the provider is now enabled.
The next incomplete step: enable, company-info, upload, review, book-meeting, api-key, or activated.
Returns enable when the provider is turned off.Use this value to determine what to do next — for example, if currentStep is company-info, proceed to Update Company Info.
curl -X PATCH \
-H "Authorization: Bearer sk_workspace_test_..." \
-H "Content-Type: application/json" \
-d '{"enabled": true}' \
"https://sandbox.api.hopae.com/connect/v1/apps/abc123/providers/smartid/activation"
{
"providerId": "smartid",
"enabled": true,
"currentStep": "company-info"
}