> ## Documentation Index
> Fetch the complete documentation index at: https://gnosispay-feat-v2-auth-module.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Phone Number

> Returns the user's phone number if at least one card was created.



## OpenAPI

````yaml https://gp-auth-module.prod.gnosispay.com/openapi.json get /phone
openapi: 3.0.0
info:
  version: 1.0.0
  title: SIWE Authentication API
  description: Sign In With Ethereum authentication service
servers:
  - url: https://gp-auth-module.prod.gnosispay.com
    description: API server
security: []
paths:
  /phone:
    get:
      tags:
        - Phone
      summary: Get Phone Number
      description: Returns the user's phone number if at least one card was created.
      responses:
        '200':
          description: Phone number retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPhoneSuccess'
        '401':
          description: Unauthorized - Invalid JWT
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User not found or no phone number registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
components:
  schemas:
    GetPhoneSuccess:
      type: object
      properties:
        phone:
          type: string
        countryCode:
          type: string
      required:
        - phone
        - countryCode
    Error:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
      required:
        - success
        - error

````