Skedda

Skedda API (Beta)

Base URL: https://api.skedda.com

Beta. This API is still evolving. Endpoints, parameters, and payloads may change without a version bump. Breaking changes and major updates are announced in the changelog at the end of this page.

Getting started

The Skedda API gives you read-only access to a venue's assets and booking data through simple GET endpoints. You cannot create, update or cancel bookings through this interface.

Authentication is done per venue. Your API key tells us what venue’s data you are pulling, so we don’t need a venue identifier in the request url.

The API is built on three primary collections:

To be told when bookings change instead of polling for changes, use webhooks. They are described in the Webhooks section.

Authentication

Send a venue API key as a bearer token:

Authorization: Bearer <your API key>

Venue administrators can generate API keys directly from the Integrations page within their venue. As each key is tied to the specific venue that created it, the key itself determines which venue's data your request accesses.

Treat these keys with the same security as passwords. Since API keys cannot be recovered once displayed, you must store them safely upon creation; if lost, a key must be revoked and replaced.

A request with no key, an unknown key, or an expired or revoked one is answered with 401. A key belonging to a venue whose plan does not include API access is answered with 403.

Making requests

Every endpoint lives under https://api.skedda.com/api/v1 and answers application/json.

curl "https://api.skedda.com/api/v1/assets?filter[category]=bookable" \
  -H "Authorization: Bearer <your API key>"

Occurrences are read within a date range, and both bounds carry an offset — Z for UTC:

curl "https://api.skedda.com/api/v1/booking-occurrences?filter[dateTimeFrom]=2026-09-01T00:00:00Z&filter[dateTimeTo]=2026-09-30T23:59:00Z" \
  -H "Authorization: Bearer <your API key>"

One occurrence is read by its booking and start date, both taken from a list item — bookingId and the date part of start:

curl "https://api.skedda.com/api/v1/booking/<bookingId>/occurrence/2026-09-14" \
  -H "Authorization: Bearer <your API key>"

A single-item response puts the item itself under data, with no paging.

Successful responses are wrapped in a JSON envelope containing three main fields:

{
  "metadata": { "timezone": "Australia/Melbourne" },
  "data": [ ... ],
  "paging": { "cursor": "us_ast_42", "pageSize": 100, "isLast": false }
}

Strict Parameter Validation

Query parameters are strictly validated against accepted values. Any request with an unrecognized parameter or a typo in a filter returns a 400 Bad Request response instead of being silently ignored, ensuring invalid filters are caught immediately.

Pagination

Pagination uses a forward-only cursor system. You can set the number of records returned using the page[pageSize] query parameter, which accepts values between 1 and 100 (defaulting to 100).

Paging Response Structure

To retrieve the next set of results, pass the previous paging.cursor value back in the page[after] query parameter.

Maintain identical query parameters (such as filters or sorting options) across all paginated requests in a single run. Changing parameters mid-stream alters the dataset layout, causing records to be skipped or repeated.

For convenience, occurrence endpoints include a standard Link header containing a pre-formatted URL for the next page that automatically preserves all existing parameters.

Cursor Expiration & Errors

If the underlying dataset changes between page requests and the cursor becomes invalid, the API returns a 400 Bad Request status, requiring the pagination sequence to restart from the first page.

Filtering and sorting

Filtering and sorting behavior follows specific structure and boundary rules:

Filters use bracketed query parameters: filter[category] for assets, and filter[dateTimeFrom], filter[dateTimeTo], filter[spaceIds], filter[holders], and filter[lastModifiedTime] for occurrences. ID-based filters can be repeated up to 50 times in a single request to query multiple values (e.g., filter[spaceIds]=id1&filter[spaceIds]=id2).

Date Range Requirements for Occurrences

Reading occurrences requires specifying both date-range boundaries:

Incremental Sync

filter[lastModifiedTime] returns only the occurrences of bookings last modified at or after the given time, so a sync can fetch what changed since its previous run instead of every booking again. It takes the same ISO-8601 form with an explicit UTC offset as the date-range filters, and it narrows the date range:

Sorting

Control result ordering using sort[field] and sort[direction]. If omitted, requests revert to the default field and direction defined for each endpoint in the API reference.

By default, when a record references another entity, it contains only that entity's id:

"holder": { "id": "us_vur_1" }

To receive full objects instead of plain IDs, specify the relationship path in the expand query parameter. This inlines the target record directly into the response.

Performance & Validation

Rate limiting

Rate limits are tracked per API key using a fixed one-minute window. Each key is allowed 100 requests per minute; the X-RateLimit-Limit header reports the limit that actually applies to your venue. Every metered response includes headers reflecting your current usage and status within that window:

Header Meaning
X-RateLimit-Limit The maximum number of requests allowed per minute.
X-RateLimit-Remaining The number of requests remaining in the current window.
X-RateLimit-Reset The Unix time, in seconds, at which the current window resets.

Handling Rate Limits

Exceeding the threshold returns a 429 Too Many Requests status, and the response body or Retry-After header specifies how many seconds you must wait before retrying.

Errors and responses

All error responses share a consistent envelope structure, allowing a single error handler to process every failure across the API:

{
  "metadata": { "timezone": "UTC" },
  "errors": [
    {
      "type": "invalid_param",
      "title": "filter[dateTimeFrom] must be before filter[dateTimeTo].",
      "status": 400,
      "requestId": "0HN7A9BJKMQ1V:00000003"
    }
  ]
}

Handling Errors

type Status What happened
invalid_param 400 A parameter was missing, malformed, out of range, or not one this endpoint accepts
invalid_expand 400 An expand path named a field that cannot be expanded there, or nested too deeply
auth_missing_token 401 No Authorization: Bearer header, or one that could not be read
auth_invalid_token 401 The key is not a key of ours
auth_expired_token 401 The key has passed its expiry date
auth_revoked_token 401 The key was revoked by a venue admin
forbidden_feature_not_enabled 403 The venue's plan does not include API access
not_found 404 Nothing matches the ids in the path; the response is the same whether or not the record exists
rate_limit_exceeded 429 Too many requests in the current window

