curl --request PATCH \
--url https://platform.thena.ai/v1/teams/{teamId}/configurations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"timezone": "<string>",
"routingRespectsTimezone": true,
"routingRespectsUserCapacity": true,
"fallbackSubTeam": "<string>",
"holidays": [
"25-12",
"25-12-2024"
],
"routingRespectsUserTimezone": true,
"routingRespectsUserAvailability": true,
"routingRespectsUserBusinessHours": true,
"userRoutingStrategy": "manual",
"commonDailyConfig": true,
"commonSlots": [
{
"start": "09:00",
"end": "17:00"
}
],
"dailyConfig": {
"monday": {
"isActive": true,
"slots": [
{
"start": "09:00",
"end": "17:00"
}
]
}
}
}
'{
"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,
"routingRespectsUserBusinessHours": true,
"userRoutingStrategy": "<string>",
"commonDailyConfig": true,
"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>"
}
}curl --request PATCH \
--url https://platform.thena.ai/v1/teams/{teamId}/configurations \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"timezone": "<string>",
"routingRespectsTimezone": true,
"routingRespectsUserCapacity": true,
"fallbackSubTeam": "<string>",
"holidays": [
"25-12",
"25-12-2024"
],
"routingRespectsUserTimezone": true,
"routingRespectsUserAvailability": true,
"routingRespectsUserBusinessHours": true,
"userRoutingStrategy": "manual",
"commonDailyConfig": true,
"commonSlots": [
{
"start": "09:00",
"end": "17:00"
}
],
"dailyConfig": {
"monday": {
"isActive": true,
"slots": [
{
"start": "09:00",
"end": "17:00"
}
]
}
}
}
'{
"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,
"routingRespectsUserBusinessHours": true,
"userRoutingStrategy": "<string>",
"commonDailyConfig": true,
"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>"
}
}Enter your API key
The timezone of the team
Whether the routing rules respect the timezone for the teams
Whether the routing rules respect the user capacity for the teams
The fallback sub team of the team
The dates of the team's holidays
["25-12", "25-12-2024"]Whether the routing rules respect the user timezone for the teams
Whether the routing rules respect the user availability for the teams
Whether the routing rules respect the user business hours for the teams
The user routing strategy for the team
manual, round_robin Whether the team uses common daily config
The common slots for the team
[{ "start": "09:00", "end": "17:00" }]The business hours of the team
Show child attributes
The business hours for Monday
Show child attributes
Whether the business day is active
The business hours for Tuesday
Show child attributes
Whether the business day is active
The business hours for Wednesday
Show child attributes
Whether the business day is active
The business hours for Thursday
Show child attributes
Whether the business day is active
The business hours for Friday
Show child attributes
Whether the business day is active
The business hours for Saturday
Show child attributes
Whether the business day is active
The business hours for Sunday
Show child attributes
Whether the business day is active
{
"monday": {
"isActive": true,
"slots": [{ "start": "09:00", "end": "17:00" }]
}
}Operation successful
The status of the response
The message of the response
The timestamp of the response
The response for create/update/delete team configurations
Show child attributes
The team timezone
Unique identifier for the team
The fallback sub team
The team holidays
Whether routing respects timezone
Whether routing respects user timezone
Whether routing respects user availability
Whether routing respects user business hours
The user routing strategy
Whether the common daily business hours config is enabled
The team daily business hours config
Show child attributes
The business hours for Monday
Show child attributes
Whether the business day is active
The business hours for Tuesday
Show child attributes
Whether the business day is active
The business hours for Wednesday
Show child attributes
Whether the business day is active
The business hours for Thursday
Show child attributes
Whether the business day is active
The business hours for Friday
Show child attributes
Whether the business day is active
The business hours for Saturday
Show child attributes
Whether the business day is active
The business hours for Sunday
Show child attributes
Whether the business day is active
The created date of the team configuration
The updated date of the team configuration