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

# Get Client

> Retrieves detailed information about a specific client



## OpenAPI

````yaml GET /artist-clients/get-client/{id}
openapi: 3.1.0
info:
  title: Tatu API
  description: API documentation for Tatu's booking and artist management system
  version: 1.0.0
servers:
  - url: http://localhost:3000/api
    description: Development server
security: []
paths:
  /artist-clients/get-client/{id}:
    get:
      summary: Get Client
      description: Retrieves detailed information about a specific client
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The ID of the client to retrieve
      responses:
        '200':
          description: Client information retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtistClientWithBookings'
        '404':
          description: Client not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ArtistClientWithBookings:
      type: object
      allOf:
        - $ref: '#/components/schemas/ArtistClient'
        - type: object
          required:
            - bookings
          properties:
            bookings:
              type: array
              items:
                $ref: '#/components/schemas/Booking'
              description: List of bookings associated with this client
    Error:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    ArtistClient:
      type: object
      required:
        - id
        - displayName
        - email
        - locations
        - phoneNumber
        - photoURL
        - pronouns
        - firstBookingDate
        - totalSpent
        - notes
        - bookingIds
        - conversationId
      properties:
        id:
          type: string
          description: The unique identifier of the client
        displayName:
          type: string
          description: The client's display name
        email:
          type: string
          description: The client's email address
        locations:
          type: array
          items:
            $ref: '#/components/schemas/Location'
          description: List of client's locations
        phoneNumber:
          type: string
          description: The client's phone number
        photoURL:
          type: string
          description: URL to the client's profile photo
        pronouns:
          type: string
          enum:
            - Don't Specify
            - He/Him
            - She/Her
            - They/Them
            - Other
          description: The client's preferred pronouns
        otherPronouns:
          type: string
          description: Custom pronouns when pronouns is 'Other'
        firstBookingDate:
          type: number
          description: Timestamp of the first booking with this client
        totalSpent:
          type: number
          description: Total amount spent by this client
        notes:
          type: string
          description: Artist's notes about this client
        bookingIds:
          type: array
          items:
            type: string
          description: List of booking IDs associated with this client
        conversationId:
          type: string
          description: ID of the conversation thread with this client
    Booking:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        dateTimestamp:
          type: number
        startTime:
          type: number
        endTime:
          type: number
        totalFee:
          type: string
        depositFee:
          type: string
        location:
          type: string
    Location:
      type: object
      required:
        - address
        - city
        - state
        - country
        - latitude
        - longitude
      properties:
        address:
          type: string
          description: Street address
        city:
          type: string
          description: City name
        state:
          type: string
          description: State/province
        country:
          type: string
          description: Country
        latitude:
          type: number
          description: Location latitude
        longitude:
          type: number
          description: Location longitude

````