Webhooks

Webhooks are the push side of the Skedda API: your application receives an HTTPS POST when bookings change, instead of polling for changes. They complement the read endpoints and are in Beta, like the rest of this API.

Overview

Venue administrators set up webhooks on the Integrations > Developer page of their venue. Each webhook has:

A venue can have up to 15 webhooks. Availability depends on the venue's plan.

Each webhook has a signing secret that starts with whsec_. It is shown once, when the webhook is created or the secret is regenerated. Store it like a password.

Each webhook gets its own request. When one event goes to several webhooks, every request carries the same webhook-id.

Events

Event Description
booking.created Sent when a booking is created: in the web app, in the mobile or tablet app, from a synced external calendar, or automatically by venue features.
booking.updated Sent when a booking changes: its time, spaces, title, holder, custom fields or recurrence. Saving a booking with no change sends nothing.
booking.cancelled Sent when a whole booking is cancelled or deleted. That includes automatic removals, such as released bookings and bookings removed when their holder leaves the venue.
booking_occurrence.checked_in Sent when an occurrence is checked in: in the web or mobile app, from the check-in reminder email, in Slack, in Microsoft Teams, on a tablet, or automatically through occupancy tracking.

The full rules, the payload schema and an example request for each event are in the Webhooks section of the reference.

Request Format

Each request is a POST with Content-Type: application/json and a UTF-8 JSON body.

Header Meaning
webhook-id The unique id of the event. It is the same across retries and across webhooks, and has the same value as metadata.requestId.
webhook-timestamp When this attempt was sent, in Unix seconds (UTC). It changes on every retry.
webhook-signature v1, followed by the base64 signature. See Verifying Signatures.
X-Payload-Version The payload format version, currently 1.
X-Webhook-Test Only on test events sent with Send test event in the webhook settings, with the value true. The booking in a test event is not real.
Your custom headers Up to 10 per webhook. A name can have up to 256 characters and a value up to 2000. These names are reserved and cannot be used: Accept, Content-Type, Host, webhook-id, webhook-signature, webhook-timestamp, X-Payload-Version, X-Webhook-Test.

The body is an envelope. This is a booking.created request body:

{
  "type": "booking.created",
  "timestamp": "2026-04-22T08:15:05+02:00",
  "data": {
    "bookingId": "us_bkg_1",
    "venueId": "us_ven_1",
    "holderId": "us_vur_1",
    "holderEmail": "jane.doe@example.com",
    "spaces": [
      "us_ast_1"
    ],
    "title": "Team standup",
    "type": "User",
    "price": 25.00,
    "createdBy": "us_vur_1",
    "createdByEmail": "alex.admin@example.com",
    "lastModifiedBy": "us_vur_1",
    "lastModifiedByEmail": "alex.admin@example.com",
    "createdTime": "2026-04-20T14:30:00+02:00",
    "lastModifiedTime": "2026-04-22T08:15:00+02:00",
    "start": "2026-05-01T09:00:00+02:00",
    "end": "2026-05-01T10:00:00+02:00",
    "occurrences": [
      "2026-05-01",
      "2026-05-08"
    ],
    "customFields": [
      {
        "id": "cfEquipment",
        "name": "Equipment",
        "value": "Projector"
      }
    ]
  },
  "metadata": {
    "timezone": "Europe/Berlin",
    "requestId": "3f2b9c1d7a4e4f0b8c6d5e1a2b3c4d5e"
  }
}

Verifying Signatures

Webhooks follow the Standard Webhooks specification, so any of its libraries can verify them. You can also check a request by hand at standardwebhooks.com/verify.

To verify a request yourself:

  1. Take the webhook's secret, remove the whsec_ prefix, and base64-decode the rest. The result is the key.
  2. Build the signed content: {webhook-id}.{webhook-timestamp}.{raw body}.
  3. Compute the HMAC-SHA256 of the signed content with the key, and base64-encode it.
  4. The webhook-signature header is a space-separated list of version,signature entries. Today it has one v1 entry. Accept the request if any v1 entry matches your result, compared in constant time.
  5. Reject the request if webhook-timestamp is more than 5 minutes away from your clock. This protects you from replayed requests.

Important. Verify against the raw request bytes, before you parse the body. JSON that has been parsed and serialized again will not match, because escaping and spacing differ.

Use this booking_occurrence.checked_in request to test your code. The secret is only an example and signs nothing real.

{"type":"booking_occurrence.checked_in","timestamp":"2026-04-22T08:15:05+02:00","data":{"bookingId":"us_bkg_1","holderId":"us_vur_1","spaces":["us_ast_1"],"start":"2026-05-01T09:00:00+02:00","end":"2026-05-01T10:00:00+02:00"},"metadata":{"timezone":"Europe/Berlin","requestId":"3f2b9c1d7a4e4f0b8c6d5e1a2b3c4d5e"}}

C#

using System;
using System.Security.Cryptography;
using System.Text;

static bool Verify(string secret, string id, string timestamp, string signatureHeader, string rawBody)
{
    if (!long.TryParse(timestamp, out var sentAt))
        return false;
    if (Math.Abs(DateTimeOffset.UtcNow.ToUnixTimeSeconds() - sentAt) > 300)
        return false;

    var key = Convert.FromBase64String(secret.Substring("whsec_".Length));
    var expected = HMACSHA256.HashData(key, Encoding.UTF8.GetBytes($"{id}.{timestamp}.{rawBody}"));

    foreach (var entry in signatureHeader.Split(' ', StringSplitOptions.RemoveEmptyEntries))
    {
        var parts = entry.Split(',', 2);
        if (parts.Length != 2 || parts[0] != "v1")
            continue;

        try
        {
            var provided = Convert.FromBase64String(parts[1]);
            if (CryptographicOperations.FixedTimeEquals(expected, provided))
                return true;
        }
        catch (FormatException)
        {
        }
    }

    return false;
}

