Identity

Get the workspace timezone and preset posting times

Returns the workspace the token belongs to. The timezone and defaultTimes are the inputs the bulk scheduler uses when you do not override them, so read this before calling POST /schedule if you want to predict the slots it will pick.

get/workspace

Request

  • Base URL: https://www.juzpost.com/api/cli/v1
  • URL: https://www.juzpost.com/api/cli/v1/workspace
  • Auth: HTTP bearer

Response

The account this token belongs to.

idstring uuid required

The account id. You never send it anywhere; quote it if you contact support.

namestring required

Display name of the account.

timezonestring required

IANA timezone name, such as America/New_York. Preset posting times are wall-clock times in this zone, converted to UTC at scheduling time, so daylight saving is handled for you.

defaultTimesstring[] required

Preset posting times as 24-hour HH:MM wall-clock strings in your timezone. POST /schedule uses these unless you override them, and fails with 422 if this list is empty and you pass none.

Example response

{
  "timezone": "America/New_York"
}

Changes

No recorded changes to this operation across all 1 revision of this API.