Search API documentation

Type to search the API docs.

Keep Another System Updated with Event and Task Changes

Keep a copy of your Events and Tasks in another system, refreshed with only what changed.

Example use case

Another system needs a local copy of your ExhibitDay Events and Tasks.

What you'll end up with

A JSON mirror for each record type and separate checkpoints for the next run.

Before you start

Have a workspace API key and choose a local directory. Keep the same workspace API key, filters and access scope throughout a sync.

Good to know

A checkpoint includes records updated at that exact time. Save each returned record by ID so processing it again replaces the previous entry.

At a glance

Time to try

About 10 minutes

Effect on your data

Read-only

Endpoints

2

Reads Events and Tasks. The program writes local mirror and checkpoint files. A small workspace takes about 10 minutes.

How it works

  1. Read every page of Events and Tasks on the first run.
  2. Save each record by ID and keep a separate checkpoint for Events and for Tasks.
  3. On later runs, read records updated at or after each checkpoint and replace their saved entries.
  4. Save each local copy before moving its checkpoint forward.

Read, save and refresh

Steps 1 and 2 are for your first run. Steps 3 and 4 use the saved checkpoints on later runs. Each response below shows only the fields needed for paging and checkpoints.

Step 1: Read all matching Events

Start at offset zero and read every page to build your first Event mirror.

curl -X GET "https://api.exhibitday.com/v1/events?%24limit=100&%24offset=0" -H "Authorization: Bearer YOUR_API_KEY"

Example response (shortened)

{
  "records_found": 1,
  "total_records": 1,
  "has_more": false,
  "list_data": [
    {
      "id": 12345,
      "event_last_update_timestamp": "2026-11-30T17:00:00Z"
    }
  ]
}

Check: Use records_found to advance the offset and stop when has_more is false. total_records counts all matching Events before paging.

Step 2: Read all matching Tasks

Page through Tasks separately so the Task mirror can keep its own checkpoint.

curl -X GET "https://api.exhibitday.com/v1/tasks?%24limit=100&%24offset=0" -H "Authorization: Bearer YOUR_API_KEY"

Example response (shortened)

{
  "records_found": 1,
  "total_records": 1,
  "has_more": false,
  "list_data": [
    {
      "id": 12345,
      "task_last_update_timestamp": "2026-11-30T17:00:00Z"
    }
  ]
}

Check: Save or replace each Task by id. Finish and save the Task mirror before storing the latest task_last_update_timestamp.

Step 3: Refresh Events on the next run

Send the saved Event checkpoint to read Events updated at or after that time.

curl -X GET "https://api.exhibitday.com/v1/events?%24limit=100&%24offset=0&filter_by_last_update_timestamp_greater_than_or_equal_to=2026-11-30T17%3A00%3A00Z" -H "Authorization: Bearer YOUR_API_KEY"

Example response (shortened)

{
  "records_found": 1,
  "total_records": 1,
  "has_more": false,
  "list_data": [
    {
      "id": 12345,
      "event_last_update_timestamp": "2026-11-30T17:00:00Z"
    }
  ]
}

Check: Save or replace every returned record by id, even at the exact boundary. Finish and save the Event mirror before advancing the Event checkpoint.

Step 4: Refresh Tasks on the next run

Use the separate Task checkpoint to refresh the Task mirror.

curl -X GET "https://api.exhibitday.com/v1/tasks?%24limit=100&%24offset=0&filter_by_last_update_timestamp_greater_than_or_equal_to=2026-11-30T17%3A00%3A00Z" -H "Authorization: Bearer YOUR_API_KEY"

Example response (shortened)

{
  "records_found": 1,
  "total_records": 1,
  "has_more": false,
  "list_data": [
    {
      "id": 12345,
      "task_last_update_timestamp": "2026-11-30T17:00:00Z"
    }
  ]
}

Check: Treat the timestamp as inclusive and save the Task mirror before advancing its checkpoint.

Try it

Before running the example

VariableWhat to put in itRequired?
EXHIBITDAY_API_KEYYour workspace API key.Yes
EXHIBITDAY_SYNC_DIRA directory for the mirrors and checkpoints. Defaults to the current directory.No

Bash

