Introduction
- API Reference
- Platform
- Platform APIs
- Login & sign up
- Organizations
- SLA duration
- Users
- User management
- Working hours & availability
- Time off management
- Skills management
- Teams
- Tickets
- Comments & reactions
- Custom fields
- Forms
- Draft tickets
- Accounts & contacts
- Custom objects
- Workflows
- SLA
- Storage
- Notifications
Fetch all users
curl --request GET \
--url https://platform.thena.ai/v1/users/list \
--header 'Authorization: Bearer <token>' \
--header 'x-org-id: <api-key>'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"timezone": "<string>",
"userId": "<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"
}
]
}
},
"commonDailyConfig": true,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
Authorizations
Enter JWT bearer token
Enter organization ID
Response
The status of the response
The message of the response
The timestamp of the response
The response for create/update/delete user configurations
The team timezone
Unique identifier for the user
The user's daily business hours config
The business hours for Monday
Whether the business day is active
The business hours for Tuesday
Whether the business day is active
The business hours for Wednesday
Whether the business day is active
The business hours for Thursday
Whether the business day is active
The business hours for Friday
Whether the business day is active
The business hours for Saturday
Whether the business day is active
The business hours for Sunday
Whether the business day is active
Whether the common daily config is enabled
The created date of the user configuration
The updated date of the user configuration
curl --request GET \
--url https://platform.thena.ai/v1/users/list \
--header 'Authorization: Bearer <token>' \
--header 'x-org-id: <api-key>'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"timezone": "<string>",
"userId": "<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"
}
]
}
},
"commonDailyConfig": true,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}