Skip to main content
PATCH
/
apps
/
{client_id}
/
providers
/
{provider_id}
/
activation
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"
}
Enables or disables a provider and returns the next required activation step.

Request

Authorization
string
required
Bearer <API_KEY> from Console > Developers > Workspace API Keys.
Content-Type
string
application/json

Path parameters

client_id
string
required
Client identifier of the app.
provider_id
string
required
Provider identifier (e.g., smartid, ftn).

Request body

enabled
boolean
required
true to enable the provider, false to disable it.

Response

providerId
string
The provider that was updated.
enabled
boolean
Whether the provider is now enabled.
currentStep
string
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"
}