Fetch slot information for queue items
POST/social-media-posting/category/queues/:queueId/slots
Returns paginated slot information (scheduledDateTime, isSkipped) for queue items. Pass sessionId to get slots for draft items, or omit for live items. Call this after mutations to refresh slot data.
Request
Version stringrequired
API Version
Available options
v3queueId stringrequired
- application/json
- Body
- Example (auto)
Bodyrequired
locationIdstringrequired
The location ID
sessionIdstring
Session ID for edit mode. If not provided, calculates slots for live items.
skipnumber
Number of items to skip
Default value:
0limitnumber
Number of items to return
Default value:
20{
"locationId": "abc123",
"sessionId": "507f1f77bcf86cd799439011",
"skip": 0,
"limit": 20
}
Slots fetched successfully.
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
statusCodenumberrequired
resultsobjectrequired
traceIdstring
{
"success": true,
"statusCode": 200,
"results": {
"message": "Slots fetched successfully",
"slots": [
{
"itemId": "60af88475f1b2c001f5d5f4b",
"scheduledDateTime": "2023-10-15T10:00:00.000Z",
"isSkipped": false
}
],
"total": 100,
"skip": 0,
"limit": 20,
"timezone": "America/New_York"
},
"traceId": "string"
}