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

# नेटवर्क पंजीकरण टेस्ट नंबर जोड़ें

> Didit में नेटवर्क सुविधा के पंजीकरण की समीक्षा के दौरान फ़ोन नंबर जोड़ें। नेटवर्क सुविधा के परीक्षण से पहले उसकी सत्यापन स्थिति पढ़ें।

[नेटवर्क पंजीकरण टेस्ट नंबर हटाएँ](https://docs.didit.me/hi/standalone-apis/phone-network-test-number-remove.md) भी देखें।


## OpenAPI

````yaml hi/openapi-25.json POST /v3/phone/network/registrations/{registration_id}/test-numbers/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: Identity verification API. Authenticate with x-api-key header.
servers:
  - url: https://verification.didit.me
security: []
tags:
  - name: Bank Data
    description: >-
      Bank Link, connections, accounts, balances, transactions, institutions and
      coverage. Bank data is available for sandbox applications. A live
      application's calls answer `404` until live access is announced. Nothing
      is charged in sandbox. A call made with an API key needs a key that
      carries the Bank data permission (`bank-data`): read for reads, write for
      operations that change something. The account check is the exception: it
      needs write access to sessions, or full access, and not the Bank data
      permission. Bank data is not part of full access: a full-access key is
      refused, and the call answers `403 bank_data_access_denied` until you
      create a key that carries the permission. Raw bank data (accounts,
      balances, transactions and the change feed) also refuses a request that
      carries no API key.


      Every refusal under `/v3/bank/` except the account check's has the same
      JSON body (`code`, `message`, `request_id`, `field`, `next_action`,
      `retry_after`). A path that is not an operation, an id that is not a UUID
      or an unknown sub-resource answers `404 not_found` for every method, and
      any unexpected error answers `500 internal_error` with a `request_id`.
      Where Bank data is not available, every operation answers the platform's
      standard `404`, exactly as an unknown route does.
paths:
  /v3/phone/network/registrations/{registration_id}/test-numbers/:
    post:
      tags:
        - Standalone APIs
      summary: Add a test number while the networks review
      description: >-
        Add a number you hold as a test number while the networks review a
        registration, so you can try the feature before it is approved: send it
        in E.164 (`phone_number`).


        Didit sends it a code and answers with `verification_id` and `status:
        code_sent`; check the code with `POST /v3/phone/check/` and the number.
        Once the code is checked the number is `verified`, and the feature
        answers for it under test access, marked `test: true`.


        **Limits.** A registration takes up to 5 test numbers (`409
        too_many_test_numbers`), and test access ends when the networks decide
        (`409 review_finished`).


        **Authentication.** Send your application's API key in `x-api-key`.


        **Rate limit.** Requests count against the key's budget; over it the
        answer is `429` with `Retry-After`.
      operationId: create_phone_network_registration_test_number
      parameters:
        - name: registration_id
          in: path
          required: true
          description: The network feature registration.
          schema:
            type: string
            example: nr_01JCP2F4Q8
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhoneNetworkRegistrationTestNumberRequest'
            examples:
              A number you hold:
                summary: A number you hold
                value:
                  phone_number: '+34600000012'
      responses:
        '201':
          description: The test number, with the verification that confirms it.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneNetworkRegistrationTestNumber'
              examples:
                Code sent:
                  summary: Code sent
                  value:
                    phone_number: '+34600000012'
                    status: code_sent
                    verification_id: pv_01JCH6D4T7N2XK8F
                    test_access: 'on'
        '400':
          description: '`invalid_phone_number` - Not a valid number in E.164.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
        '401':
          description: >-
            The `x-api-key` is wrong, revoked or expired: replace the
            credential.
        '403':
          description: >-
            The `x-api-key` header is missing, or a scoped key lacks the
            permission this call needs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
        '404':
          description: '`not_found` - No registration with this id in your application.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
        '409':
          description: >-
            `too_many_test_numbers` - A registration takes up to 5 test numbers.
            `review_finished` - The networks decided: test access has ended.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
        '429':
          description: >-
            `rate_limited` - Over 600 requests a minute for the key: wait for
            Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneApiError'
      security:
        - ApiKeyAuth: []
      x-codeSamples: []
components:
  schemas:
    PhoneNetworkRegistrationTestNumberRequest:
      type: object
      properties:
        phone_number:
          type: string
          pattern: ^\+[1-9]\d{6,14}$
          description: A number you hold, in E.164. Didit sends it a code to confirm it.
          example: '+34600000012'
      required:
        - phone_number
    PhoneNetworkRegistrationTestNumber:
      type: object
      properties:
        phone_number:
          type: string
          pattern: ^\+[1-9]\d{6,14}$
          description: The test number.
          example: '+34600000012'
        status:
          type: string
          enum:
            - code_sent
            - verified
          description: >-
            `code_sent` - Didit sent it a code, which makes it a verified test
            number once checked; `verified` - it answers the feature under test
            access.
          example: code_sent
        verification_id:
          type: string
          description: >-
            The verification carrying the code: check it with `POST
            /v3/phone/check/`.
          example: pv_01JCH6D4T7N2XK8F
        test_access:
          type: string
          enum:
            - 'on'
          description: >-
            `on` - the registration is under review, so the feature answers for
            its test numbers, with `test: true` in the answer.
          example: 'on'
      required:
        - phone_number
        - status
    PhoneApiError:
      type: object
      description: >-
        An error answer. The HTTP status says the class of failure; `code` names
        the reason and `detail` says it in words.
      properties:
        code:
          type: string
          description: Machine-readable reason, as each response documents it.
          example: not_found
        detail:
          type: string
          description: What went wrong, in one sentence a user can act on.
          example: No factor with this id in your application.
      required:
        - detail
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your application's API key, from Developers -> API keys in the Business
        Console. The primary key has full access. A named key can be scoped:
        none, read or write per resource, limited to some workflows or to
        approved sessions, to a list of IP addresses, and to an expiry date. 401
        means the key is wrong, revoked or expired; 403 means no key was sent,
        the key has no access to this resource or action, or the request came
        from an address outside its IP list; 404 on a session route means the
        session is outside the key's workflows or statuses. A key without media
        access receives image, video and PDF URLs as null, and a key without
        sessions write receives session links and tokens as null. See
        https://docs.didit.me/console/api-keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.