businesses

List upcoming moments

List the dated moments coming up for a business, and which are already covered.

Public holidays of the business's country (from its holiday setting, else its timezone), curated marketing days, the first day of autumn/spring, and the business's own events (set with update_business). Dates are on the business's calendar; quote date and weekday as given.

Errors: 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. 422 validation_error: days is not between 1 and 90. 429 rate_limit_exceeded: You sent too many requests this minute.

get/api/businesses/{business_id}/moments

Request

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

Path parameters

business_idstring required

A UUID identifier.

Query parameters

daysinteger

How many days ahead to look.

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

timezonestring required

IANA timezone of the business's calendar (dates are local to it).

timezone_source'business' | 'unset_utc' required

business: the business's own setting. unset_utc: none saved, so dates are UTC.

today_localstring date required

Today on the business's calendar.

countriesstring[] required

Whose public holidays are included: the business's holiday setting, else its timezone's country, else US.

Changes

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