Node.js

const crypto = require('crypto');

function verify(secret, id, timestamp, signatureHeader, rawBody) {
  const sentAt = Number(timestamp);
  if (!Number.isFinite(sentAt) || Math.abs(Date.now() / 1000 - sentAt) > 300) {
    return false;
  }

  const key = Buffer.from(secret.slice('whsec_'.length), 'base64');
  const expected = crypto.createHmac('sha256', key).update(`${id}.${timestamp}.${rawBody}`).digest();

  return signatureHeader.split(' ').some((entry) => {
    const [version, signature] = entry.split(',');
    if (version !== 'v1' || !signature) {
      return false;
    }
    const provided = Buffer.from(signature, 'base64');
    return provided.length === expected.length && crypto.timingSafeEqual(provided, expected);
  });
}

Python

import base64
import hashlib
import hmac
import time


def verify(secret, webhook_id, timestamp, signature_header, raw_body):
    try:
        sent_at = int(timestamp)
    except ValueError:
        return False
    if abs(time.time() - sent_at) > 300:
        return False

    key = base64.b64decode(secret[len("whsec_"):])
    signed_content = f"{webhook_id}.{timestamp}.{raw_body}".encode("utf-8")
    digest = hmac.new(key, signed_content, hashlib.sha256).digest()
    expected = base64.b64encode(digest)

    for entry in signature_header.split(" "):
        version, _, signature = entry.partition(",")
        if version == "v1" and hmac.compare_digest(signature.encode(), expected):
            return True
    return False

Responses and Retries

Respond with any 2xx status within 10 seconds. Redirects are not followed and count as failures.

Response Result
2xx Success.
3xx Failed. Not retried.
408 and 429 Failed. Retried.
Any other 4xx Failed. Not retried.
5xx, timeouts and connection errors Failed. Retried.

A failed request is retried on this schedule:

Attempt Wait after the previous failure Time since the first attempt
1 Immediately Immediately
2 30 seconds 30 seconds
3 2 minutes 2 minutes 30 seconds
4 8 minutes 10 minutes 30 seconds
5 32 minutes 42 minutes 30 seconds

Waits are approximate. After the last retry fails, the event is not sent to that webhook again. The webhook stays enabled. When an event goes to several webhooks, only the ones that failed are retried.

Changelog

Changes to this API and its webhooks are recorded here, newest first.

Venue Users

Fetch a Single Booking Occurrence

Last-Modified Filter for Occurrences

Webhooks (Beta)

Version 1.0 Release Notes

This initial release introduces core read access to venue resources and booking data:

Security scheme: ApiKey

HTTP, scheme bearer.

A venue API key, sent as Authorization: Bearer <key>. Keys are created by a venue admin on the Integrations page and are scoped to the venue that issued them, which is how a request selects its venue.

Endpoints

Assets

The spaces and add-ons at a venue: bookable spaces and add-ons that can be booked, and assigned spaces that are permanently allocated to one user. An asset's category determines which of its optional properties are populated.

GET /api/v1/assets

List assets

Returns the assets available at a venue, including bookable spaces, assigned spaces, and add-ons. Assets are ordered by ID for consistency; the order itself has no additional meaning.

Parameters:

Name In Required Type Description
filter[category] Query No bookable | assigned | addOn Returns only the assets of one category. An asset belongs to exactly one.
sort[field] Query No assetId | name | category Orders the assets by this field. Defaults to assetId.
sort[direction] Query No asc | desc Direction of the ordering. Defaults to asc.
page[after] Query No string Returns the assets that follow this cursor. Pass back the paging.cursor of the previous response, and keep every other parameter of the request unchanged — a filter or sort changed mid-run re-orders the list the cursor is resolved against.
page[pageSize] Query No string How many assets to return, from 1 to 100. Defaults to 100.
expand Query No string Comma-separated paths naming which referenced records to return in full rather than as an id — for example assignedTo. Nest with dots, up to 3 expanded fields in one path.

filter[category] values:

Value Description
bookable A space venue users book for a period of time.
assigned A space held permanently by one venue user, who is named in assignedTo.
addOn An extra booked alongside a space, such as equipment or catering; how much of it exists is in addOnConfig.

Responses:

Status Body Description
200 AssetListResponse OK
400 ErrorResponse Bad Request
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
429 ErrorResponse Too Many Requests

200 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

400 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

429 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.
Retry-After integer How many seconds to wait before retrying. The same number is in the error's title.
curl -X GET "https://api.skedda.com/api/v1/assets" \
  -H "Authorization: Bearer $SKEDDA_API_KEY"

Booking occurrences

Individual calendar entries for asset reservations. Each date of a recurring booking is its own occurrence, so a series is read one occurrence at a time.

GET /api/v1/booking-occurrences

List booking occurrences

Returns booking occurrences within a specified date range of up to 31 days. Each occurrence of a recurring booking is returned separately.

Parameters:

Name In Required Type Description
filter[dateTimeFrom] Query Yes string (date-time) Start of the range to read, as an ISO-8601 date-time carrying a UTC offset — for example 2026-05-01T09:00:00+02:00. A value without an offset is rejected rather than assumed to be in the venue's zone.
filter[dateTimeTo] Query Yes string (date-time) End of the range to read, in the same form as the start of it. The window between the two cannot exceed 31 days.
filter[spaceIds] Query No array of string Returns only the occurrences held in these spaces. Repeat the parameter once per space global id, up to 50 of them.
filter[holders] Query No array of string Returns only the occurrences whose booking is held by these venue users. Repeat the parameter once per venue-user global id, up to 50 of them.
filter[lastModifiedTime] Query No string (date-time) This filters your results to show only bookings updated on or after a specific time. Format the time with a UTC offset, like this: 2026-05-01T09:00:00+02:00. For more details, check out the "Incremental sync" section in the guide.
sort[field] Query No start | holder | lastModifiedTime Orders the occurrences by this field. Defaults to start.
sort[direction] Query No asc | desc Direction of the ordering. Defaults to asc.
page[after] Query No string Returns the occurrences that follow this cursor. Pass back the paging.cursor of the previous response, and keep every other parameter of the request unchanged — a filter or sort changed mid-run re-orders the list the cursor is resolved against.
page[pageSize] Query No string How many occurrences to return, from 1 to 100. Defaults to 100.
expand Query No string Comma-separated paths naming which referenced records to return in full rather than as an id — for example holder.tags. Nest with dots, up to 3 expanded fields in one path.

