> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Phone Nr

> Verifies a phone number corresponding to an account that is being created.

## Overview

Verifies a phone number corresponding to an account that is being created. When creating an account using /Account/Create, the account is at first disabled. This means, it cannot be used actively in the API. To enable an account, you need to verify the e-mail address provided when creating the account. If providing a phone number, you need to verify the phone number as well. If not providing a phone number you can skip this step. The account creation call will send an e-mail with a code to the e-mail address, as well as an SMS to the phone number, if such is provided. The code sent to  the phone number needs to be provided in a call to this resource, together with the phone number

## Authentication

No authentication required.

## Notes

This endpoint uses the request schema notation described in [Pattern matching](/guides/pattern-matching).


## OpenAPI

````yaml /test-api/openapi.yaml post /Agent/Account/VerifyPhoneNr
openapi: 3.1.0
info:
  title: Neuron Agent API
  version: 1.0.0
  description: |-
    The Agent API exposes core Neuron functionality over HTTP so services can
    operate without a persistent XMPP connection. Endpoints are grouped by
    capability, starting with Accounts and XMPP messaging.
servers:
  - url: https://{host}
    variables:
      host:
        default: neuron.example.com
        description: Neuron domain issued to you.
security:
  - bearerAuth: []
tags:
  - name: Accounts
  - name: Crypto
  - name: Open intelligence
  - name: Legal and contracts
  - name: State machines
  - name: Storage
  - name: Tokens
  - name: Wallet
  - name: XMPP messaging
paths:
  /Agent/Account/VerifyPhoneNr:
    post:
      tags:
        - Accounts
      summary: Verify Phone Nr
      description: >-
        Verifies a phone number corresponding to an account that is being
        created.
      operationId: post_Agent_Account_VerifyPhoneNr
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                phoneNr:
                  type: string
                code:
                  type: integer
              additionalProperties: true
              required:
                - phoneNr
                - code
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  phoneNr:
                    type: string
                  userName:
                    type: string
                additionalProperties: true
                required:
                  - phoneNr
                  - userName
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````