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

# List profiles (Who's watching)

> List the account's profiles ("Who's watching") or create a new one.



## OpenAPI

````yaml /openapi/user.yaml get /api/v1/auth/profiles
openapi: 3.0.3
info:
  title: CapeMedia User Service API
  version: 1.0.0
  description: |2-

        **CapeMedia User Service API** - Comprehensive user service and management system.

        ## Authentication
        This API uses **JWT Bearer tokens** for authentication.

        1. Login via `/api/v1/auth/login` to obtain tokens
        2. Include the access token in the `Authorization` header: `Bearer <access_token>`
        3. Refresh expired tokens via `/api/v1/auth/refresh-token`

        ## Versioning
        The API uses URL path versioning (e.g., `/api/v1/`, `/api/v2/`).
        Current version: **v1**
        
  contact:
    name: API Support
    email: support@capemedia.co.ke
  license:
    name: Cape Media
servers:
  - url: https://api.diginacape.co.ke/acl
    description: Production
  - url: http://localhost:8000
    description: Local
security: []
paths:
  /api/v1/auth/profiles:
    get:
      tags:
        - Profiles
      summary: List profiles (Who's watching)
      description: List the account's profiles ("Who's watching") or create a new one.
      operationId: profiles_list
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Profile'
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    Profile:
      type: object
      description: Read representation of a profile. Never exposes the PIN.
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          readOnly: true
        avatar_id:
          type: string
          readOnly: true
          nullable: true
        is_kids:
          type: boolean
          readOnly: true
        maturity_rating:
          enum:
            - GE
            - PG
            - '16'
            - '18'
          type: string
          description: |-
            * `GE` - General Exhibition
            * `PG` - Parental Guidance
            * `16` - 16
            * `18` - 18
          x-spec-enum-id: d0a110593dabd265
          readOnly: true
        maturity_level:
          type: integer
          readOnly: true
        is_locked:
          type: boolean
          readOnly: true
        is_primary:
          type: boolean
          readOnly: true
        autoplay_next:
          type: boolean
          readOnly: true
        autoplay_previews:
          type: boolean
          readOnly: true
        language:
          type: string
          readOnly: true
        created_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - autoplay_next
        - autoplay_previews
        - avatar_id
        - created_at
        - id
        - is_kids
        - is_locked
        - is_primary
        - language
        - maturity_level
        - maturity_rating
        - name
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Enter your JWT token in the format: Bearer <token>'

````