Responses:

Status Body Description
200 BookingOccurrenceListResponse OK
400 ErrorResponse Bad Request
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
429 ErrorResponse Too Many Requests

200 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.
Link string A ready-made URL for the next page, in the RFC 8288 form <url>; rel="next". It repeats the request's own filters and sort, so following it cannot change the run the cursor is resolved against. Absent on the last page.

400 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

429 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.
Retry-After integer How many seconds to wait before retrying. The same number is in the error's title.
curl -X GET "https://api.skedda.com/api/v1/booking-occurrences" \
  -H "Authorization: Bearer $SKEDDA_API_KEY"

GET /api/v1/booking/{bookingId}/occurrence/{date}

Get a booking occurrence

Returns the same item as the list, identified by a list item's bookingId and the date part of its start.

Returns 404 if the booking is missing, deleted or an event, or has no occurrence on that date. Editing one occurrence of a series can move it to a new booking id.

Parameters:

Name In Required Type Description
bookingId Path Yes string Global id of the booking — the bookingId of a list item.
date Path Yes string (date) Start date of the occurrence in the venue's time zone, as YYYY-MM-DD — the date part of the list item's start.
expand Query No string Comma-separated paths naming which referenced records to return in full rather than as an id — for example holder. Nest with dots, up to 3 expanded fields in one path.

Responses:

Status Body Description
200 BookingOccurrenceResponse OK
400 ErrorResponse Bad Request
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
404 ErrorResponse Not Found
429 ErrorResponse Too Many Requests

200 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

400 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

429 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.
Retry-After integer How many seconds to wait before retrying. The same number is in the error's title.
curl -X GET "https://api.skedda.com/api/v1/booking/{bookingId}/occurrence/{date}" \
  -H "Authorization: Bearer $SKEDDA_API_KEY"

Venue users

The people who can use a venue, with their contact details and tags. Removed users are not included.

GET /api/v1/venue-users

List venue users

Returns the venue's users, sorted by id. Users removed from the venue, or whose account is deleted or pending deletion, are never returned. filter[email] matches exact emails, ignoring case; filter[tagIds] matches users with any of the given tags; the two filters combine with AND. A user's id is the same id bookings use as holder.

Parameters:

Name In Required Type Description
filter[email] Query No array of string Returns only the venue users with these emails. Matching is exact and ignores case. Repeat the parameter once per email, up to 50 of them; a user matching any of them is returned.
filter[tagIds] Query No array of string Returns only the venue users that have any of these tags. Repeat the parameter once per venue-user tag global id, up to 50 of them. Combined with filter[email], a user must match both.
sort[field] Query No id Orders the venue users by this field. Defaults to id.
sort[direction] Query No asc | desc Direction of the ordering. Defaults to asc.
page[after] Query No string Returns the venue users that follow this cursor. Pass back the paging.cursor of the previous response, and keep every other parameter of the request unchanged — a filter or sort changed mid-run re-orders the list the cursor is resolved against.
page[pageSize] Query No string How many venue users to return, from 1 to 100. Defaults to 100.
expand Query No string Comma-separated paths naming which referenced records to return in full rather than as an id — for example tags. Nest with dots, up to 3 expanded fields in one path.

Responses:

Status Body Description
200 VenueUserListResponse OK
400 ErrorResponse Bad Request
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
429 ErrorResponse Too Many Requests

200 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

400 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

429 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.
Retry-After integer How many seconds to wait before retrying. The same number is in the error's title.
curl -X GET "https://api.skedda.com/api/v1/venue-users" \
  -H "Authorization: Bearer $SKEDDA_API_KEY"

GET /api/v1/venue-user/{venueUserId}

Get a venue user

Returns the same item as the list. Use it to resolve a booking's holder id.

Returns 404 if the user doesn't exist, belongs to another venue, or was removed.

Parameters:

Name In Required Type Description
venueUserId Path Yes string Global id of the venue user — the id of a list item, or a booking occurrence's holder.
expand Query No string Comma-separated paths naming which referenced records to return in full rather than as an id — for example tags. Nest with dots, up to 3 expanded fields in one path.

Responses:

Status Body Description
200 VenueUserResponse OK
400 ErrorResponse Bad Request
401 ErrorResponse Unauthorized
403 ErrorResponse Forbidden
404 ErrorResponse Not Found
429 ErrorResponse Too Many Requests

200 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

400 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.

429 headers:

Header Type Description
X-RateLimit-Limit integer How many requests this API key may make in a one-minute window.
X-RateLimit-Remaining integer How many requests are left in the current window.
X-RateLimit-Reset integer When the current window resets, as a Unix time in seconds.
Retry-After integer How many seconds to wait before retrying. The same number is in the error's title.
curl -X GET "https://api.skedda.com/api/v1/venue-user/{venueUserId}" \
  -H "Authorization: Bearer $SKEDDA_API_KEY"

API reference

This reference in other formats: the OpenAPI document for generating clients or importing into tools, and plain Markdown or HTML for reading without JavaScript. No API key is needed.

GET /api/v1/openapi/v1.json

OpenAPI document (JSON)

Responses:

Status Body Description
200 — OK
curl -X GET "https://api.skedda.com/api/v1/openapi/v1.json"

GET /api/v1/openapi/v1.yaml

OpenAPI document (YAML)

Responses:

Status Body Description
200 — OK
curl -X GET "https://api.skedda.com/api/v1/openapi/v1.yaml"

