{ "opencollection": "1.0.0", "info": { "name": "Stytch B2B Authentication Application B2B TOTP API", "version": "2.0.0" }, "items": [ { "info": { "name": "B2B TOTP", "type": "folder" }, "items": [ { "info": { "name": "Create", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/b2b/totp", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new TOTP instance for a Member. The Member can use the authenticator application of their choice to scan the QR code or enter the secret. \n\nIf the Member already has an active MFA factor, then passing an intermediate session token, session token, or session JWT with the existing MFA factor on it is required to prevent bypassing MFA. \n\nOtherwise, passing an intermediate session token, session token, or session JWT is not required, but if passed must match the `member_id` passed." }, { "info": { "name": "Authenticate", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/b2b/totp/authenticate", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticate a Member provided TOTP." }, { "info": { "name": "Migrate", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/b2b/totp/migrate", "body": { "type": "json", "data": "{}" } }, "docs": "Migrate an existing TOTP instance for a Member. Recovery codes are not required and will be minted for the Member if not provided." } ] } ], "bundled": true }