# Confirm authentication with phone number

Step 2. Validate the provided authentication code. After 3 failed attempts, the current user session will be invalidated.

Endpoint: POST /api/v1/accounts/phone/change/confirm/auth
Version: 1.0
Security: header

## Request fields (application/json):

  - `code` (integer, required)
    Confirmation code
    Example: 854882

## Response 400 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation

## Response 401 fields (application/json):

  - `errorCode` (string, required)
    Error code

  - `message` (string, required)
    Error message

  - `docUrl` (string)
    Link to documentation


