Fetch category queues for a location
POST/social-media-posting/category/queues/list
Retrieves a paginated list of all category queues for a given location, excluding any that have been marked as deleted.
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
Location ID
skipnumber
Number of items to skip
limitnumber
Maximum number of items to return
{
"locationId": "609e126a1c4ae1001291e1b5",
"skip": 0,
"limit": 10
}
Successfully retrieved category queues.
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
statusCodenumberrequired
resultsobjectrequired
traceIdstring
{
"success": true,
"statusCode": 201,
"results": {
"message": "Queues fetched successfully",
"queues": [
{
"_id": "60af88475f1b2c001f5d5f4b",
"locationId": "location-123",
"categoryId": "60af88475f1b2c001f5d5f4b",
"timeSlots": [
{
"dayOfWeek": 0,
"time": "09:00"
}
],
"enableFuturePosts": false,
"prioritizeNewContent": false,
"currentOrder": 1000,
"status": "active",
"startDate": "2023-01-01T12:00:00Z",
"skipDateTime": [
"2023-01-02T12:00:00Z"
],
"currentPostId": "60af88475f1b2c001f5d5f4b",
"totalPosts": 10,
"lastScheduledTime": "2023-01-01T12:00:00Z",
"createdBy": "user-123",
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z",
"category": {
"_id": "6756f381be2553245b08d30c",
"name": "Category Name",
"primaryColor": "#FFFFFF",
"secondaryColor": "#000000",
"deleted": false,
"locationId": "fvg1TXIiVxGcdOaL0riG",
"createdBy": "SQ6d63Va2PUbWEZ9k0TD",
"createdAt": "2024-12-09T13:41:21.385Z",
"updatedAt": "2024-12-09T13:41:21.385Z"
}
}
],
"meta": {
"count": "100"
}
},
"traceId": "string"
}