Queue
Create schedule
Create an additional queue for a profile. The first queue created becomes the default. Subsequent queues are non-default unless explicitly set.
Authorization
bearerAuth AuthorizationBearer <token>
API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
{ "success": true, "schedule": { "_id": "string", "profileId": "string", "name": "string", "timezone": "string", "slots": [ { "dayOfWeek": 0, "time": "string" } ], "active": true, "isDefault": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "nextSlots": [ "2019-08-24T14:15:22Z" ]}Was this page helpful?
List schedules
Returns queue schedules for a profile. Use all=true for all queues, or queueId for a specific one. Defaults to the default queue.
Get next available slot
Returns the next available queue slot for preview purposes. To create a queue post, use POST /v1/posts with queuedFromProfile instead of scheduledFor.