Set a brand's queue slots and timezone

Replaces the slots of each network named; null puts a network back on the defaults. Networks not named keep theirs.

put/api/brands/{id}/slots

Request

  • Base URL: https://postwire.io
  • URL: https://postwire.io/api/brands/{id}/slots
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Request body

timezonestring nullable

IANA name, e.g. America/Lima. null clears it.

Example request

{
  "slots": {
    "tiktok": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "instagram": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "youtube": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "linkedin": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "facebook": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "bluesky": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "mastodon": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "telegram": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    },
    "discord": {
      "mon": [
        "09:00"
      ],
      "tue": [
        "09:00"
      ],
      "wed": [
        "09:00"
      ],
      "thu": [
        "09:00"
      ],
      "fri": [
        "09:00"
      ],
      "sat": [
        "09:00"
      ],
      "sun": [
        "09:00"
      ]
    }
  }
}

Response

{ ok, …the same body as GET }

Changes

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