---
title: "Create a new posting schedule slot"
method: POST
path: "/posting-schedules"
tags: ["Posting Schedules"]
---

# Create a new posting schedule slot

`POST /posting-schedules`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/posting-schedules`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Request body

- CreatePostingScheduleInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `day_of_week` integer, required: Workspace-local day of week (0=Sunday, 6=Saturday)
  - `label` string: Display label
  - `local_day_of_week` integer: Day of week in workspace local time (0=Sunday, 6=Saturday)
  - `local_hour` integer: Hour in workspace local time (0-23)
  - `local_minute` integer: Minute in workspace local time (0-59)
  - `utc_hour` integer, required: Legacy field name for the workspace-local hour (0-23)
  - `utc_minute` integer, required: Legacy field name for the workspace-local minute (0-59)
  - `workspace_id` string, required: Workspace ID

## Response `200`

OK

- PostingScheduleResponse
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `created_at` string, required: Creation time (ISO 8601)
  - `day_of_week` integer, required: Workspace-local day of week (0=Sunday, 6=Saturday)
  - `id` string, required: Schedule ID
  - `is_active` boolean, required: Whether this slot is active
  - `label` string: Display label (e.g., Morning, Lunch)
  - `local_day_of_week` integer, required: Day of week in workspace local time (0=Sunday, 6=Saturday)
  - `local_hour` integer, required: Hour in workspace local time (0-23)
  - `local_minute` integer, required: Minute in workspace local time (0-59)
  - `utc_hour` integer, required: Legacy field name for the workspace-local hour (0-23)
  - `utc_minute` integer, required: Legacy field name for the workspace-local minute (0-59)
  - `workspace_id` string, required: Workspace ID

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
