Zernio
Zernio
API Reference

Queue

List schedulesGETCreate schedulePOSTGet next available slotGETUpdate schedulePUTDelete scheduleDELETEPreview upcoming slotsGET
Dashboard
llms.txtOpenAPI
OverviewPlatformsAPI ReferenceResources
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.


GET
/v1/queue/next-slot

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Query Parameters

profileId*string
queueId?string

Specific queue ID (optional, defaults to profile's default queue)

Response Body

application/json

application/json

{  "profileId": "64f0a1b2c3d4e5f6a7b8c9d0",  "nextSlot": "2024-11-04T09:00:00-05:00",  "timezone": "America/New_York",  "queueId": "64f0a1b2c3d4e5f6a7b8c9d1",  "queueName": "Morning Posts"}
Was this page helpful?

Create schedule

Create an additional queue for a profile. The first queue created becomes the default. Subsequent queues are non-default unless explicitly set.

Update schedule

Create a new queue or update an existing one. Without queueId, creates/updates the default queue. With queueId, updates a specific queue. With setAsDefault=true, makes this queue the default for the profile.