export EXHIBITDAY_API_KEY='YOUR_API_KEY'
export EXHIBITDAY_SYNC_DIR='./exhibitday-sync'

PowerShell

$env:EXHIBITDAY_API_KEY = 'YOUR_API_KEY'
$env:EXHIBITDAY_SYNC_DIR = './exhibitday-sync'

Then copy the complete example program below in your language and run it.

Complete example program

Code Samples
#!/usr/bin/env bash
# Requires bash, curl and Python 3. Set EXHIBITDAY_API_KEY.
python3 - <<'EXHIBITDAY_PY'
# Python 3; standard library only. Set EXHIBITDAY_API_KEY before running.
import csv
import datetime
import http.client
import json
import os
import re
import time
import urllib.error
import urllib.parse
import urllib.request
import uuid
from pathlib import Path

BASE = "https://api.exhibitday.com/v1"
SPEC = json.loads("{\"preserveNumbers\":false,\"requests\":{\"events\":{\"method\":\"GET\",\"path\":\"/events\"},\"tasks\":{\"method\":\"GET\",\"path\":\"/tasks\"}}}")
API_KEY = os.environ["EXHIBITDAY_API_KEY"]
if not API_KEY.strip():
    raise RuntimeError("Set EXHIBITDAY_API_KEY")

def decode_json(text):
    if SPEC["preserveNumbers"]:
        # Quote JSON NUMBER tokens, never text inside a JSON string, to keep CSV decimals exact.
        text = re.sub(r'"(?:\\.|[^"\\])*"|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?',
                      lambda m: m[0] if m[0].startswith('"') else json.dumps(m[0]), text)
    return json.loads(text)

# This terminal version uses curl for HTTP and Python's standard library for JSON/CSV.
import subprocess
import tempfile

def transport(method, url, headers, data):
    with tempfile.TemporaryDirectory(prefix="exhibitday-guide-") as directory:
        folder = Path(directory)
        # curl may leave no output file for a valid bodyless304 response.
        (folder / "body").write_bytes(b"")
        command = ["curl", "--silent", "--show-error", "--request", method, "--url", url,
                   "--max-time", "30", "--dump-header", str(folder / "headers"),
                   "--output", str(folder / "body"), "--write-out", "%{http_code}"]
        for name, value in headers.items():
            command += ["--header", name + ": " + value]
        if data is not None:
            (folder / "request").write_bytes(data)
            command += ["--data-binary", "@" + str(folder / "request")]
        result = subprocess.run(command, capture_output=True, text=True)
        if result.returncode:
            raise urllib.error.URLError(result.stderr.strip())
        response_headers = {}
        blocks = (folder / "headers").read_text(encoding="iso-8859-1").replace("\r\n", "\n").strip().split("\n\n")
        for line in blocks[-1].splitlines()[1:]:
            name, separator, value = line.partition(":")
            if separator:
                response_headers[name] = value.strip()
        return int(result.stdout), (folder / "body").read_bytes(), response_headers


class ApiError(RuntimeError):
    """An API error response. Branch on error_code (and status), never on the message text.
    uncertain is True when a PATCH or DELETE got no response or a server error: it may or may not have been applied."""
    def __init__(self, status, body, uncertain=False):
        self.status = status
        self.uncertain = uncertain
        self.error_code = body.get("error_code") if isinstance(body, dict) else None
        super().__init__(f"{body.get('error_code')} {body.get('error_params')}: {body.get('errors')} (request {body.get('request_id')})"
                         if isinstance(body, dict) else "HTTP " + str(status) if status else "No response")

