---
title: "Consent and second-factor state of this person and this sign-in session"
method: GET
path: "/api/me/security"
tags: ["security"]
---

# Consent and second-factor state of this person and this sign-in session

`GET /api/me/security`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/me/security`
- Auth: none declared

## Response `200`

OK.

- SecurityView
  - `consent` object, required
    - `required` boolean, required
    - `accepted` boolean, required
    - `version` string, required
    - `termsVersion` string, required
    - `privacyVersion` string, required
    - `termsUrl` string, required
    - `privacyUrl` string, required
    - `current` object, nullable, required
      - `version` string, required
      - `acceptedAt` string, date-time, required
      - `channel` 'web' | 'mcp' | 'rest' | 'whatsapp' | 'whatsapp_web' | 'telegram' | 'sms' | 'slack' | 'teams' | 'email' | 'voice' | 'scheduled', required
      - `method` 'checkbox' | 'continued_use', required
      - `termsVersion` string
      - `privacyVersion` string
      - `surface` 'console' | 'oauth_consent' | 'org_admin' | 'channel'
      - `recordId` string
  - `mfa` MfaStatus, required
    - `enrolled` boolean, required
    - `methods` string[], required
    - `totpEnrolledAt` string
    - `smsPhone` string
    - `recoveryRemaining` number, required
    - `locked` boolean, required
    - `required` boolean, required
    - `satisfied` boolean, required
    - `enforced` boolean, required
    - `available` boolean, required
  - `session` object, required
    - `signInProvider` string, nullable, required
    - `signedInAt` string, nullable, required
    - `sessionsValidAfter` string, nullable, required
  - `signInMethods` string[], required
  - `signIn` object, nullable, required
    - `orgId` string, required
    - `orgName` string, required
    - `method` 'google' | 'microsoft' | 'email_code' | 'phone_code' | 'sso' | 'null', nullable, required
    - `allowed` string[], required
    - `ok` boolean, required

## Other responses

- `401`: Unauthenticated.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