GET /api/v1/docs.md

API reference (Markdown)

Responses:

Status Body Description
200 — OK
curl -X GET "https://api.skedda.com/api/v1/docs.md"

GET /api/v1/docs/html

API reference (HTML)

Responses:

Status Body Description
200 — OK
curl -X GET "https://api.skedda.com/api/v1/docs/html"

Webhook events

Requests sent to your endpoint. See the Webhooks section above for signing and retries.

POST booking.created

Booking created

Sent when a booking is created: in the web app, in the mobile or tablet app, from a synced external calendar, or automatically by venue features.

A recurring booking is one booking, so a new series sends one event.

A booking that is created already checked in also sends booking_occurrence.checked_in right after.

Parameters:

Name In Required Type Description
webhook-id Header Yes string Unique id of the event. It stays the same across retries and has the same value as metadata.requestId; use it to drop duplicates.
webhook-timestamp Header Yes integer When this attempt was sent, in Unix seconds (UTC). It changes on every retry.
webhook-signature Header Yes string v1, followed by the base64 HMAC-SHA256 signature of {webhook-id}.{webhook-timestamp}.{body}. See Verifying signatures in the guide.
X-Payload-Version Header Yes string Version of the payload format.

Request body: BookingWebhookEvent

{
  "type": "booking.created",
  "timestamp": "2026-04-22T08:15:05\u002B02:00",
  "data": {
    "bookingId": "us_bkg_1",
    "venueId": "us_ven_1",
    "holderId": "us_vur_1",
    "holderEmail": "jane.doe@example.com",
    "spaces": [
      "us_ast_1"
    ],
    "title": "Team standup",
    "type": "User",
    "price": 25.00,
    "createdBy": "us_vur_1",
    "createdByEmail": "alex.admin@example.com",
    "lastModifiedBy": "us_vur_1",
    "lastModifiedByEmail": "alex.admin@example.com",
    "createdTime": "2026-04-20T14:30:00\u002B02:00",
    "lastModifiedTime": "2026-04-22T08:15:00\u002B02:00",
    "start": "2026-05-01T09:00:00\u002B02:00",
    "end": "2026-05-01T10:00:00\u002B02:00",
    "occurrences": [
      "2026-05-01",
      "2026-05-08"
    ],
    "customFields": [
      {
        "id": "cfEquipment",
        "name": "Equipment",
        "value": "Projector"
      }
    ]
  },
  "metadata": {
    "timezone": "Europe/Berlin",
    "requestId": "3f2b9c1d7a4e4f0b8c6d5e1a2b3c4d5e"
  }
}

Responses:

Status Body Description
2XX — Acknowledged. Any 2xx status counts if it arrives within 10 seconds. The response body is ignored.
3XX — Failed, not retried. Redirects are not followed.
408 — Failed, retried.
429 — Failed, retried.
4XX — Failed, not retried.
5XX — Failed, retried.

POST booking.updated

Booking updated

Sent when a booking changes: its time, spaces, title, holder, custom fields or recurrence. Saving a booking with no change sends nothing.

Cancelling one occurrence of a recurring booking also sends this event. That covers the cancel link, the automatic release of an occurrence that was not checked in, and a series edit that only removes occurrences. The removed dates are in data.cancelledOccurrenceDates.

When one occurrence is split off from a series into its own booking, the series sends this event with its new occurrence list, and the new booking sends booking.created.

An update that checks the booking in also sends booking_occurrence.checked_in.

Parameters:

Name In Required Type Description
webhook-id Header Yes string Unique id of the event. It stays the same across retries and has the same value as metadata.requestId; use it to drop duplicates.
webhook-timestamp Header Yes integer When this attempt was sent, in Unix seconds (UTC). It changes on every retry.
webhook-signature Header Yes string v1, followed by the base64 HMAC-SHA256 signature of {webhook-id}.{webhook-timestamp}.{body}. See Verifying signatures in the guide.
X-Payload-Version Header Yes string Version of the payload format.

Request body: BookingWebhookEvent

{
  "type": "booking.updated",
  "timestamp": "2026-04-22T08:15:05\u002B02:00",
  "data": {
    "bookingId": "us_bkg_1",
    "venueId": "us_ven_1",
    "holderId": "us_vur_1",
    "holderEmail": "jane.doe@example.com",
    "spaces": [
      "us_ast_1"
    ],
    "title": "Team standup",
    "type": "User",
    "price": 25.00,
    "createdBy": "us_vur_1",
    "createdByEmail": "alex.admin@example.com",
    "lastModifiedBy": "us_vur_1",
    "lastModifiedByEmail": "alex.admin@example.com",
    "createdTime": "2026-04-20T14:30:00\u002B02:00",
    "lastModifiedTime": "2026-04-22T08:15:00\u002B02:00",
    "start": "2026-05-01T09:00:00\u002B02:00",
    "end": "2026-05-01T10:00:00\u002B02:00",
    "occurrences": [
      "2026-05-01",
      "2026-05-08"
    ],
    "cancelledOccurrenceDates": [
      "2026-05-08"
    ],
    "customFields": [
      {
        "id": "cfEquipment",
        "name": "Equipment",
        "value": "Projector"
      }
    ]
  },
  "metadata": {
    "timezone": "Europe/Berlin",
    "requestId": "3f2b9c1d7a4e4f0b8c6d5e1a2b3c4d5e"
  }
}

Responses:

Status Body Description
2XX — Acknowledged. Any 2xx status counts if it arrives within 10 seconds. The response body is ignored.
3XX — Failed, not retried. Redirects are not followed.
408 — Failed, retried.
429 — Failed, retried.
4XX — Failed, not retried.
5XX — Failed, retried.

POST booking.cancelled

Booking cancelled

Sent when a whole booking is cancelled or deleted. That includes automatic removals, such as released bookings and bookings removed when their holder leaves the venue.

The booking no longer exists afterwards, so the payload is its last known state.