def call(name, params=None, body=None, extra_headers=None, key=None):
    route = SPEC["requests"][name]
    headers = {"Authorization": "Bearer " + API_KEY, "Accept": "application/json", **(extra_headers or {})}
    if route["method"] == "POST":
        headers["Idempotency-Key"] = key or str(uuid.uuid4())  # generated ONCE, before retries
    data = None if body is None else json.dumps(body).encode("utf-8")
    if data is not None:
        headers["Content-Type"] = "application/json"
    query = urllib.parse.urlencode(params or {})
    url = BASE + route["path"] + ("?" + query if query else "")
    # A GET, or a POST with its Idempotency-Key, can be sent again. A PATCH or DELETE that got no response or a
    # server error is never resent blindly: it may already have been applied, so the caller reads the record first.
    resend = route["method"] in ("GET", "POST")
    for attempt in range(5):
        try:
            status, raw, response_headers = transport(route["method"], url, headers, data)
        except (urllib.error.URLError, TimeoutError, ConnectionError, http.client.HTTPException):
            if not resend:
                raise ApiError(0, None, uncertain=True)
            if attempt == 4:
                raise
            time.sleep(2 ** attempt)
            continue
        response_headers = {k.lower(): v for k, v in response_headers.items()}
        result = None
        if status != 304 and raw:
            try:
                result = decode_json(raw.decode("utf-8"))
            except (ValueError, UnicodeError):
                if status < 400:
                    raise RuntimeError("Expected a JSON success response")
        if status >= 500 and not resend:
            raise ApiError(status, result, uncertain=True)
        retry = status == 429 or status >= 500 or (status == 409 and isinstance(result, dict) and result.get("error_code") == "idempotency_key_in_use")
        if retry:
            if attempt == 4:
                raise RuntimeError("Retry limit reached; check the request outcome before starting a new create")
            delay = response_headers.get("retry-after", str(2 ** attempt))
            time.sleep(max(0, float(delay)))
            continue
        if status >= 400:
            raise ApiError(status, result)
        return {"status": status, "body": result, "headers": response_headers}
    raise RuntimeError("Retry limit reached")

def pages(name, params=None):
    offset = 0
    while True:
        page = call(name, {**(params or {}), "$limit": 100, "$offset": offset})["body"]
        yield from page["list_data"]
        if not page["has_more"]:
            break
        count = int(page["records_found"])
        if count <= 0:
            raise RuntimeError("Server returned an empty page with has_more=true")
        offset += count

def load_json(path, fallback):
    return json.loads(path.read_text(encoding="utf-8")) if path.exists() else fallback

def save_json(path, value):
    temp = path.with_name(path.name + ".tmp")
    temp.write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
    temp.replace(path)

directory = Path(os.environ.get("EXHIBITDAY_SYNC_DIR", "."))
directory.mkdir(parents=True, exist_ok=True)
state_path = directory / "exhibitday-sync-state.json"
state = load_json(state_path, {})
for entity, timestamp in [("events", "event_last_update_timestamp"), ("tasks", "task_last_update_timestamp")]:
    since = state.get(entity)
    params = {"filter_by_last_update_timestamp_greater_than_or_equal_to": since} if since else {}
    mirror_path = directory / ("exhibitday-" + entity + ".json")
    mirror = load_json(mirror_path, {})
    latest, processed = since, 0
    for record in pages(entity, params):
        # Always upsert inclusive-boundary rows: the same id/time can contain a later edit.
        mirror[str(record["id"])] = record
        stamp = record[timestamp]
        if latest is None or stamp > latest:
            latest = stamp
        processed += 1
    save_json(mirror_path, mirror)  # persist data BEFORE moving this entity's checkpoint
    if latest:
        state[entity] = latest
    save_json(state_path, state)
    print(entity, processed, "rows processed; cursor", latest)
# Incremental lists do not report deletions. Reconcile full current IDs separately.


EXHIBITDAY_PY

Example response

