Skip to main content
POST
Create a Queue

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Queue definition

brand_id
string
required

ID of the Brand to create the Queue on. Required.

name
string
required

Queue name. Required.

Example:

"Evenings"

slots
object[]
required

Weekly posting times, 1 to 100. Required.

timezone
string
required

IANA timezone the slots are expressed in. Required.

Example:

"Europe/Paris"

active
boolean

Set false to create the Queue paused. Defaults to true.

Example:

true

is_default
boolean

Set true to make this the Brand's default Queue. The Brand's first Queue is always the default.

Example:

false

Response

Created

active
boolean
required

False when the Queue is paused: no new post can join it.

Example:

true

brand_id
string
required

ID of the Brand the Queue belongs to.

created_at
string<date-time>
required

When the Queue was created.

id
string
required

Queue ID.

Example:

"que_01J9Z8Y7X6W5V4T3S2R1Q0P9N8"

is_default
boolean
required

True for the Brand's default Queue, the one queue_id "default" refers to.

Example:

true

name
string
required

Queue name.

Example:

"Evenings"

slots
object[] | null
required

Weekly posting times, sorted by day (Monday first) then time.

timezone
string
required

IANA timezone the slots are expressed in.

Example:

"Europe/Paris"

updated_at
string<date-time>
required

When the Queue was last changed.