When one occurrence of a series is cancelled, you get booking.updated instead.

Parameters:

Name In Required Type Description
webhook-id Header Yes string Unique id of the event. It stays the same across retries and has the same value as metadata.requestId; use it to drop duplicates.
webhook-timestamp Header Yes integer When this attempt was sent, in Unix seconds (UTC). It changes on every retry.
webhook-signature Header Yes string v1, followed by the base64 HMAC-SHA256 signature of {webhook-id}.{webhook-timestamp}.{body}. See Verifying signatures in the guide.
X-Payload-Version Header Yes string Version of the payload format.

Request body: BookingWebhookEvent

{
  "type": "booking.cancelled",
  "timestamp": "2026-04-22T08:15:05\u002B02:00",
  "data": {
    "bookingId": "us_bkg_1",
    "venueId": "us_ven_1",
    "holderId": "us_vur_1",
    "holderEmail": "jane.doe@example.com",
    "spaces": [
      "us_ast_1"
    ],
    "title": "Team standup",
    "type": "User",
    "price": 25.00,
    "createdBy": "us_vur_1",
    "createdByEmail": "alex.admin@example.com",
    "lastModifiedBy": "us_vur_1",
    "lastModifiedByEmail": "alex.admin@example.com",
    "createdTime": "2026-04-20T14:30:00\u002B02:00",
    "lastModifiedTime": "2026-04-22T08:15:00\u002B02:00",
    "start": "2026-05-01T09:00:00\u002B02:00",
    "end": "2026-05-01T10:00:00\u002B02:00",
    "occurrences": [
      "2026-05-01",
      "2026-05-08"
    ],
    "customFields": [
      {
        "id": "cfEquipment",
        "name": "Equipment",
        "value": "Projector"
      }
    ]
  },
  "metadata": {
    "timezone": "Europe/Berlin",
    "requestId": "3f2b9c1d7a4e4f0b8c6d5e1a2b3c4d5e"
  }
}

Responses:

Status Body Description
2XX — Acknowledged. Any 2xx status counts if it arrives within 10 seconds. The response body is ignored.
3XX — Failed, not retried. Redirects are not followed.
408 — Failed, retried.
429 — Failed, retried.
4XX — Failed, not retried.
5XX — Failed, retried.

POST booking_occurrence.checked_in

Booking occurrence checked in

Sent when an occurrence is checked in: in the web or mobile app, from the check-in reminder email, in Slack, in Microsoft Teams, on a tablet, or automatically through occupancy tracking.

One event is sent per checked-in occurrence. Bookings without a holder send none.

This event uses a smaller payload than the booking events.

Parameters:

Name In Required Type Description
webhook-id Header Yes string Unique id of the event. It stays the same across retries and has the same value as metadata.requestId; use it to drop duplicates.
webhook-timestamp Header Yes integer When this attempt was sent, in Unix seconds (UTC). It changes on every retry.
webhook-signature Header Yes string v1, followed by the base64 HMAC-SHA256 signature of {webhook-id}.{webhook-timestamp}.{body}. See Verifying signatures in the guide.
X-Payload-Version Header Yes string Version of the payload format.

Request body: BookingOccurrenceWebhookEvent

{
  "type": "booking_occurrence.checked_in",
  "timestamp": "2026-04-22T08:15:05\u002B02:00",
  "data": {
    "bookingId": "us_bkg_1",
    "holderId": "us_vur_1",
    "spaces": [
      "us_ast_1"
    ],
    "start": "2026-05-01T09:00:00\u002B02:00",
    "end": "2026-05-01T10:00:00\u002B02:00"
  },
  "metadata": {
    "timezone": "Europe/Berlin",
    "requestId": "3f2b9c1d7a4e4f0b8c6d5e1a2b3c4d5e"
  }
}

Responses:

Status Body Description
2XX — Acknowledged. Any 2xx status counts if it arrives within 10 seconds. The response body is ignored.
3XX — Failed, not retried. Redirects are not followed.
408 — Failed, retried.
429 — Failed, retried.
4XX — Failed, not retried.
5XX — Failed, retried.

Models

Asset

An asset is exactly one of these types: a bookable space, an assigned space, or an add-on. Category determines the type, and therefore which optional properties are populated.

Property Type Required Description
id string Yes Global id of the asset.
name string Yes
category AssetCategory Yes What kind of asset this is, which determines how a venue books it.
description string, or null Yes
images array of string Yes Absolute URLs of the asset's images, ready to fetch as-is. Empty when the asset has no images.
assignedTo { id } or VenueUser, or null Yes Who the asset is permanently assigned to, for assigned spaces: the venue user's id, or the full venue user when expand=assignedTo is requested. Null for every other category.
addOnConfig AssetAddOnConfig, or null Yes
attributes AssetAttributes Yes The venue's own classification of an asset: its type, its tags, and how many people it seats.

AssetAddOnConfig

How much of an add-on exists and how much of it one booking may take.

Property Type Required Description
quantity integer (int32) Yes Total units the venue holds.
maxQuantityPerBooking integer (int32), or null Yes Per-booking ceiling, or null when a booking may take the whole quantity.
isArchived boolean Yes

AssetAttribute

A venue-defined type or tag, as its id plus the venue's label for it.

Property Type Required Description
id string Yes Identifier of the type or tag. Unlike the other ids here it is not a global id: types and tags are defined per venue, so the value is the venue-local one assigned when the type or tag was created.
name string Yes The venue's label, which they may rename at any time.

AssetAttributes

The venue's own classification of an asset: its type, its tags, and how many people it seats.

Property Type Required Description
type AssetAttribute, or null Yes
tags array of AssetAttribute Yes
capacity integer (int32), or null Yes People the asset seats, or null when the venue has not set one.

AssetCategory

What kind of asset this is, which determines how a venue books it.

Value Description
bookable A space venue users book for a period of time.
assigned A space held permanently by one venue user, who is named in assignedTo.
addOn An extra booked alongside a space, such as equipment or catering; how much of it exists is in addOnConfig.