{
  "records_found": 1,
  "total_records": 1,
  "has_more": false,
  "list_type": "event",
  "list_data": [
    {
      "id": 12345,
      "exhibitday_url": "https://www.exhibitday.com/Workspace/Event/98765?eid=12345",
      "name": "Sample Event",
      "start_date": "2026-12-30",
      "end_date": "2027-01-01",
      "participation_type_id": 1,
      "participation_type": "Committed",
      "format_id": 1,
      "format": "In-Person",
      "star_rating": 0,
      "tags": [],
      "website_url": "",
      "venue_name": "",
      "venue_address": "",
      "venue_location_display_name": "",
      "venue_address_latitude": "",
      "venue_address_longitude": "",
      "booth_size": "",
      "booth_number": "",
      "booth_reservation_status_id": 1,
      "booth_reservation_status": "Need to Reserve",
      "booth_reserve_by_date": "",
      "booth_date_reserved": "",
      "budget_booth_reservation": 0.00,
      "budget_booth_services": 0.00,
      "budget_attendee_registrations": 0.00,
      "budget_travel": 0.00,
      "budget_giveaways": 0.00,
      "budget_shipments": 0.00,
      "budget_event_activities": 0.00,
      "budget_misc_expenses": 0.00,
      "budget_sponsorships": 0.00,
      "total_sum_event_budgets": 0.00,
      "booth_reservation_cost": {
        "amount": 125.50,
        "cost_center_breakdown": [
          {
            "cost_center_id": 34567,
            "cost_center": "Marketing",
            "charge": 75.50
          },
          {
            "cost_center_id": 34568,
            "cost_center": "Operations",
            "charge": 50.00
          }
        ]
      },
      "cost_booth_reservation": 125.50,
      "booth_reservation_payment_status_id": 0,
      "booth_reservation_payment_status": "",
      "booth_reservation_payment_due_date": null,
      "booth_reservation_next_payment_due_date": null,
      "booth_reservation_payment_notes": null,
      "booth_reservation_invoice_attachment": {
        "id": 182345,
        "filename": "booth-reservation-invoice.pdf",
        "attachment_created_timestamp": "2027-01-30T12:00:00Z"
      },
      "cost_booth_services": 0.00,
      "cost_attendee_registrations": 0.00,
      "cost_travel_reservations": 0.00,
      "cost_giveaways": 0.00,
      "cost_shipments": 0.00,
      "cost_event_activities": 0.00,
      "cost_misc_expenses": 0.00,
      "cost_sponsorships": 0.00,
      "total_sum_event_costs": 125.50,
      "event_notes": "",
      "booth_notes": "",
      "budget_notes": "",
      "roi_notes": "",
      "roi_num_leads": 0,
      "roi_num_impressions_booth": 0,
      "roi_num_impressions_sponsorships": 0,
      "roi_num_impressions_media": 0,
      "roi_num_meetings_existing_customers": 0,
      "roi_num_meetings_new_customers": 0,
      "roi_amount_actual_sales": 0.00,
      "roi_amount_potential_sales": 0.00,
      "roo_score": null,
      "event_created_timestamp": "2026-11-30T17:00:00Z",
      "event_last_update_timestamp": "2026-11-30T17:00:00Z",
      "event_created_by": {
        "id": "11111111-2222-4333-8444-555555555555",
        "first_name": "Jane",
        "last_name": "Smith",
        "display_name": "Jane Smith",
        "email": "jane@example.invalid",
        "type": "user",
        "workspace_role": "team_member",
        "is_active": true
      },
      "custom_fields": null,
      "task_sections": null,
      "tasks": null,
      "misc_expenses_credits": null,
      "integration_metadata_field_1": "",
      "integration_metadata_field_2": "",
      "integration_metadata_field_3": "",
      "integration_metadata_field_4": "",
      "integration_metadata_field_5": ""
    }
  ]
}
Note: This is the first Event page on a first run. The program saves the records in a local mirror. It reads Task pages separately.

The output reports how many rows were processed and the checkpoint for each record type.

The curl workflow uses Bash, curl and Python 3. Use Node.js 18 or later with a .cjs file, a .NET 8 console project for C#, or Java 11 or later with Gson 2.14.0 on both classpaths. PHP needs 8.1 or later with cURL. Ruby 3.1 or later and Go 1.18 or later use their standard libraries.

Things to keep in mind

  • Each page is a separate read. Updates during the run can move records between pages. Periodically compare your copy with a complete list of current IDs using the same filters and access.
  • A record missing from a changes-only run may still exist. Before removing it from your copy, confirm it is missing from a complete scan using the same filters and access. Use $return_event_lites=true for a smaller Event response during that scan.
  • Let your HTTP library encode query parameters. Encode $ as %24 in hand-written URLs.
  • The same inclusive timestamp pattern applies to Task comments and Misc. Expenses & Credits. Each has its own last-update field and checkpoint.
  • If you copy people from Events or Tasks, such as task_created_by, match them by id. Changes made through the API or Zapier show a person with an id of null. Identify these by display_name: "ExhibitDay API" or "ExhibitDay API (Zapier)".

If a run stops

  • Keep the latest timestamp for each record type exactly as returned.
  • If the program stops before saving a checkpoint, run it again with the same local directory. It can read those changes again and replace records by ID.