posts

Get posting schedule

Get a business's recurring posting schedule.

Returns the weekly timeslots (e.g. ["MON 15:00", "FRI 09:30"]) that drive the daily auto-publish queue. A post added to the queue (queue_post) publishes at the next upcoming slot. If the business has no schedule yet, a default daily schedule is created and returned.

Errors: 400 invalid_value: The business_id is not a valid UUID. 401 authentication_required: API key or token is missing, invalid, or revoked. 403 permission_denied: Your plan does not include API access, or this business is not in your org. 404 resource_not_found: No business with that ID exists. 429 rate_limit_exceeded: You sent too many requests this minute.

get/api/businesses/{business_id}/posting-schedule

Request

  • Base URL: https://api.mymarky.ai
  • URL: https://api.mymarky.ai/api/businesses/{business_id}/posting-schedule
  • Auth: HTTP bearer

Path parameters

business_idstring required

A UUID identifier.

Headers

Marky-Version'2026-04-08' | '2026-07-17' | '2026-08-02' | '2026-08-04' | '2026-08-06'
Example:2026-08-06

Opt into a dated API version. Omit to stay on the floor (2026-04-08) forever — unpinned clients never break. Pin to a newer date (e.g. 2026-08-06) to receive the newest response shapes. Unknown values fall back to the floor. See https://docs.mymarky.ai for the versioning model.

Response

Successful Response

queue_idstring required

ID of the publish queue backing this schedule.

business_idstring required

Business this schedule belongs to.

timeslotsstring[] required

Weekly recurring slots in 'DAY HH:MM' 24h form, e.g. ['MON 15:00', 'FRI 09:30']. A queued post publishes at the next upcoming slot.

jitter_minutesinteger required

Random +/- minutes applied to each slot so posts don't fire at the exact same second every day.

next_publish_timestring nullable

When the next queued post is due to publish, computed from the schedule. Null if not yet computed, or if the schedule is paused.

next_publish_time_localstring nullable

The same moment in the business's timezone, ready to show a person, e.g. "Wed Sep 23, 6:00 PM MSK". Quote it as-is instead of converting the UTC value.

timeslots_localstring[]

timeslots on the business's clock, same order, e.g. 'MON 15:00' (UTC) is 'MON 18:00' in Moscow. The day can change when the offset crosses midnight.

timezonestring nullable

IANA timezone the *_local times are in: the business's calendar timezone, or "UTC" when the business hasn't set one (see timezone_source).

timezone_source'business' | 'unset_utc' nullable

Where timezone came from: business (the business's own setting) or unset_utc (no timezone saved yet, so times are shown in UTC).

pausedboolean

True while the schedule is paused: no queued post publishes, and the timeslots and queued posts are kept as they are.

Changes

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