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

# Get Assigned Resources for Client Account Configuration

> Retrieves all resources currently assigned to a client account configuration.

## Authentication
All requests require an `Authorization` header using Bearer token authentication:
`Authorization: Bearer <api_key>`



## OpenAPI

````yaml GET /api/v2/client-account-configurations/{client_account_configuration_id}/resources
openapi: 3.1.0
info:
  title: VoiceAIWrapper API
  description: >-
    REST API for managing campaigns, leads, clients, web widgets, and voice
    providers on VoiceAIWrapper.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.voiceaiwrapper.app
security:
  - bearerAuth: []
paths:
  /api/v2/client-account-configurations/{client_account_configuration_id}/resources:
    get:
      tags:
        - Client Account Configurations
      summary: Get Assigned Resources for Client Account Configuration
      description: >-
        Retrieves all resources currently assigned to a client account
        configuration.


        ## Authentication

        All requests require an `Authorization` header using Bearer token
        authentication:

        `Authorization: Bearer <api_key>`
      operationId: getAssignedResources
      parameters:
        - name: client_account_configuration_id
          in: path
          required: true
          description: Global ID of the client account configuration. Required.
          schema:
            type: string
            example: Q2xpZW50QXNzZXRHcm91cDoxMjM=
      responses:
        '200':
          description: >-
            Assigned resources retrieved successfully. Returns a map of resource
            types to global ID arrays.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: success
                  message:
                    type: string
                    example: Assigned resources retrieved successfully
                  data:
                    type: object
                    properties:
                      asset_group_id:
                        type: string
                      assigned_resources:
                        $ref: '#/components/schemas/AssignedResources'
        '400':
          description: >-
            Invalid request data. The Client Account Configuration ID is missing
            from the URL path.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
              example:
                message: 'Client Account Configuration ID is missing: asset_group_id'
        '401':
          description: Authentication failed. Ensure the Bearer token is present and valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
        '404':
          description: >-
            Resource not found. The client account configuration does not exist
            or does not belong to your tenant.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorWithList'
              example:
                message: >-
                  Client Account Configuration not found or does not belong to
                  this tenant
                errors:
                  - Invalid asset_group_id
        '500':
          description: Internal server error. Contact support if this persists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorMessage'
components:
  schemas:
    AssignedResources:
      type: object
      properties:
        assistant:
          type: array
          items:
            type: string
          example:
            - asst_abc123
        vapi_workflow:
          type: array
          items:
            type: string
          example: []
        vapi_squad:
          type: array
          items:
            type: string
          example: []
        phone_number:
          type: array
          items:
            type: string
          example: []
        phone_number_pool:
          type: array
          items:
            type: string
          example: []
        knowledge_base:
          type: array
          items:
            type: string
          example: []
        tools_and_functions:
          type: array
          items:
            type: string
          example: []
        campaign:
          type: array
          items:
            type: string
          example:
            - Vm9pY2VDYW1wYWlnbjoxMjM=
    ErrorMessage:
      type: object
      properties:
        message:
          type: string
    ErrorWithList:
      type: object
      properties:
        message:
          type: string
        errors:
          type: array
          items:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````