{ "opencollection": "1.0.0", "info": { "name": "Stytch B2B Authentication Application TOTP API", "version": "2.0.0" }, "items": [ { "info": { "name": "TOTP", "type": "folder" }, "items": [ { "info": { "name": "Create", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/totps", "body": { "type": "json", "data": "{}" } }, "docs": "Create a new TOTP instance for a user. The user can use the authenticator application of their choice to scan the QR code or enter the secret." }, { "info": { "name": "Authenticate", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/totps/authenticate", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticate a TOTP code entered by a user." }, { "info": { "name": "Recoverycodes", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/totps/recovery_codes", "body": { "type": "json", "data": "{}" } }, "docs": "Retrieve the recovery codes for a TOTP instance tied to a User." }, { "info": { "name": "Recover", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/totps/recover", "body": { "type": "json", "data": "{}" } }, "docs": "Authenticate a recovery code for a TOTP instance." } ] } ], "bundled": true }