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

# Get team configurations



## OpenAPI

````yaml get /v1/teams/{teamId}/configurations
openapi: 3.0.0
info:
  title: Thena Platform
  description: The Thena Platform API description
  version: 1.0.0
  contact: {}
servers:
  - url: https://platform.thena.ai
    description: Platform
  - url: http://localhost:8000
    description: Local
security:
  - ApiKey: []
tags: []
paths:
  /v1/teams/{teamId}/configurations:
    get:
      tags:
        - Teams
      summary: Get team configurations
      parameters:
        - name: teamId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Operation successful
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamConfigurationsResponse'
        '401':
          description: User is not authenticated!
        '403':
          description: User does not have access to this resource!
        '404':
          description: Resource not found!
        '429':
          description: Too many requests!
        '500':
          description: Something went wrong!
        '503':
          description: This service/resource is currently unavailable.
components:
  schemas:
    TeamConfigurationsResponse:
      type: object
      properties:
        status:
          type: boolean
          default: true
          description: The status of the response
        message:
          type: string
          default: Success
          description: The message of the response
        timestamp:
          format: date-time
          type: string
          default: '2024-01-01T00:00:00.000Z'
          description: The timestamp of the response
        data:
          description: The team configurations fetched
          type: array
          items:
            $ref: '#/components/schemas/TeamConfigurationsResponseDto'
      required:
        - status
        - message
        - timestamp
        - data
    TeamConfigurationsResponseDto:
      type: object
      properties:
        timezone:
          type: string
          description: The team timezone
        teamId:
          type: string
          description: Unique identifier for the team
        fallbackSubTeam:
          type: string
          description: The fallback sub team
        holidays:
          description: The team holidays
          type: array
          items:
            type: string
        routingRespectsTimezone:
          type: boolean
          description: Whether routing respects timezone
        routingRespectsUserTimezone:
          type: boolean
          description: Whether routing respects user timezone
        routingRespectsUserAvailability:
          type: boolean
          description: Whether routing respects user availability
        routingRespectsUserBusinessHours:
          type: boolean
          description: Whether routing respects user business hours
        userRoutingStrategy:
          type: string
          description: The user routing strategy
        commonDailyConfig:
          type: boolean
          description: Whether the common daily business hours config is enabled
        dailyConfig:
          description: The team daily business hours config
          allOf:
            - $ref: '#/components/schemas/BusinessDays'
        createdAt:
          type: string
          description: The created date of the team configuration
        updatedAt:
          type: string
          description: The updated date of the team configuration
      required:
        - timezone
        - teamId
        - fallbackSubTeam
        - holidays
        - routingRespectsTimezone
        - routingRespectsUserTimezone
        - routingRespectsUserAvailability
        - routingRespectsUserBusinessHours
        - userRoutingStrategy
        - commonDailyConfig
        - dailyConfig
        - createdAt
        - updatedAt
    BusinessDays:
      type: object
      properties:
        monday:
          description: The business hours for Monday
          allOf:
            - $ref: '#/components/schemas/BusinessDayDto'
        tuesday:
          description: The business hours for Tuesday
          allOf:
            - $ref: '#/components/schemas/BusinessDayDto'
        wednesday:
          description: The business hours for Wednesday
          allOf:
            - $ref: '#/components/schemas/BusinessDayDto'
        thursday:
          description: The business hours for Thursday
          allOf:
            - $ref: '#/components/schemas/BusinessDayDto'
        friday:
          description: The business hours for Friday
          allOf:
            - $ref: '#/components/schemas/BusinessDayDto'
        saturday:
          description: The business hours for Saturday
          allOf:
            - $ref: '#/components/schemas/BusinessDayDto'
        sunday:
          description: The business hours for Sunday
          allOf:
            - $ref: '#/components/schemas/BusinessDayDto'
      required:
        - monday
        - tuesday
        - wednesday
        - thursday
        - friday
        - saturday
        - sunday
    BusinessDayDto:
      type: object
      properties:
        isActive:
          type: boolean
          description: Whether the business day is active
        slots:
          description: The time slots for the business day
          type: array
          items:
            $ref: '#/components/schemas/BusinessSlotDto'
      required:
        - isActive
        - slots
    BusinessSlotDto:
      type: object
      properties:
        start:
          type: string
          description: Start time in 24-hour format (HH:mm)
          example: '10:00'
        end:
          type: string
          description: End time in 24-hour format (HH:mm)
          example: '18:00'
      required:
        - start
        - end
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Enter your API key '

````