identity
GET /v1/me/sign-in-security
Whether this person has a second sign-in step (authenticator app or passkey).
Authentication
Send an API key as a bearer token. This endpoint checks no specific permission, so any key for your organisation can call it.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/me/sign-in-security \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
P1-059. Read from the identity provider (never changed here) and cached per person. checked is false when the identity provider could not be asked; the dashboard then shows nothing. nudge is true only when checked, there is no second step, and one of the person's own organisations has a site or a paid invoice (a prompt after first value, never a wall). An API key or an impersonating operator gets 403.
Response
| Name | Type | Required | What it is |
|---|---|---|---|
checked | boolean | Yes | False when the identity provider could not be asked. |
authenticator | boolean | Yes | An authenticator app (one-time codes) is set up. |
passkeys | integer | Yes | Passkeys and security keys set up. |
two_step | boolean | Yes | An authenticator app or at least one passkey. |
nudge | boolean | Yes | Show the "protect your account" prompt. |
Errors this endpoint can return
401 · 403