İçeriğe atla

Calendar feed reads

How often each consumer read a calendar feed, per day

The calendar feed read object

Attributes

idread-onlyint64

Unique identifier

organization_iduuid
organizations.id

Identifier of the related organization

product_iduuid | null
products.id

Identifier of the unit whose feed was read. Empty for the feed of the organization

datedate

Date of the reads

include_booking_detailsboolean

Whether the reads used the secret that includes guest details

last_read_attimestamp with time zone

Time of the last read on the date

read_countint32

Number of reads on the date

referrertext

Referrer of the requests

Related resources

Embed related resources in the response with the select parameter, for example select=*,organizations(*). Resources related through more than one column need the column as a hint, like table!column(*).

organizations(*)object | null
organizations

The organization referenced by organization_id.

products(*)object | null
products

The product referenced by product_id.

The calendar feed read object
JSON
{
  "id": 0,
  "organization_id": "00000000-0000-0000-0000-000000000000",
  "product_id": "00000000-0000-0000-0000-000000000000",
  "date": "2026-11-22",
  "include_booking_details": false,
  "last_read_at": "2026-11-22T21:57:35.642Z",
  "read_count": 1,
  "referrer": ""
}
Including related resources
curl "https://api.bookingmood.com/v1/calendar_feed_reads?limit=10&select=*,organizations(*),products(*)" \
  -H "Authorization: Bearer YOUR_API_KEY"

List calendar feed reads

Requiresbookings:read

Filters

idFilter<int64>

Unique identifier

organization_idFilter<uuid>
organizations.id

Identifier of the related organization

product_idFilter<uuid | null>
products.id

Identifier of the unit whose feed was read. Empty for the feed of the organization

dateFilter<date>

Date of the reads

include_booking_detailsFilter<boolean>

Whether the reads used the secret that includes guest details

last_read_atFilter<timestamp with time zone>

Time of the last read on the date

read_countFilter<int32>

Number of reads on the date

referrerFilter<text>

Referrer of the requests

Responses

200

A list of calendar feed reads with the selected columns

206

Partial Content

400

The request is malformed, for example an unknown column or an invalid filter.

401

The API key is missing or invalid.

403

The API key or access token doesn't have the scope this request needs.

429

The API key made more requests per minute than its rate limit allows. Retry after the number of seconds in the `Retry-After` header.

Error responses have a JSON body with a code, message, details and hint. See the introduction for more on errors.
GET/calendar_feed_reads
curl "https://api.bookingmood.com/v1/calendar_feed_reads?select=*&limit=10" \
  -H "Authorization: Bearer YOUR_API_KEY"
Example
JSON
[
  {
    "id": 0,
    "organization_id": "00000000-0000-0000-0000-000000000000",
    "product_id": "00000000-0000-0000-0000-000000000000",
    "date": "2026-11-22",
    "include_booking_details": false,
    "last_read_at": "2026-11-22T21:57:35.642Z",
    "read_count": 1,
    "referrer": ""
  }
]