Update queue settings or status
PUT/social-media-posting/category/queues/:queueId
Updates queue status (active/paused/deleted), time slots, or skip dates.
Request
Version stringrequired
API Version
Available options
v3queueId stringrequired
Category queue ID
- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
Location ID
skipLegacyWatermarkboolean
Skip legacy watermark cleanup when rescheduling posts
statusstring
Status of the Queue
Available options
activepauseddeletedskipDateTimestring
Skip Date Time in ISO format
timeSlotsobject[]
Time slots defining when posts should be published
enableFuturePostsboolean
Enable posting future content. Automatically Queue any New Posts Created in this Category.
prioritizeNewContentboolean
Prioritize new content over older content. When true, new items added via directToQueue will be placed at the top of the queue.
{
"locationId": "609e126a1c4ae1001291e1b5",
"skipLegacyWatermark": false,
"status": "paused",
"skipDateTime": "2023-10-05T14:48:00.000Z",
"timeSlots": [
{
"dayOfWeek": 1,
"time": "09:00"
},
{
"dayOfWeek": 3,
"time": "14:30"
}
],
"enableFuturePosts": true,
"prioritizeNewContent": false
}
Queue updated successfully.
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success or Failure
statusCodenumberrequired
Status Code
resultsobjectrequired
Response payload
traceIdstring
Trace ID for debugging
{
"success": true,
"statusCode": 200,
"results": {
"message": "Queue paused successfully.",
"queue": {
"_id": "60af88475f1b2c001f5d5f4b",
"locationId": "location-123",
"categoryId": "6756f381be2553245b08d30c",
"timeSlots": [
{
"_id": "65f1a4e1b1d7f0b8d5a7d6a5",
"dayOfWeek": 1,
"time": "10:00"
}
],
"enableFuturePosts": false,
"prioritizeNewContent": false,
"status": "active",
"startDate": "2023-01-01T12:00:00Z",
"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": "TRACE-abc123-def456"
}