Fetch a category queue by ID
GET/social-media-posting/category/queues/:queueId
Retrieves the details of a single category queue by its unique ID. The response includes a count of posts within the queue that have errors.
Request
Version stringrequired
API Version
Available options
v3queueId stringrequired
locationId stringrequired
Location ID
Successfully retrieved the category queue.
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
statusCodenumberrequired
resultsobjectrequired
traceIdstring
{
"success": true,
"statusCode": 200,
"results": {
"message": "Queue fetched successfully",
"queue": {
"_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"
}
}
},
"traceId": "string"
}