---
title: "Add a posting slot"
method: POST
path: "/posting-slots"
tags: ["Posts"]
---

# Add a posting slot

`POST /posting-slots`

## Request

- Base URL: `https://www.sociahive.com/api/v1`
- URL: `https://www.sociahive.com/api/v1/posting-slots`
- Auth: one of:
  - API key in header `X-API-Key`
  - OAuth 2 (authorization code, authorization URL `/api/oauth/authorize`, token URL `/api/oauth/token`, scopes: `posts:write`)

A weekly posting time for one or more of your accounts. Up to 100 slots per user.

## Request body

- CreatePostingSlotRequest
  - `account_ids` string[], required
  - `weekday` integer, required
  - `minutes` integer: Minutes after local midnight. Or send `time`.
  - `time` string: "HH:mm", 24-hour. Or send `minutes`.
  - `timezone` string, required

## Response `201`

Posting slot added

- object
  - `success` true, required
  - `data` PostingSlot, required
    - `id` string, required: MongoDB ObjectId (24-character hex string)
    - `account_ids` string[], required: Connected accounts this slot posts for.
    - `weekday` integer, required: 0 = Sunday … 6 = Saturday, in `timezone`.
    - `minutes` integer, required: Minutes after local midnight (570 = 09:30).
    - `timezone` string, required: IANA zone. The slot keeps its wall-clock time across daylight-saving changes: a time the clocks skip moves to just after the gap, a repeated time uses its first occurrence.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `400`: Bad request — invalid parameters
- `401`: Authentication required — provide X-API-Key or Bearer token
- `403`: Insufficient scope for this operation
- `409`: The same slot exists, or the 100-slot limit is reached (see `code`)
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/sociahive/apis/sociahive-api.md) · [All operations](https://skmtc.dev/sociahive/apis/sociahive-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sociahive/apis/sociahive-api/revisions/791b8548d288?raw)
