Update posting slots
update_posting_slotsSets the user's daily posting times for a workspace, like editing the time slots in Settings. Pass times (hand-picked "HH:mm" list, replaces the current list and clears any interval) or interval (a range that generates the times, like the app's auto-fill), plus optional timezone and platform_times. Omitted fields stay as they are. move_posts_past_limits turns the workspace's automatic move past daily limits on or off (owners and admins only) and can be sent on its own. Returns the saved slots and the next free ones. Same behavior as PUT /api/v1/posting-slots.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | No | Daily times in 24-hour "HH:mm", e.g. ["09:00", "17:30"]. Replaces the saved list; [] clears it. | |
| interval | No | Generate times from a range instead of listing them. An end at or before the start wraps past midnight. null clears the interval but keeps the times. | |
| timezone | No | IANA timezone the times are in, e.g. "Europe/Helsinki". null clears it (UTC is used). | |
| workspace_id | Yes | Workspace to update. Get one from list_workspaces. | |
| platform_times | No | Per-platform default times that seed the per-platform picker, e.g. { "twitter": "07:00" }. null clears them. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. | |
| move_posts_past_limits | No | Workspace setting, on by default. true moves a scheduled post to its next free slot when it hits a platform's daily limit; false lets it fail. Applies to everyone in the workspace. |