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

# Verify registration

> Verify registration OTP



## OpenAPI

````yaml post /v1/users/verify-registration
openapi: 3.0.0
info:
  title: Users API
  version: 1.0.0
  description: API for user management and authentication
servers: []
security:
  - bearerAuth: []
tags:
  - name: Registration
    description: User registration operations
  - name: Users
    description: User management operations
  - name: Credentials
    description: Credential management operations
  - name: Password
    description: Password management operations
paths:
  /v1/users/verify-registration:
    post:
      tags:
        - Registration
      summary: Verify registration
      description: Verify registration OTP
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyRegistrationRequest'
      responses:
        '200':
          description: Registration verified successfully
        '400':
          $ref: '#/components/responses/ValidationError'
components:
  schemas:
    VerifyRegistrationRequest:
      type: object
      required:
        - user_id
        - credential_type
        - otp
      properties:
        user_id:
          type: string
          format: uuid
        credential_type:
          type: string
          enum:
            - email
            - phone
        otp:
          type: string
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
        message:
          type: string
  responses:
    ValidationError:
      description: Invalid input data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: users.invalid_user_input
            message: Invalid user input data
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````