Create a new category queue
POST/social-media-posting/category/queues
Creates a queue in draft status for a category. Published posts are auto-added. Use update endpoint to activate.
Request
Version stringrequired
API Version
Available options
v3- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
Location ID
categoryIdstringrequired
Category ID
timeSlotsobject[]required
enableFuturePostsboolean
Enable Future Posts. Defaults to false.
prioritizeNewContentboolean
Prioritize New Content. Defaults to false.
userIdstringrequired
User id
{
"locationId": "609e126a1c4ae1001291e1b5",
"categoryId": "60af88475f1b2c001f5d5f4b",
"timeSlots": [
{
"dayOfWeek": 0,
"time": "09:00"
}
],
"enableFuturePosts": true,
"prioritizeNewContent": false,
"userId": "w37swmmLbA02zgqKPpxITe"
}
Queue created successfully.
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
statusCodenumberrequired
resultsobjectrequired
traceIdstring
{
"success": true,
"statusCode": 201,
"results": {
"message": "Queue created successfully",
"queue": {
"_id": "686ebf10c78c233e45c28d66",
"locationId": "Qp26qppJgfrTZis7jsBy",
"categoryId": "683702938b19583ce320e5eb",
"timeSlots": [
{
"_id": "686ebf10c78c23d665c28d67",
"dayOfWeek": 0,
"time": "00:00"
}
],
"enableFuturePosts": true,
"prioritizeNewContent": true,
"status": "draft",
"startDate": "2025-07-09T19:12:16.363Z",
"skipDateTime": [],
"totalPosts": 0,
"lastScheduledTime": null,
"createdBy": "uefV3MmLHs2sjJr2KfmL",
"createdAt": "2025-07-09T19:12:16.366Z",
"updatedAt": "2025-07-09T19:12:16.366Z"
}
},
"traceId": "string"
}