GET
/
v1
/
teams
/
{teamId}
/
configurations
curl --request GET \
  --url https://platform.thena.ai/v1/teams/{teamId}/configurations \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <api-key>'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": [
    {
      "timezone": "<string>",
      "teamId": "<string>",
      "fallbackSubTeam": "<string>",
      "holidays": [
        "<string>"
      ],
      "routingRespectsTimezone": true,
      "routingRespectsUserTimezone": true,
      "routingRespectsUserAvailability": true,
      "userRoutingStrategy": "<string>",
      "dailyConfig": {
        "monday": {
          "isActive": true,
          "slots": [
            {
              "start": "10:00",
              "end": "18:00"
            }
          ]
        },
        "tuesday": {
          "isActive": true,
          "slots": [
            {
              "start": "10:00",
              "end": "18:00"
            }
          ]
        },
        "wednesday": {
          "isActive": true,
          "slots": [
            {
              "start": "10:00",
              "end": "18:00"
            }
          ]
        },
        "thursday": {
          "isActive": true,
          "slots": [
            {
              "start": "10:00",
              "end": "18:00"
            }
          ]
        },
        "friday": {
          "isActive": true,
          "slots": [
            {
              "start": "10:00",
              "end": "18:00"
            }
          ]
        },
        "saturday": {
          "isActive": true,
          "slots": [
            {
              "start": "10:00",
              "end": "18:00"
            }
          ]
        },
        "sunday": {
          "isActive": true,
          "slots": [
            {
              "start": "10:00",
              "end": "18:00"
            }
          ]
        }
      },
      "createdAt": "<string>",
      "updatedAt": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Path Parameters

teamId
string
required

Response

200
application/json
Operation successful
status
boolean
default:true
required

The status of the response

message
string
default:Success
required

The message of the response

timestamp
string
default:2024-01-01T00:00:00.000Z
required

The timestamp of the response

data
object[]
required

The team configurations fetched