AssetListResponse

The envelope every successful list response is wrapped in. The items live under data; everything a client needs to interpret or continue the request sits beside them rather than inside each item.

Property Type Required Description
metadata ResponseMetadata Yes Request-level context that applies to the whole response rather than to any one item.
data array of Asset Yes
paging Paging Yes Where the returned page sits in the full result set, and how to ask for the next one.

BookingOccurrence

One occurrence of one booking — the unit this endpoint returns. Recurring bookings contribute one item per occurrence, so the booking-level properties repeat across the items of a series.

Every date-time is an ISO-8601 string with the venue's UTC offset for that occurrence, so the offset can differ across a daylight-saving change. The venue's time zone is given in metadata.timezone.

Property Type Required Description
bookingId string Yes
venueId string Yes
holder { id } or VenueUser, or null Yes A reference to a VenueUser: only its id unless expand names this position, in which case the full VenueUser is inlined.
spaces array of ({ id } or Asset) Yes The spaces the booking occupies, ordered by the underlying space id. The order carries no meaning — it exists so the same request always renders the array the same way.
title string, or null Yes
type BookingType Yes
createdBy { id } or VenueUser, or null Yes A reference to a VenueUser: only its id unless expand names this position, in which case the full VenueUser is inlined.
lastModifiedBy { id } or VenueUser, or null Yes A reference to a VenueUser: only its id unless expand names this position, in which case the full VenueUser is inlined.
createdTime string, or null Yes
lastModifiedTime string, or null Yes
customFields array of BookingOccurrenceCustomField Yes
addOns array of BookingOccurrenceAddOn Yes
conference BookingOccurrenceConference, or null Yes
start string Yes
end string Yes
checkedIn boolean Yes
paymentStatus BookingPaymentStatus No Omitted entirely when the venue has no payment gateway set up.
price number (double) No If the venue doesn't use pricing rules, this field is left out entirely. When it's missing, it just means the venue doesn't manage pricing. If a booking is free or fully covered by a coupon, this will show 0.
chargeTransactionId string No Omitted when the venue has no payment gateway set up, and also when nothing has been charged yet. Presence of PaymentStatus is what distinguishes the two.

BookingOccurrenceAddOn

An add-on booked with this booking, as a reference to the add-on space plus the quantity taken.

Property Type Required Description
asset { id } or Asset Yes A reference to a Asset: only its id unless expand names this position, in which case the full Asset is inlined.
quantity integer (int32) Yes

BookingOccurrenceConference

The conference attached to this booking. Deliberately narrow: join URL and provider only. The meeting id, password, access code, host email and per-occurrence ids are not exposed.

Property Type Required Description
joinUrl string, or null Yes
type ConferenceType Yes

BookingOccurrenceCustomField

A filled-in custom field. Name is the venue's label for the field; the value is emitted as stored, so its JSON type follows the field's type: a string, a number, a boolean, or an array of strings for a multi-select field.

Id is the durable key: it is assigned once when the field is created and is immutable thereafter, whereas the label can be renamed at any time and is not unique across a venue's fields. Unlike every other id in this payload it is not a global id — the global-id stack is numeric-only and a field id is unique within its venue rather than globally, so it is emitted as stored (e.g. cfPurposeOfVisit).

Fields the venue marked admin-only are deliberately included. The key authenticating this endpoint is created by an admin and scoped to the venue, so it carries admin visibility — the same reason the iCal feed renders admin-only values for a venue-level token but omits them for a per-user one.

Property Type Required Description
id string Yes
name string Yes
value boolean or number or string or array of string, or null Yes

BookingOccurrenceListResponse

The envelope every successful list response is wrapped in. The items live under data; everything a client needs to interpret or continue the request sits beside them rather than inside each item.

Property Type Required Description
metadata ResponseMetadata Yes Request-level context that applies to the whole response rather than to any one item.
data array of BookingOccurrence Yes
paging Paging Yes Where the returned page sits in the full result set, and how to ask for the next one.

BookingOccurrenceResponse

The envelope a successful single-item response is wrapped in: the item under data, the metadata beside it. No paging, because there is nothing to page.

Property Type Required Description
metadata ResponseMetadata Yes Request-level context that applies to the whole response rather than to any one item.
data BookingOccurrence, or null Yes

BookingOccurrenceWebhookEvent

The body of every booking occurrence event.

Property Type Required Description
type booking_occurrence.checked_in Yes The event name, for example booking.created.
timestamp string (date-time) Yes When the event happened, in the venue's time zone with its offset. This is not the send time: that is the webhook-timestamp header, which changes on every retry.
data WebhookBookingOccurrence Yes The checked-in occurrence.
metadata WebhookMetadata Yes Context for the event.

BookingPaymentStatus

Value Description
notApplicable No payment is tracked, because the booking's price is 0 — free, or fully covered by a discount code. The app shows this as "N/A".
default The booking has a price, but no payment status is being tracked for it — the app shows this as "No status". It is where every priced event booking starts, and where a venue leaves a booking it would rather an admin mark paid or unpaid later. Nothing resolves it on its own: it stays until an admin changes it, or a payment or an invoice moves it on.
unpaid The booking has a price and no payment has been received. A booking also falls back to this after a full refund, or after its invoice is voided.
paid Payment was received in full — by card charge, by a paid invoice, or marked by an admin. A paid booking can no longer have its price or discount changed, and cannot be ended early.
invoiced An invoice has been issued and is not yet paid — the app shows this as "Unpaid - Invoiced". It becomes paid once the invoice is paid, and unpaid if the invoice is voided.

BookingType

Value Description
internal
user
unavailable
event
service

BookingWebhookEvent

The body of every booking event.

Property Type Required Description
type booking.created | booking.updated | booking.cancelled Yes The event name, for example booking.created.
timestamp string (date-time) Yes When the event happened, in the venue's time zone with its offset. This is not the send time: that is the webhook-timestamp header, which changes on every retry.
data WebhookBooking Yes The booking the event is about.
metadata WebhookMetadata Yes Context for the event.

