Skip to content

Confirm 2FA setup

POST
/api/v1/auth/2fa/confirm

Confirm two-factor authentication setup by verifying a code from the chosen method. Returns a set of one-time backup codes on success.

Authorizations

HTTPBearer
Type
HTTP (bearer)

Request Body

application/json
JSON
{
"code": "string"
}

Responses

Successful Response

application/json
JSON
{
"backup_codes": [
"string"
],
"message": "string"
}

Playground

Server
Authorization
Body

Samples

Powered by VitePress OpenAPI

XC AI Content Automation