Step-up verification in the API reference

Some requests ask a signed-in person to verify their identity again before they go through, even when the session is valid. You meet this only when you test the API by hand from the API reference: the integrations you build authenticate as API clients, and an API client is never asked to verify, because there is no person to complete the check.

Which requests ask for it

Reads never ask. These writes do:

  • Create an API client: POST /iam/api-clients
  • Update or delete an API client: PATCH or DELETE /iam/api-clients/{apiClientId}
  • Add, change or delete an API client's key: POST /iam/api-clients/{apiClientId}/credentials, and PATCH or DELETE on one credential
  • Rotate an API client's secret: POST /iam/api-clients/{apiClientId}/credentials/{apiClientCredentialId}/rotate-secret
  • Delete an organization: DELETE /organizations/{orgId}
  • Delete a subscription: DELETE /subscriptions/{subscriptionId}

Each of these carries a Step-up MFA badge in the reference.

What the refusal looks like

When your last multi-factor check is not recent enough, the request answers 401 with a WWW-Authenticate challenge and a problem body whose type ends in step-up-required:

HTTP
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer error="insufficient_user_authentication",
  error_description="This action requires recent identity verification.", max_age=300
Content-Type: application/problem+json

{
  "type": "https://api.cybersentriq.com/problems/step-up-required",
  "title": "Unauthorized",
  "status": 401,
  "detail": "This action requires recent identity verification.",
  "max_age": 300
}

max_age is how recent, in seconds, the check has to be.

A 401 with any other type means the session itself has expired: log in again. A 403 is never a request to verify; it means you are not permitted to perform the action, and verifying again will not change that.

How to clear it

  1. When the refusal arrives, the reference shows a notice in the bottom right with a Verify with MFA button. Select it.
  2. Complete the multi-factor check in the window that opens. If your account uses a passkey, the check can complete without a visible prompt.
  3. Send the same request again, unchanged. The check stays fresh for the max_age window, so you can send several of these requests in a row.

You can also verify before you send: open the account menu at the top of the reference and select Verify with MFA.

Next