{ "opencollection": "1.0.0", "info": { "name": "Stytch B2B Authentication Application B2B Recovery Codes API", "version": "2.0.0" }, "items": [ { "info": { "name": "B2B Recovery Codes", "type": "folder" }, "items": [ { "info": { "name": "Recover", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/b2b/recovery_codes/recover", "body": { "type": "json", "data": "{}" } }, "docs": "Allows a Member to complete an MFA flow by consuming a recovery code. This consumes the recovery code and returns a session token that can be used to authenticate the Member." }, { "info": { "name": "Get", "type": "http" }, "http": { "method": "GET", "url": "https://api.stytch.com/v1/b2b/recovery_codes/:organization_id/:member_id", "params": [ { "name": "organization_id", "value": "", "type": "path", "description": "Globally unique UUID that identifies a specific Organization. The `organization_id` is critical to perform operations on an Organization, so be sure to preserve this value. You may also use the organization_slug or organization_external_id here as a convenience." }, { "name": "member_id", "value": "", "type": "path", "description": "Globally unique UUID that identifies a specific Member. The `member_id` is critical to perform operations on a Member, so be sure to preserve this value. You may use an external_id here if one is set for the member." } ] }, "docs": "Returns a Member's full set of active recovery codes." }, { "info": { "name": "Rotate", "type": "http" }, "http": { "method": "POST", "url": "https://api.stytch.com/v1/b2b/recovery_codes/rotate", "body": { "type": "json", "data": "{}" } }, "docs": "Rotate a Member's recovery codes. This invalidates all existing recovery codes and generates a new set of recovery codes." } ] } ], "bundled": true }