ConferenceType

Value Description
unknown
zoom
webex

Error

One broken rule. A response reports every error it found, so expect several of these.

Property Type Required Description
type string Yes Stable machine-readable identifier for the kind of failure — the value to branch on in client code, since Title is prose and may be reworded.
title string Yes Human-readable explanation, intended for a developer reading a log rather than an end user.
status integer (int32) Yes The HTTP status this error maps to.
requestId string Yes Identifier for this request, worth quoting in a support conversation: it is what ties the response back to our logs.

ErrorResponse

The envelope every failed request is answered with.

Property Type Required Description
metadata ResponseMetadata Yes Request-level context that applies to the whole response rather than to any one item.
errors array of Error Yes

Paging

Where the returned page sits in the full result set, and how to ask for the next one.

Property Type Required Description
cursor string, or null Yes Cursor of the last item, to be echoed back as page[after].
pageSize integer (int32) Yes How many items this page actually contains, which may be fewer than requested.
isLast boolean Yes Whether this is the final page of the result set.

ResponseMetadata

Request-level context that applies to the whole response rather than to any one item.

Property Type Required Description
timezone string Yes The IANA zone the response's date-times belong to. Those are pre-formatted strings carrying an offset, and the offset alone cannot be turned back into a zone, so it is named here.

VenueUser

A venue's member together with the person's identity. One flat object because neither half is useful alone: the venue-user row says nothing about who the person is, and the profile carries no venue context.

Property Type Required Description
id string Yes
venueId string Yes
email string, or null Yes
firstName string, or null Yes
lastName string, or null Yes
organisation string, or null Yes
phoneNumber string, or null Yes
notes string, or null Yes
paymentGatewayCustomerId string, or null Yes
createdTime string, or null Yes
lastModifiedTime string, or null Yes
createdBy { id }, or null Yes A reference to a VenueUser: only its id unless expand names this position, in which case the full VenueUser — the same shape as this model — is inlined.
lastModifiedBy { id }, or null Yes A reference to a VenueUser: only its id unless expand names this position, in which case the full VenueUser — the same shape as this model — is inlined.
tags array of ({ id } or VenueUserTag) Yes

VenueUserListResponse

The envelope every successful list response is wrapped in. The items live under data; everything a client needs to interpret or continue the request sits beside them rather than inside each item.

Property Type Required Description
metadata ResponseMetadata Yes Request-level context that applies to the whole response rather than to any one item.
data array of VenueUser Yes
paging Paging Yes Where the returned page sits in the full result set, and how to ask for the next one.

VenueUserResponse

The envelope a successful single-item response is wrapped in: the item under data, the metadata beside it. No paging, because there is nothing to page.

Property Type Required Description
metadata ResponseMetadata Yes Request-level context that applies to the whole response rather than to any one item.
data VenueUser, or null Yes

VenueUserTag

Property Type Required Description
id string Yes
name string Yes
type custom | bookingAdmin | owner | systemAdmin | customAdmin Yes

WebhookBooking

The booking as it is after the change; for booking.cancelled, its last known state.

Property Type Required Description
bookingId string Yes Global id of the booking, as used by the Booking occurrences endpoint.
venueId string Yes Global id of the venue.
holderId string, or null No Global id of the venue user who holds the booking; null when the booking has no holder.
holderEmail string, or null No Email of the holder; null when the booking has no holder.
spaces array of string Yes Global ids of the booked spaces, in ascending order.
title string, or null No The booking's title; null when it has none.
type Internal | User | Unavailable | Event | Service Yes The booking type.
price number (double) No The booking's price. Omitted when the venue has no booking pricing rules, so a missing price does not mean the booking is free.
createdBy string, or null No Global id of the venue user who created the booking; null when it was not created by a venue user.
createdByEmail string, or null No Email of the venue user who created the booking; null when it was not created by a venue user.
lastModifiedBy string, or null No Global id of the venue user whose change sent this event. For changes made by the system it is the previous modifier, or null.
lastModifiedByEmail string, or null No Email of the venue user in lastModifiedBy.
createdTime string (date-time), or null No When the booking was created, in the venue's time zone.
lastModifiedTime string (date-time), or null No When the booking was last changed, in the venue's time zone. Use it to order events for the same booking.
start string (date-time) Yes Start of the first occurrence, in the venue's time zone. For a recurring booking this is the earliest occurrence, not the next one.
end string (date-time) Yes End of the first occurrence, in the venue's time zone.
occurrences array of string (date) Yes Start date (yyyy-MM-dd) of every occurrence, in ascending order.
cancelledOccurrenceDates array of string (date) No Only on booking.updated when occurrences were cancelled: their dates (yyyy-MM-dd), in ascending order. Omitted otherwise.
customFields array of WebhookCustomField No Custom field values on the booking. Only fields that still exist at the venue are included, in the venue's field order.

WebhookBookingOccurrence

The occurrence the event is about.

Property Type Required Description
bookingId string Yes Global id of the booking the occurrence belongs to.
holderId string Yes Global id of the venue user who holds the booking.
spaces array of string Yes Global ids of the booked spaces, in ascending order.
start string (date-time) Yes Start of the checked-in occurrence, in the venue's time zone.
end string (date-time) Yes End of the checked-in occurrence, in the venue's time zone.

WebhookCustomField

A custom field value on the booking.

Property Type Required Description
id string No Key of the custom field.
name string No Label of the custom field, as set up at the venue.
value any No The value as JSON. Its shape depends on the field type; null when it is not set.

WebhookMetadata

Context for the event.

Property Type Required Description
timezone string Yes The venue's IANA time zone, for example Europe/Berlin. Every date-time in the payload is in this zone.
requestId string Yes Unique id of this event. It has the same value as the webhook-id header: it stays the same across retries and across every webhook that receives the event, so use it to drop duplicates.