{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/api_b2b_totp_v1_CreateResponse", "title": "api_b2b_totp_v1_CreateResponse", "type": "object", "properties": { "request_id": { "type": "string", "description": "Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue." }, "member_id": { "type": "string", "description": "Globally unique UUID that identifies a specific Member." }, "totp_registration_id": { "type": "string", "description": "The unique ID for a TOTP instance." }, "secret": { "type": "string", "description": "The TOTP secret key shared between the authenticator app and the server used to generate TOTP codes." }, "qr_code": { "type": "string", "description": "The QR code image encoded in base64." }, "recovery_codes": { "type": "array", "items": { "type": "string" }, "description": "An array of recovery codes that can be used to recover a Member's account." }, "member": { "$ref": "#/components/schemas/api_organization_v1_Member", "description": "The [Member object](https://stytch.com/docs/b2b/api/member-object)" }, "organization": { "$ref": "#/components/schemas/api_organization_v1_Organization", "description": "The [Organization object](https://stytch.com/docs/b2b/api/organization-object)." }, "status_code": { "type": "integer", "format": "int32", "description": "The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors." } }, "required": [ "request_id", "member_id", "totp_registration_id", "secret", "qr_code", "recovery_codes", "member", "organization", "status_code" ] }