Get the paginated list of services
Get the paginated list of services for agent view
Request
- Base URLhttps://api.talkdeskapp.com
- URLhttps://api.talkdeskapp.com/locations-directory/services-agent
- AuthOAuth 2Authorization code: https://{account_name}.talkdeskid.com/oauth/authorizeToken URL: https://{account_name}.talkdeskid.com/oauth/token scopes: locations-directory:read
Query parameters
The name of the service
The list of service types, multiple values should split by ',' , like type1,type2
The list of service durations, multiple values should split by ',' , like duration1,duration2
The list of staff speciality, multiple values should split by ',' , like speciality1,speciality2
The name list of the service, multiple values should split by ',' , like serviceName1,serviceName2
The id list of the service, multiple values should split by ',' , like serviceId1,serviceId2
The list of staff language, multiple values should split by ',' , like English,Chinese
The list of staff genders, multiple values should split by ',' , like Male,Female
The id of the location
The visit type name of the staff who can provide the service
The list of tag values, multiple values should split by ',' , like tag1,tag2
Response
The paginated list of services
Example response
{
"count": 40,
"total": 90,
"page": 2,
"per_page": 50,
"total_pages": 2,
"_embedded": {
"services": [
{
"id": "a78d05cc-ac7a-11ed-afa1-0242ac120012",
"service_name": "Shopping",
"service_type": "Online",
"duration": "30-45 minutes",
"description": "Shopping on Internet is amusing",
"virtual_location_url": "https://www.talkdesk.com/customers/",
"price": "3$",
"open_hours": [
{
"day_of_week": "TUESDAY",
"slots": [
{
"open_at": "09:00:00",
"close_at": "18:00:00"
}
]
}
],
"special_dates": [
{
"name": "Labor Day",
"date": "1889-05-01",
"repeats": "YEARLY",
"notes": "1st of may, Workers day",
"slots": [
{
"open_at": "09:00:00",
"close_at": "18:00:00"
}
]
}
],
"time_zone": "Europe/Lisbon",
"phone_numbers": [
{
"phone_number": "+351123456789",
"name": "Home"
}
],
"locations": [
{
"id": "000000000000000000000001",
"location_name": "location name"
}
],
"created_at": "2024-06-10T10:00:00Z",
"updated_at": "2024-06-10T10:00:00Z"
}
]
},
"_links": {
"self": {
"href": "http://api-docs.talkdesk.org/locations-directory/services-agent?page=1&per_page=10"
},
"next": {
"href": "http://api-docs.talkdesk.org/locations-directory/services-agent?page=2&per_page=10"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.