# AddCal API Documentation

The official AddCal API documentation. This comprehensive guide provides developers with everything needed to integrate calendar and event management functionality into their applications. Our RESTful API enables seamless creation, management, and sharing of events across multiple platforms and calendar services.

- Base URL: `https://addcal.co`
- Authentication: HTTP Bearer token. You can retrieve your token from the [API Tokens page](https://addcal.co/user/api-tokens) in your dashboard.
- OpenAPI document: https://addcal.co/docs.openapi
- Interactive reference: https://addcal.co/docs

Send the token on every request:

```
Authorization: Bearer YOUR_API_TOKEN
Accept: application/json
```

## Sections

- [Create Event](https://addcal.co/docs/create-event.md)
- [Calendars](https://addcal.co/docs/calendars.md)
- [Calendars > Subscribers](https://addcal.co/docs/subscribers.md)
- [Events](https://addcal.co/docs/events.md)
- [Events > RSVPs](https://addcal.co/docs/rsvps.md)
- [Events > Invites](https://addcal.co/docs/invites.md)
- [Account](https://addcal.co/docs/account.md)
- [Dynamic Links](https://addcal.co/docs/dynamic-links.md)
- [Endpoints](https://addcal.co/docs/endpoints.md)

## Create Event

A simplified endpoint for creating events with smart defaults and automatic calendar management.

This endpoint provides a streamlined way to create events by handling calendar creation and management automatically. It offers three ways to specify a calendar:
1. Use an existing calendar by providing its `calendar_uid`
2. Create or reuse a calendar by name using `calendar_name`
3. Use a default calendar (automatically created if needed)

Key features:
- Automatic 1-hour duration if no end time is specified
- Flexible team selection with smart defaults
- Automatic calendar creation with sensible defaults
- Timezone inheritance from calendar if not specified
- Support for all-day events

The response includes the created event details along with calendar information and add-to-calendar links for various platforms.

### /api/events

`POST /api/events`

**Query parameters**

- `with_html` (boolean, optional): Include HTML variants for calendar links in the response

**Body parameters** (`application/json`)

- `title` (string, required): The title of the event. Must not be greater than 255 characters.
- `description` (string, optional): A detailed description of the event.
- `location` (string, optional): The location where the event will take place. Must not be greater than 2048 characters.
- `is_all_day` (boolean, optional): Whether this is an all-day event.
- `is_virtual` (boolean, optional): Whether this is a virtual/online event.
- `organiser_name` (string, optional): The name of the event organiser. Must not be greater than 255 characters.
- `organiser_email` (string, optional): The email address of the event organiser. Must be a valid email address. Must not be greater than 191 characters.
- `recurrence_rule` (string, optional): iCalendar RRULE string for recurring events (e.g. FREQ=DAILY;INTERVAL=1;COUNT=3).
- `series_title` (string, optional): Title for the recurring event series. Defaults to the event title if not provided. Must not be greater than 255 characters.
- `has_rsvp` (boolean, optional): Whether this event allows RSVP responses.
- `date_start` (string, required): The start date and time of the event. Must be a valid date.
- `date_end` (string, required): The end date and time of the event. If not provided, defaults to 1 hour after start time. Must be a valid date. Must be a date after or equal to date_start.
- `timezone` (string, optional): The timezone for the event. Defaults to calendar timezone if not provided. Must be a valid time zone, such as Africa/Accra.
- `busy_type` (string, optional): Whether the event shows as busy or free on calendars. Options: busy, or free, calendar default when null. Options: `busy`, `free`.
- `reminder_before` (integer, optional): Minutes before the event to send a notification. Common values: 0, 5, 10, 15, 30, 60, 120, 1440 (1 day), etc. Must be at least 0.
- `short_link` (string, optional): Custom short link for the event. Only available for subscribers. Must match the regex /^[a-zA-Z0-9-]+$/. Must not be greater than 50 characters.
- `team_uid` (string, optional): The unique identifier of the team to create the event for. Defaults to current team or first available team.
- `calendar_uid` (string, optional): The unique identifier of an existing calendar to create the event in.
- `calendar_name` (string, optional): Name of the calendar to create or use. Cannot be used with calendar_uid. Must not be greater than 255 characters.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/events' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "title": "Team Meeting",
    "description": "Monthly team sync to discuss project progress and upcoming milestones.",
    "location": "Conference Room A or https://zoom.us/j/123456789",
    "is_all_day": false,
    "is_virtual": false,
    "organiser_name": "Jane Smith",
    "organiser_email": "jane@example.com",
    "recurrence_rule": "FREQ=WEEKLY;BYDAY=MO;COUNT=10",
    "series_title": "Weekly Team Meeting",
    "has_rsvp": false,
    "date_start": "2024-03-25 14:00:00",
    "date_end": "2024-03-25 15:00:00",
    "timezone": "America/New_York",
    "busy_type": "busy",
    "reminder_before": 30,
    "short_link": "my-event",
    "team_uid": "team_abc123",
    "calendar_uid": "cal_xyz789",
    "calendar_name": "Team Meetings"
}'
```

**Response 200**

```json
{
    "data": {
        "uid": "fjrh54b5zgpa",
        "public_id": "evt_fjrh54b5zgpa",
        "calendar_uid": "cal_ppn6jofdd4nl",
        "short_link": null,
        "title": "Et architecto inventore voluptatem sint sint nesciunt occaecati.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Animi libero corporis est sapiente magni facilis et. Eum nisi cupiditate tempore vel. Numquam eveniet sed fugiat voluptatem.</p>\n\n<p>Sint quia optio est illum et omnis. Dolorem voluptatem facilis ipsum earum quo amet. Animi dolores rem et nulla. Aut quam aspernatur sed eos nobis.</p>",
        "location": null,
        "is_all_day": false,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-11-20T02:33:15-03:00",
        "date_end": "2026-11-20T04:33:15-03:00",
        "timezone": "America/Paramaribo",
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Fri, Nov 20, 2026 2:33 AM - 4:33 AM",
        "public_url": "http://addcal.co/e/fjrh54b5zgpa",
        "embed_url": "http://addcal.co/e/fjrh54b5zgpa",
        "location_url": null,
        "image_url": null,
        "timezone_readable": "-03 / GMT-03:00",
        "calendar": {
            "uid": "ppn6jofdd4nl",
            "public_id": "cal_ppn6jofdd4nl",
            "short_link": null,
            "name": "voluptatem ut consectetur",
            "internal_name": null,
            "description": "<p>Hic dolores hic sed assumenda labore dolor voluptatem beatae. Dolor qui accusamus laudantium sapiente dolor. Fugit repellat esse dolorem deleniti quasi sit inventore. Fugit ut possimus ut temporibus non.</p>",
            "timezone": "America/Hermosillo",
            "week_begins": 2,
            "start_on": "today",
            "public_url": "http://addcal.co/c/ppn6jofdd4nl",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    },
    "links": {
        "event_page": "http://addcal.co/e/fjrh54b5zgpa",
        "auto": "https://addcal.co/e/fjrh54b5zgpa/auto",
        "google": "https://addcal.co/e/fjrh54b5zgpa/google",
        "apple": "https://addcal.co/e/fjrh54b5zgpa/apple",
        "outlook": "https://addcal.co/e/fjrh54b5zgpa/outlook",
        "outlook_web": "https://addcal.co/e/fjrh54b5zgpa/outlook_web",
        "yahoo": "https://addcal.co/e/fjrh54b5zgpa/yahoo",
        "office365": "https://addcal.co/e/fjrh54b5zgpa/office365",
        "ics": "https://addcal.co/e/fjrh54b5zgpa/ics"
    },
    "html": {
        "single-button": "Add to Calendar Button",
        "icon-buttons-single-row": "Buttons With Icons",
        "icons": "Text with Icons",
        "dot-sep": "Text (dot separated)",
        "space-sep": "Text (space separated)"
    }
}
```

**Response 409** — When the team's event limit has been exceeded

```json
{
    "message": "You have reached your monthly event limit of 10. Please upgrade your plan to create more events.",
    "current": 10,
    "limit": 10,
    "remaining": 0,
    "would_exceed_by": 1,
    "is_unlimited": false,
    "limit_type": "monthly",
    "attempted": 1
}
```

## Calendars

APIs for managing calendars

### List Calendars

`GET /api/calendars`

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": [
        {
            "uid": "p9v02qsz079d",
            "public_id": "cal_p9v02qsz079d",
            "short_link": null,
            "name": "Test RSVP Cal",
            "internal_name": null,
            "description": "",
            "timezone": "Australia/Adelaide",
            "week_begins": 4,
            "start_on": "today",
            "public_url": "https://addcal.co/c/p9v02qsz079d",
            "upcoming_events_count": 1,
            "events_count": 73,
            "created_at": "2025-07-27T06:43:09.000000Z",
            "updated_at": "2025-11-18T03:43:23.000000Z"
        },
        {
            "uid": "0vwbr1bxbjai",
            "public_id": "cal_0vwbr1bxbjai",
            "short_link": null,
            "name": "Test User's Calendar",
            "internal_name": null,
            "description": "<p>Professional meetings, webinars, and business events.</p>",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/0vwbr1bxbjai",
            "upcoming_events_count": 3,
            "events_count": 8,
            "created_at": "2025-07-29T23:32:49.000000Z",
            "updated_at": "2025-07-29T23:32:49.000000Z"
        },
        {
            "uid": "moexypnt3wd4",
            "public_id": "cal_moexypnt3wd4",
            "short_link": null,
            "name": "Test User's Calendar",
            "internal_name": null,
            "description": "<p>Professional meetings, webinars, and business events.</p>",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/moexypnt3wd4",
            "upcoming_events_count": 0,
            "events_count": 0,
            "created_at": "2025-07-29T23:34:05.000000Z",
            "updated_at": "2025-07-29T23:34:05.000000Z"
        },
        {
            "uid": "gvjtfhquosip",
            "public_id": "cal_gvjtfhquosip",
            "short_link": null,
            "name": "Test User's Calendar",
            "internal_name": null,
            "description": "<p>Personal events, family gatherings, and appointments.</p>",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/gvjtfhquosip",
            "upcoming_events_count": 0,
            "events_count": 252,
            "created_at": "2025-07-29T23:37:16.000000Z",
            "updated_at": "2025-07-29T23:37:16.000000Z"
        },
        {
            "uid": "yxlbclyhg4e7",
            "public_id": "cal_yxlbclyhg4e7",
            "short_link": null,
            "name": "Test User's  Tags",
            "internal_name": null,
            "description": "<p>Professional meetings, webinars, and business events.</p>",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/yxlbclyhg4e7",
            "upcoming_events_count": 0,
            "events_count": 13,
            "created_at": "2025-07-29T23:43:37.000000Z",
            "updated_at": "2025-08-23T05:25:01.000000Z"
        },
        {
            "uid": "vj0wmxp7fo66",
            "public_id": "cal_vj0wmxp7fo66",
            "short_link": "test-cal",
            "name": "Recur test",
            "internal_name": null,
            "description": "",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/test-cal",
            "upcoming_events_count": 0,
            "events_count": 40,
            "created_at": "2025-09-07T00:12:49.000000Z",
            "updated_at": "2026-07-11T02:47:33.000000Z"
        },
        {
            "uid": "irir0ggat1pc",
            "public_id": "cal_irir0ggat1pc",
            "short_link": null,
            "name": "Series",
            "internal_name": null,
            "description": "",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/irir0ggat1pc",
            "upcoming_events_count": 0,
            "events_count": 30,
            "created_at": "2025-09-17T02:17:41.000000Z",
            "updated_at": "2025-09-17T02:17:41.000000Z"
        },
        {
            "uid": "vdp2pp652p6z",
            "public_id": "cal_vdp2pp652p6z",
            "short_link": null,
            "name": "Tag Filter Demo",
            "internal_name": null,
            "description": "<p>Seeded calendar for testing tag-filtered subscriptions.</p>",
            "timezone": "UTC",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/vdp2pp652p6z",
            "upcoming_events_count": 0,
            "events_count": 9,
            "created_at": "2026-07-29T01:28:22.000000Z",
            "updated_at": "2026-07-31T04:22:27.000000Z"
        },
        {
            "uid": "o5mn1flqqxo7",
            "public_id": "cal_o5mn1flqqxo7",
            "short_link": null,
            "name": "Tag Filter Demo (Require Info)",
            "internal_name": null,
            "description": "<p>Same tags, but gated behind the subscriber info form.</p>",
            "timezone": "UTC",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/o5mn1flqqxo7",
            "upcoming_events_count": 0,
            "events_count": 3,
            "created_at": "2026-07-29T01:28:22.000000Z",
            "updated_at": "2026-07-29T02:49:17.000000Z"
        },
        {
            "uid": "qr0d313df3vs",
            "public_id": "cal_qr0d313df3vs",
            "short_link": null,
            "name": "Tag Filter Demo (Opted Out)",
            "internal_name": null,
            "description": "<p>Tags exist but allow_tag_selection is off - control case.</p>",
            "timezone": "UTC",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/qr0d313df3vs",
            "upcoming_events_count": 0,
            "events_count": 2,
            "created_at": "2026-07-29T01:28:22.000000Z",
            "updated_at": "2026-07-29T01:28:22.000000Z"
        },
        {
            "uid": "4t0x0n0q6hvt",
            "public_id": "cal_4t0x0n0q6hvt",
            "short_link": null,
            "name": "vitae blanditiis rerum",
            "internal_name": "saepe eius ut",
            "description": "<p>Repudiandae quos suscipit similique saepe maiores. Omnis officiis qui placeat voluptates. Quia sunt corporis quis quasi harum in odio.</p>",
            "timezone": "UTC",
            "week_begins": 5,
            "start_on": "today",
            "public_url": "https://addcal.co/c/4t0x0n0q6hvt",
            "upcoming_events_count": 0,
            "events_count": 2,
            "created_at": "2026-07-31T06:19:21.000000Z",
            "updated_at": "2026-07-31T06:19:21.000000Z"
        },
        {
            "uid": "hsr6p96ex40w",
            "public_id": "cal_hsr6p96ex40w",
            "short_link": null,
            "name": "rem quia maxime",
            "internal_name": null,
            "description": "<p>Cum optio dolor ducimus vitae enim. Consequatur perferendis velit non cum. Accusamus aut quidem dicta et numquam.</p>",
            "timezone": "UTC",
            "week_begins": 4,
            "start_on": "today",
            "public_url": "https://addcal.co/c/hsr6p96ex40w",
            "upcoming_events_count": 2,
            "events_count": 4,
            "created_at": "2026-07-31T06:25:45.000000Z",
            "updated_at": "2026-07-31T06:25:45.000000Z"
        },
        {
            "uid": "w4beoawsjlzh",
            "public_id": "cal_w4beoawsjlzh",
            "short_link": null,
            "name": "magnam perspiciatis nesciunt",
            "internal_name": null,
            "description": "<p>Est quam commodi excepturi possimus. Expedita totam vel perferendis nesciunt est accusamus. Fugiat recusandae ipsam ducimus repudiandae. Possimus qui et tempore quasi architecto repellat.</p>",
            "timezone": "UTC",
            "week_begins": 4,
            "start_on": "today",
            "public_url": "https://addcal.co/c/w4beoawsjlzh",
            "upcoming_events_count": 2,
            "events_count": 4,
            "created_at": "2026-07-31T06:25:45.000000Z",
            "updated_at": "2026-07-31T06:25:45.000000Z"
        },
        {
            "uid": "z9s82mzzyz9h",
            "public_id": "cal_z9s82mzzyz9h",
            "short_link": null,
            "name": "ut culpa doloribus",
            "internal_name": null,
            "description": "<p>Esse in voluptatem error delectus. Nesciunt delectus qui perferendis praesentium nihil tenetur. Eum sequi aut voluptatibus.</p>",
            "timezone": "UTC",
            "week_begins": 2,
            "start_on": "today",
            "public_url": "https://addcal.co/c/z9s82mzzyz9h",
            "upcoming_events_count": 1,
            "events_count": 4,
            "created_at": "2026-07-31T06:25:45.000000Z",
            "updated_at": "2026-07-31T06:25:45.000000Z"
        },
        {
            "uid": "zn7jthtmcu6v",
            "public_id": "cal_zn7jthtmcu6v",
            "short_link": null,
            "name": "blanditiis qui similique",
            "internal_name": null,
            "description": "",
            "timezone": "UTC",
            "week_begins": 3,
            "start_on": "today",
            "public_url": "https://addcal.co/c/zn7jthtmcu6v",
            "upcoming_events_count": 3,
            "events_count": 12,
            "created_at": "2026-07-31T06:25:45.000000Z",
            "updated_at": "2026-07-31T06:25:45.000000Z"
        },
        {
            "uid": "53shwnly2hec",
            "public_id": "cal_53shwnly2hec",
            "short_link": null,
            "name": "mollitia est sunt",
            "internal_name": null,
            "description": "",
            "timezone": "UTC",
            "week_begins": 6,
            "start_on": "today",
            "public_url": "https://addcal.co/c/53shwnly2hec",
            "upcoming_events_count": 2,
            "events_count": 4,
            "created_at": "2026-07-31T06:30:17.000000Z",
            "updated_at": "2026-07-31T06:30:17.000000Z"
        },
        {
            "uid": "dtm5tai0heff",
            "public_id": "cal_dtm5tai0heff",
            "short_link": null,
            "name": "sit delectus aliquam",
            "internal_name": "ea sed esse",
            "description": "",
            "timezone": "UTC",
            "week_begins": 3,
            "start_on": "today",
            "public_url": "https://addcal.co/c/dtm5tai0heff",
            "upcoming_events_count": 2,
            "events_count": 4,
            "created_at": "2026-07-31T06:30:17.000000Z",
            "updated_at": "2026-07-31T06:30:17.000000Z"
        },
        {
            "uid": "8lkpjn1v9478",
            "public_id": "cal_8lkpjn1v9478",
            "short_link": null,
            "name": "eveniet a nulla",
            "internal_name": "velit provident aperiam",
            "description": "",
            "timezone": "UTC",
            "week_begins": 2,
            "start_on": "today",
            "public_url": "https://addcal.co/c/8lkpjn1v9478",
            "upcoming_events_count": 1,
            "events_count": 24,
            "created_at": "2026-07-31T06:30:17.000000Z",
            "updated_at": "2026-07-31T06:30:17.000000Z"
        },
        {
            "uid": "ffyq1eyfpzn4",
            "public_id": "cal_ffyq1eyfpzn4",
            "short_link": null,
            "name": "Wedding",
            "internal_name": null,
            "description": "",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/ffyq1eyfpzn4",
            "upcoming_events_count": 0,
            "events_count": 1,
            "created_at": "2026-08-13T02:53:56.000000Z",
            "updated_at": "2026-08-13T02:53:56.000000Z"
        },
        {
            "uid": "4vym88ak6pnj",
            "public_id": "cal_4vym88ak6pnj",
            "short_link": null,
            "name": "Default Calendar",
            "internal_name": null,
            "description": "",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/4vym88ak6pnj",
            "upcoming_events_count": 0,
            "events_count": 4,
            "created_at": "2026-08-16T09:50:40.000000Z",
            "updated_at": "2026-10-13T03:35:31.000000Z"
        },
        {
            "uid": "77r9qzpie5xw",
            "public_id": "cal_77r9qzpie5xw",
            "short_link": null,
            "name": "Imported Events",
            "internal_name": null,
            "description": "<p>Events imported from your public event creations.</p>",
            "timezone": "Australia/Sydney",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "https://addcal.co/c/77r9qzpie5xw",
            "upcoming_events_count": 0,
            "events_count": 1,
            "created_at": "2026-08-16T21:35:16.000000Z",
            "updated_at": "2026-08-16T21:35:16.000000Z"
        },
        {
            "uid": "137s6lh4ptoj",
            "public_id": "cal_137s6lh4ptoj",
            "short_link": null,
            "name": "6th Grade (multi-feed demo)",
            "internal_name": "debitis blanditiis aspernatur",
            "description": "<p>Homework and tests across every 6th grade course.</p>",
            "timezone": "America/Monterrey",
            "week_begins": 0,
            "start_on": "today",
            "public_url": "https://addcal.co/c/137s6lh4ptoj",
            "upcoming_events_count": 0,
            "events_count": 6,
            "created_at": "2026-09-14T04:47:07.000000Z",
            "updated_at": "2026-09-14T04:47:07.000000Z"
        },
        {
            "uid": "hxqdlvto63j0",
            "public_id": "cal_hxqdlvto63j0",
            "short_link": null,
            "name": "Series Landing Demo",
            "internal_name": null,
            "description": "",
            "timezone": "Australia/Sydney",
            "week_begins": 4,
            "start_on": "today",
            "public_url": "https://addcal.co/c/hxqdlvto63j0",
            "upcoming_events_count": 46,
            "events_count": 262,
            "created_at": "2026-09-24T05:36:31.000000Z",
            "updated_at": "2026-09-24T05:36:31.000000Z"
        },
        {
            "uid": "7e03e5zqnaka",
            "public_id": "cal_7e03e5zqnaka",
            "short_link": null,
            "name": "Waitlist QA",
            "internal_name": "facilis molestiae itaque",
            "description": "",
            "timezone": "Atlantic/Reykjavik",
            "week_begins": 4,
            "start_on": "today",
            "public_url": "https://addcal.co/c/7e03e5zqnaka",
            "upcoming_events_count": 0,
            "events_count": 5,
            "created_at": "2026-10-11T05:17:14.000000Z",
            "updated_at": "2026-10-11T05:17:14.000000Z"
        }
    ]
}
```

### Create Calendar

`POST /api/calendars`

**Body parameters** (`application/json`)

- `name` (string, required): Must not be greater than 255 characters.
- `internal_name` (string, optional): Must not be greater than 255 characters.
- `description` (string, optional): Must not be greater than 255 characters.
- `timezone` (string, required): Must be a valid time zone, such as Africa/Accra.
- `week_begins` (integer, required): No description. Options: `1`, `2`, `3`, `4`, `5`, `6`, `0`.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "ibewra",
    "internal_name": "ohujcuhxlskcdp",
    "description": "Delectus est deserunt sed voluptatibus consequatur.",
    "timezone": "America/Cayenne",
    "week_begins": 4
}'
```

**Response 409**

```json
{
    "message": "You have reached your calendar limit. Please upgrade your plan to create more calendars."
}
```

### Get Calendar

`GET /api/calendars/{public_id}`

**Path parameters**

- `public_id` (string, required): The ID of the public.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": {
        "uid": "p9v02qsz079d",
        "public_id": "cal_p9v02qsz079d",
        "short_link": null,
        "name": "Test RSVP Cal",
        "internal_name": null,
        "description": "",
        "timezone": "Australia/Adelaide",
        "week_begins": 4,
        "start_on": "today",
        "public_url": "https://addcal.co/c/p9v02qsz079d",
        "upcoming_events_count": 1,
        "events_count": 73,
        "created_at": "2025-07-27T06:43:09.000000Z",
        "updated_at": "2025-11-18T03:43:23.000000Z"
    }
}
```

### Update Calendar

`PUT /api/calendars/{public_id}`

**Path parameters**

- `public_id` (string, required): The ID of the public.

**Body parameters** (`application/json`)

- `name` (string, required): Must not be greater than 255 characters.
- `internal_name` (string, optional): Must not be greater than 255 characters.
- `description` (string, optional): Must not be greater than 255 characters.
- `timezone` (string, required): Must be a valid time zone, such as Africa/Accra.
- `week_begins` (integer, required): No description. Options: `1`, `2`, `3`, `4`, `5`, `6`, `0`.

**Example request**

```bash
curl --request PUT \
  --url 'https://addcal.co/api/calendars/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "qnwubmeyfb",
    "internal_name": "fjdaypvkbyn",
    "description": "Aut ut et similique aut incidunt et.",
    "timezone": "Africa/Addis_Ababa",
    "week_begins": 2
}'
```

### Delete Calendar

`DELETE /api/calendars/{public_id}`

**Path parameters**

- `public_id` (string, required): The ID of the public.

**Example request**

```bash
curl --request DELETE \
  --url 'https://addcal.co/api/calendars/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

### Generate Signed URL

`POST /api/calendars/{calendar_public_id}/signed-url`

Generate a signed URL for a protected calendar. The URL includes an expiry timestamp and a cryptographic signature, and expires after the specified number of days.

The calendar must have an access code set. If no `expiry_days` is provided, the calendar's configured `signed_url_expiry_days` is used, or 30 days as a default.

The returned URL grants temporary access based on its signature validity, without exposing the access code. It can be shared with users who need time-limited access.

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.

**Body parameters** (`application/json`)

- `expiry_days` (integer, optional): Number of days until the signed URL expires. Min 1, max 365.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/signed-url' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "expiry_days": 30
}'
```

**Response 200**

```json
{
    "url": "https://addcal.co/c/cal_abc123?expires=1741000000&signature=abc..."
}
```

**Response 422**

```json
{
    "error": "Calendar does not have an access code set."
}
```

## Calendars > Subscribers

APIs for reading the people who have subscribed to a calendar.

## Matching subscribers to your own records

Pass `external_id` when someone subscribes and that value comes back here, so an AddCal
subscriber can be reconciled against a record in your own system.

Set it on an embed as `data-external-id`, or on a link to a hosted calendar page as
`?external_id=`:

```
<div class="addcal-btn" data-calendar="cal_abc123" data-external-id="member-8412"></div>

https://addcal.co/c/cal_abc123?external_id=member-8412
```

**The subscribe route drops a malformed id silently.** It accepts 1-191 characters matching
`^[A-Za-z0-9._:-]+$`; anything else is discarded and the subscribe still succeeds, with no
error and no field in the response. That is deliberate: the person subscribing is a real
visitor, and an id that only matters to your integration should not fail their subscribe.

The practical consequence is that an email address, a base64 token, or anything over 191
characters will never reach this endpoint, and the first sign of it is a subscriber that
cannot be matched. Validate the shape on your side before you send it. This endpoint does
reject a malformed `external_id` with a 422, so it can be used to check an id's shape.

To find whether one of your records is subscribed, filter by it and check whether the
response contains any rows:

```
GET /api/calendars/cal_abc123/subscribers?external_id=member-8412
```

### List subscribers

`GET /api/calendars/{calendar_public_id}/subscribers`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.

**Query parameters**

- `external_id` (string, optional): Only return subscribers carrying this external id.
- `per_page` (integer, optional): Number of results per page (1-100)

**Body parameters** (`application/json`)

- `external_id` (string, optional): Must match the regex /^[A-Za-z0-9._:-]+$/. Must not be greater than 191 characters.
- `per_page` (integer, optional): Must be at least 1. Must not be greater than 100.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/subscribers' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": [
        {
            "uid": "a7yl89v1i3u53b",
            "public_id": "sub_a7yl89v1i3u53b",
            "service": "yahoo",
            "name": null,
            "email": null,
            "data": null,
            "status": "inactive",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        {
            "uid": "glbftugj4pmrin",
            "public_id": "sub_glbftugj4pmrin",
            "service": "android",
            "name": null,
            "email": null,
            "data": null,
            "status": "inactive",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        }
    ]
}
```

## Events

Advanced APIs for managing events

### Index All Events

`GET /api/events`

**Query parameters**

- `range` (string, optional): Filter events by time range. Options: 'all', 'upcoming', 'past'
- `search` (string, optional): Search events by title or internal name
- `calendar` (string, optional): Filter events by calendar ID
- `start_date` (string, optional): Filter events starting from this date (ISO 8601 format)
- `end_date` (string, optional): Filter events ending before this date (ISO 8601 format)
- `rsvp` (boolean, optional): Only return events with RSVPs enabled (true) or disabled (false)
- `invites` (boolean, optional): Only return events with calendar invites enabled (true) or disabled (false)

**Body parameters** (`application/json`)

- `range` (string, optional): No description. Options: `all`, `upcoming`, `past`.
- `search` (string, optional): Must not be greater than 255 characters.
- `calendar` (string, optional): Must not be greater than 255 characters.
- `start_date` (string, optional): Must be a valid date.
- `end_date` (string, optional): Must be a valid date.
- `rsvp` (string, optional): No description. Options: `1`, `0`, `true`, `false`.
- `invites` (string, optional): No description. Options: `1`, `0`, `true`, `false`.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/events' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": [
        {
            "uid": "39gx8af68wmh",
            "public_id": "evt_39gx8af68wmh",
            "calendar_uid": "cal_70ei35uj0y04",
            "short_link": null,
            "title": "Temporibus magni qui occaecati.",
            "internal_name": null,
            "is_draft": false,
            "description": "<p>Soluta inventore qui velit modi possimus. Ut ut quas enim sed. Repellendus occaecati consectetur aut et beatae delectus id. Sapiente nisi autem dolores.</p>\n\n<p>Qui qui expedita reprehenderit provident nostrum. A laboriosam dolor autem illo. Qui atque omnis et magni.</p>",
            "location": null,
            "is_all_day": true,
            "has_rsvp": false,
            "has_calendar_invites": false,
            "rsvp_limit": null,
            "is_recurring": false,
            "recurrence_rule": null,
            "recurrence_text": null,
            "date_start": "2026-11-13T04:13:47+00:00",
            "date_end": "2026-11-13T06:13:47+00:00",
            "timezone": null,
            "busy_type": null,
            "reminder_before": null,
            "date_range_formatted": "Fri, Nov 13, 2026 (all day)",
            "public_url": "http://addcal.co/e/39gx8af68wmh",
            "embed_url": "http://addcal.co/e/39gx8af68wmh",
            "location_url": null,
            "image_url": null,
            "timezone_readable": null,
            "calendar": {
                "uid": "70ei35uj0y04",
                "public_id": "cal_70ei35uj0y04",
                "short_link": null,
                "name": "consequatur est dicta",
                "internal_name": "recusandae incidunt unde",
                "description": "<p>Sequi voluptate voluptatem laudantium voluptatem nulla ab. Dicta sapiente et id veritatis ut animi earum tempora. Molestiae excepturi sunt dolor cupiditate.</p>",
                "timezone": "Asia/Ulaanbaatar",
                "week_begins": 6,
                "start_on": "today",
                "public_url": "http://addcal.co/c/70ei35uj0y04",
                "created_at": "2026-10-28T23:12:04.000000Z",
                "updated_at": "2026-10-28T23:12:04.000000Z"
            },
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        {
            "uid": "p7wd4bothbzm",
            "public_id": "evt_p7wd4bothbzm",
            "calendar_uid": "cal_t0q4mlezzjp7",
            "short_link": null,
            "title": "Ut officiis aut voluptatem soluta ut.",
            "internal_name": null,
            "is_draft": false,
            "description": "<p>Delectus eaque est omnis molestiae. Dolor incidunt natus repellat magnam vero.</p>\n\n<p>Et laborum dolores dolorum quia sed est. Vero nihil repellat omnis et. Mollitia voluptatem ea reiciendis distinctio libero.</p>",
            "location": null,
            "is_all_day": false,
            "has_rsvp": false,
            "has_calendar_invites": false,
            "rsvp_limit": null,
            "is_recurring": false,
            "recurrence_rule": null,
            "recurrence_text": null,
            "date_start": "2026-10-05T06:05:45-04:00",
            "date_end": "2026-10-05T07:05:45-04:00",
            "timezone": "America/Manaus",
            "busy_type": null,
            "reminder_before": null,
            "date_range_formatted": "Mon, Oct 5, 2026 6:05 AM - 7:05 AM",
            "public_url": "http://addcal.co/e/p7wd4bothbzm",
            "embed_url": "http://addcal.co/e/p7wd4bothbzm",
            "location_url": null,
            "image_url": null,
            "timezone_readable": "-04 / GMT-04:00",
            "calendar": {
                "uid": "t0q4mlezzjp7",
                "public_id": "cal_t0q4mlezzjp7",
                "short_link": null,
                "name": "natus voluptatibus id",
                "internal_name": null,
                "description": "<p>Laborum aut velit omnis est. Deserunt esse iusto aliquid quos officiis ratione eaque. Quam sunt voluptate quas adipisci rerum. Id accusantium ipsa neque ut.</p>",
                "timezone": "America/Barbados",
                "week_begins": 5,
                "start_on": "today",
                "public_url": "http://addcal.co/c/t0q4mlezzjp7",
                "created_at": "2026-10-28T23:12:04.000000Z",
                "updated_at": "2026-10-28T23:12:04.000000Z"
            },
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        }
    ]
}
```

### Get Event by UID

`GET /api/events/{event_public_id}`

**Path parameters**

- `event_public_id` (string, required): The ID of the event public.

**Query parameters**

- `with_html` (boolean, optional): Include HTML variants for calendar links in the response

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/events/{event_public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": {
        "uid": "n3i81uqvmn9t",
        "public_id": "evt_n3i81uqvmn9t",
        "calendar_uid": "cal_k5iij8mn2ah4",
        "short_link": null,
        "title": "Perferendis nesciunt fugit dolore aut.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Natus soluta vitae molestiae aut corrupti magnam. Temporibus repudiandae quis error illum vero natus vitae a.</p>\n\n<p>Quibusdam unde recusandae excepturi ea est aperiam. Nihil eaque aut quod natus.</p>",
        "location": null,
        "is_all_day": false,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-10-02T13:20:07+12:00",
        "date_end": "2026-10-02T16:20:07+12:00",
        "timezone": "Pacific/Kwajalein",
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Fri, Oct 2, 2026 1:20 PM - 4:20 PM",
        "public_url": "http://addcal.co/e/n3i81uqvmn9t",
        "embed_url": "http://addcal.co/e/n3i81uqvmn9t",
        "location_url": null,
        "image_url": null,
        "timezone_readable": "+12 / GMT+12:00",
        "calendar": {
            "uid": "k5iij8mn2ah4",
            "public_id": "cal_k5iij8mn2ah4",
            "short_link": null,
            "name": "ut dicta expedita",
            "internal_name": "dolor et dolor",
            "description": "",
            "timezone": "Pacific/Marquesas",
            "week_begins": 5,
            "start_on": "today",
            "public_url": "http://addcal.co/c/k5iij8mn2ah4",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    },
    "links": {
        "event_page": "http://addcal.co/e/n3i81uqvmn9t",
        "auto": "https://addcal.co/e/n3i81uqvmn9t/auto",
        "google": "https://addcal.co/e/n3i81uqvmn9t/google",
        "apple": "https://addcal.co/e/n3i81uqvmn9t/apple",
        "outlook": "https://addcal.co/e/n3i81uqvmn9t/outlook",
        "outlook_web": "https://addcal.co/e/n3i81uqvmn9t/outlook_web",
        "yahoo": "https://addcal.co/e/n3i81uqvmn9t/yahoo",
        "office365": "https://addcal.co/e/n3i81uqvmn9t/office365",
        "ics": "https://addcal.co/e/n3i81uqvmn9t/ics"
    },
    "html": {
        "single-button": "Add to Calendar Button",
        "icon-buttons-single-row": "Buttons With Icons",
        "icons": "Text with Icons",
        "dot-sep": "Text (dot separated)",
        "space-sep": "Text (space separated)"
    }
}
```

### Index Calendar Events

`GET /api/calendars/{calendar_public_id}/events`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.

**Query parameters**

- `range` (string, optional): Filter events by time range. Options: 'all', 'upcoming', 'past'
- `search` (string, optional): Search events by title or internal name
- `calendar` (string, optional): Filter events by calendar ID
- `start_date` (string, optional): Filter events starting from this date (ISO 8601 format)
- `end_date` (string, optional): Filter events ending before this date (ISO 8601 format)
- `rsvp` (boolean, optional): Only return events with RSVPs enabled (true) or disabled (false)
- `invites` (boolean, optional): Only return events with calendar invites enabled (true) or disabled (false)

**Body parameters** (`application/json`)

- `range` (string, optional): No description. Options: `all`, `upcoming`, `past`.
- `search` (string, optional): Must not be greater than 255 characters.
- `calendar` (string, optional): Must not be greater than 255 characters.
- `start_date` (string, optional): Must be a valid date.
- `end_date` (string, optional): Must be a valid date.
- `rsvp` (string, optional): No description. Options: `1`, `0`, `true`, `false`.
- `invites` (string, optional): No description. Options: `1`, `0`, `true`, `false`.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": [
        {
            "uid": "rv0r2rw5suxz",
            "public_id": "evt_rv0r2rw5suxz",
            "calendar_uid": "cal_uw7b5747gl34",
            "short_link": null,
            "title": "Vel enim qui dolorum ut odit.",
            "internal_name": null,
            "is_draft": false,
            "description": "<p>Nostrum quam et labore tempore et iusto incidunt. Iure velit atque cupiditate et ab. Sunt asperiores sint ut numquam molestiae voluptas hic. Ullam ea nam laudantium.</p>\n\n<p>Quaerat eveniet voluptatem dolore veniam esse minima. Voluptatem pariatur eum aut et impedit eum. Optio illum ut veritatis molestiae pariatur. Quaerat aut ut vel qui eligendi qui.</p>",
            "location": "343 Balistreri Rue Suite 151\nKatlynburgh, MA 55052",
            "is_all_day": false,
            "has_rsvp": false,
            "has_calendar_invites": false,
            "rsvp_limit": null,
            "is_recurring": false,
            "recurrence_rule": null,
            "recurrence_text": null,
            "date_start": "2026-11-15T15:09:01+02:00",
            "date_end": "2026-11-15T16:09:01+02:00",
            "timezone": "Asia/Jerusalem",
            "busy_type": null,
            "reminder_before": null,
            "date_range_formatted": "Sun, Nov 15, 2026 3:09 PM - 4:09 PM",
            "public_url": "http://addcal.co/e/rv0r2rw5suxz",
            "embed_url": "http://addcal.co/e/rv0r2rw5suxz",
            "location_url": null,
            "image_url": null,
            "timezone_readable": "IST / GMT+02:00",
            "calendar": {
                "uid": "uw7b5747gl34",
                "public_id": "cal_uw7b5747gl34",
                "short_link": null,
                "name": "perspiciatis non et",
                "internal_name": "amet provident est",
                "description": "<p>Sint minima eum aut quidem magni iure. Qui ea ducimus id commodi iusto autem modi. Assumenda est dolore nobis reprehenderit eos aliquam. Deleniti deleniti quaerat et voluptas eligendi aut dolor.</p>",
                "timezone": "Asia/Aden",
                "week_begins": 0,
                "start_on": "today",
                "public_url": "http://addcal.co/c/uw7b5747gl34",
                "created_at": "2026-10-28T23:12:04.000000Z",
                "updated_at": "2026-10-28T23:12:04.000000Z"
            },
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        {
            "uid": "hy38pbyal0k7",
            "public_id": "evt_hy38pbyal0k7",
            "calendar_uid": "cal_yjjt62v2p5iv",
            "short_link": null,
            "title": "Est sit et pariatur totam molestiae.",
            "internal_name": null,
            "is_draft": false,
            "description": "<p>Est magnam veritatis et voluptatem in temporibus. Omnis odio quis id eligendi. Aut deleniti itaque unde molestiae non.</p>\n\n<p>Amet quia magni omnis accusantium odit. In qui ex nihil adipisci totam unde. Non omnis ut aut ad.</p>",
            "location": "21726 Kennedy Locks Apt. 231\nJoshville, PA 47522-7005",
            "is_all_day": false,
            "has_rsvp": false,
            "has_calendar_invites": false,
            "rsvp_limit": null,
            "is_recurring": false,
            "recurrence_rule": null,
            "recurrence_text": null,
            "date_start": "2026-10-27T02:28:27-04:00",
            "date_end": "2026-10-27T06:28:27-04:00",
            "timezone": "America/Indiana/Marengo",
            "busy_type": null,
            "reminder_before": null,
            "date_range_formatted": "Tue, Oct 27, 2026 2:28 AM - 6:28 AM",
            "public_url": "http://addcal.co/e/hy38pbyal0k7",
            "embed_url": "http://addcal.co/e/hy38pbyal0k7",
            "location_url": null,
            "image_url": null,
            "timezone_readable": "EDT / GMT-04:00",
            "calendar": {
                "uid": "yjjt62v2p5iv",
                "public_id": "cal_yjjt62v2p5iv",
                "short_link": null,
                "name": "et ipsum dicta",
                "internal_name": null,
                "description": "",
                "timezone": "Australia/Adelaide",
                "week_begins": 1,
                "start_on": "today",
                "public_url": "http://addcal.co/c/yjjt62v2p5iv",
                "created_at": "2026-10-28T23:12:04.000000Z",
                "updated_at": "2026-10-28T23:12:04.000000Z"
            },
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        }
    ]
}
```

### Create Event

`POST /api/calendars/{calendar_public_id}/events`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.

**Query parameters**

- `with_html` (boolean, optional): Include HTML variants for calendar links in the response

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": {
        "uid": "7xoh344sv1zb",
        "public_id": "evt_7xoh344sv1zb",
        "calendar_uid": "cal_erpbdk7butf5",
        "short_link": null,
        "title": "Repellendus cum iusto error accusantium voluptatem deserunt hic.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Quo non minus soluta eius. Et debitis error sunt voluptatum animi. Atque facere rem repudiandae velit id et.</p>\n\n<p>Eos modi molestiae est numquam nisi libero. Labore nesciunt iure eos debitis alias perferendis. Vitae aut illum excepturi consequatur consequatur aut.</p>",
        "location": "35051 Torphy Walk Apt. 351\nLemkemouth, OR 09862-4201",
        "is_all_day": false,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-10-23T22:24:09+05:00",
        "date_end": "2026-10-24T01:24:09+05:00",
        "timezone": "Antarctica/Mawson",
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Fri, Oct 23, 2026 10:24 PM - Sat, Oct 24, 2026 1:24 AM",
        "public_url": "http://addcal.co/e/7xoh344sv1zb",
        "embed_url": "http://addcal.co/e/7xoh344sv1zb",
        "location_url": null,
        "image_url": null,
        "timezone_readable": "+05 / GMT+05:00",
        "calendar": {
            "uid": "erpbdk7butf5",
            "public_id": "cal_erpbdk7butf5",
            "short_link": null,
            "name": "quos nihil omnis",
            "internal_name": null,
            "description": "<p>Velit sint ut eius occaecati sint adipisci voluptas illum. Illo repellendus impedit eos veniam rerum ut sit. Dolorem non illum nulla et magnam. Enim quaerat tempora reiciendis repudiandae recusandae libero consectetur.</p>",
            "timezone": "Europe/Gibraltar",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "http://addcal.co/c/erpbdk7butf5",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    },
    "links": {
        "event_page": "http://addcal.co/e/7xoh344sv1zb",
        "auto": "https://addcal.co/e/7xoh344sv1zb/auto",
        "google": "https://addcal.co/e/7xoh344sv1zb/google",
        "apple": "https://addcal.co/e/7xoh344sv1zb/apple",
        "outlook": "https://addcal.co/e/7xoh344sv1zb/outlook",
        "outlook_web": "https://addcal.co/e/7xoh344sv1zb/outlook_web",
        "yahoo": "https://addcal.co/e/7xoh344sv1zb/yahoo",
        "office365": "https://addcal.co/e/7xoh344sv1zb/office365",
        "ics": "https://addcal.co/e/7xoh344sv1zb/ics"
    },
    "html": {
        "single-button": "Add to Calendar Button",
        "icon-buttons-single-row": "Buttons With Icons",
        "icons": "Text with Icons",
        "dot-sep": "Text (dot separated)",
        "space-sep": "Text (space separated)"
    }
}
```

**Response 409** — When the team's event limit has been exceeded

```json
{
    "message": "You have reached your monthly event limit of 10. Please upgrade your plan to create more events.",
    "current": 10,
    "limit": 10,
    "remaining": 0,
    "would_exceed_by": 1,
    "is_unlimited": false,
    "limit_type": "monthly",
    "attempted": 1
}
```

### Get Event

`GET /api/calendars/{calendar_public_id}/events/{public_id}`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `public_id` (string, required): The ID of the public.

**Query parameters**

- `with_html` (boolean, optional): Include HTML variants for calendar links in the response

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": {
        "uid": "iuqirpd8d8g9",
        "public_id": "evt_iuqirpd8d8g9",
        "calendar_uid": "cal_ka1aspz8ufyf",
        "short_link": null,
        "title": "Atque itaque fuga sequi hic repudiandae repellat voluptatem.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Asperiores quia similique autem sunt aut. Culpa corrupti officia voluptatem dignissimos perferendis. Eum ex in occaecati velit aut facilis.</p>\n\n<p>Esse ipsum tempore neque sed dolorem. A ut fugit aut nihil. Ipsa aut veniam praesentium et corrupti et dolorem debitis. Voluptas culpa aut illum fuga voluptatum beatae perspiciatis quaerat.</p>",
        "location": "22065 Nedra Squares\nJanieview, RI 40845-9976",
        "is_all_day": false,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-09-29T22:55:38+07:00",
        "date_end": "2026-09-30T00:55:38+07:00",
        "timezone": "Asia/Barnaul",
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Tue, Sep 29, 2026 10:55 PM - Wed, Sep 30, 2026 12:55 AM",
        "public_url": "http://addcal.co/e/iuqirpd8d8g9",
        "embed_url": "http://addcal.co/e/iuqirpd8d8g9",
        "location_url": null,
        "image_url": null,
        "timezone_readable": "+07 / GMT+07:00",
        "calendar": {
            "uid": "ka1aspz8ufyf",
            "public_id": "cal_ka1aspz8ufyf",
            "short_link": null,
            "name": "minima qui dolores",
            "internal_name": "ut distinctio autem",
            "description": "<p>Quia maiores expedita esse corporis. Vitae libero qui consectetur modi vel quas a. Error impedit dignissimos reiciendis necessitatibus. Voluptas fugit ut molestiae sequi numquam beatae.</p>",
            "timezone": "Asia/Beirut",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "http://addcal.co/c/ka1aspz8ufyf",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    },
    "links": {
        "event_page": "http://addcal.co/e/iuqirpd8d8g9",
        "auto": "https://addcal.co/e/iuqirpd8d8g9/auto",
        "google": "https://addcal.co/e/iuqirpd8d8g9/google",
        "apple": "https://addcal.co/e/iuqirpd8d8g9/apple",
        "outlook": "https://addcal.co/e/iuqirpd8d8g9/outlook",
        "outlook_web": "https://addcal.co/e/iuqirpd8d8g9/outlook_web",
        "yahoo": "https://addcal.co/e/iuqirpd8d8g9/yahoo",
        "office365": "https://addcal.co/e/iuqirpd8d8g9/office365",
        "ics": "https://addcal.co/e/iuqirpd8d8g9/ics"
    },
    "html": {
        "single-button": "Add to Calendar Button",
        "icon-buttons-single-row": "Buttons With Icons",
        "icons": "Text with Icons",
        "dot-sep": "Text (dot separated)",
        "space-sep": "Text (space separated)"
    }
}
```

### Update Event

`PUT /api/calendars/{calendar_public_id}/events/{public_id}`

Omitting image, image_url and remove_image leaves the current image unchanged.

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `public_id` (string, required): The ID of the public.

**Query parameters**

- `with_html` (boolean, optional): Include HTML variants for calendar links in the response

**Example request**

```bash
curl --request PUT \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": {
        "uid": "8ia1nomd4zxd",
        "public_id": "evt_8ia1nomd4zxd",
        "calendar_uid": "cal_nvsxoen124qy",
        "short_link": null,
        "title": "Amet accusamus quia nostrum assumenda sed.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Repellat velit placeat omnis illum voluptas labore. Ut ut nobis blanditiis laborum non molestiae consequatur. Amet enim quaerat quas qui eaque odit. Rerum ad velit modi corporis placeat.</p>\n\n<p>Modi non numquam et quam quia doloremque aut voluptatem. Esse asperiores eum placeat id eos. Odit dolor eos tempore dicta dolore omnis quia.</p>",
        "location": "49851 Zaria Springs\nLake Brittanytown, ID 20618-7891",
        "is_all_day": false,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-11-20T18:31:51+00:00",
        "date_end": "2026-11-20T21:31:51+00:00",
        "timezone": "Europe/Lisbon",
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Fri, Nov 20, 2026 6:31 PM - 9:31 PM",
        "public_url": "http://addcal.co/e/8ia1nomd4zxd",
        "embed_url": "http://addcal.co/e/8ia1nomd4zxd",
        "location_url": null,
        "image_url": null,
        "timezone_readable": "WET / GMT+00:00",
        "calendar": {
            "uid": "nvsxoen124qy",
            "public_id": "cal_nvsxoen124qy",
            "short_link": null,
            "name": "necessitatibus saepe et",
            "internal_name": null,
            "description": "",
            "timezone": "Asia/Ulaanbaatar",
            "week_begins": 4,
            "start_on": "today",
            "public_url": "http://addcal.co/c/nvsxoen124qy",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    },
    "links": {
        "event_page": "http://addcal.co/e/8ia1nomd4zxd",
        "auto": "https://addcal.co/e/8ia1nomd4zxd/auto",
        "google": "https://addcal.co/e/8ia1nomd4zxd/google",
        "apple": "https://addcal.co/e/8ia1nomd4zxd/apple",
        "outlook": "https://addcal.co/e/8ia1nomd4zxd/outlook",
        "outlook_web": "https://addcal.co/e/8ia1nomd4zxd/outlook_web",
        "yahoo": "https://addcal.co/e/8ia1nomd4zxd/yahoo",
        "office365": "https://addcal.co/e/8ia1nomd4zxd/office365",
        "ics": "https://addcal.co/e/8ia1nomd4zxd/ics"
    },
    "html": {
        "single-button": "Add to Calendar Button",
        "icon-buttons-single-row": "Buttons With Icons",
        "icons": "Text with Icons",
        "dot-sep": "Text (dot separated)",
        "space-sep": "Text (space separated)"
    }
}
```

### Delete Event

`DELETE /api/calendars/{calendar_public_id}/events/{public_id}`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `public_id` (string, required): The ID of the public.

**Body parameters** (`application/json`)

- `notify_invitees` (boolean, optional): When true and the event has calendar invites, email a cancellation to every invited attendee so the event is removed from their calendars. Defaults to false.

**Example request**

```bash
curl --request DELETE \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

### Generate Signed URL for Event

`POST /api/calendars/{calendar_public_id}/events/{event_public_id}/signed-url`

Generate a cryptographically signed URL for a protected event. The signed URL grants temporary access and expires after the specified number of days.

The event must have an access code set. If no `expiry_days` is provided, the default is 30 days.

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.

**Body parameters** (`application/json`)

- `expiry_days` (integer, optional): Number of days until the signed URL expires. Min 1, max 365.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/signed-url' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "expiry_days": 30
}'
```

**Response 200**

```json
{
    "url": "https://addcal.co/e/evt_abc123?expires=1741000000&signature=abc..."
}
```

**Response 422**

```json
{
    "error": "Event does not have an access code set."
}
```

## Events > RSVPs

APIs for managing event RSVP responses.

## Working with Custom Form Fields

Events can have custom forms with additional fields beyond the standard `name` and `email`. To create an RSVP with custom field data:

1. First, fetch the event details using the **Get Event** endpoint (`GET /api/calendars/{calendar}/events/{event}`)
2. Check the `custom_form` object in the response - it contains a `fields` array with all form fields
3. Use each field's `slug` property as the key when submitting custom field data

### Example Workflow

```
GET /api/calendars/cal_abc123/events/evt_xyz789

Response:
{
  "data": {
    "custom_form": {
      "fields": [
        { "slug": "company", "label": "Company Name", "field_type": "text", "is_required": false },
        { "slug": "dietary_requirements", "label": "Dietary Requirements", "field_type": "dropdown", "is_required": true,
          "options": [{ "label": "Vegetarian", "value": "vegetarian" }, { "label": "None", "value": "none" }] }
      ]
    }
  }
}
```

Then create the RSVP, passing the custom field values in `custom_fields`, keyed by slug:

```
POST /api/calendars/cal_abc123/events/evt_xyz789/rsvps

{
  "name": "John Doe",
  "email": "john@example.com",
  "response_type": "yes",
  "custom_fields": {
    "company": "Acme Inc",
    "dietary_requirements": "vegetarian"
  }
}
```

For fields of type `name_field` and `email_field`, send the value as the top-level `name` / `email`
instead of inside `custom_fields`.

### Strict validation (opt-in)

By default the API is lenient: `custom_fields` are stored as sent, without enforcing the form's
required fields, option lists, or field types. This keeps existing integrations working.

Pass `"strict": true` to validate the submission exactly like the public RSVP form: fields marked
`is_required` must be present, `dropdown`/`radio` values must be one of the field's `options[].value`,
and typed fields (e.g. `marketing_consent`) must match their type. Note `marketing_consent` values
must be a JSON boolean (`true`/`false`), not a string like `"True"`.

Earlier versions of this API accepted these values as a flat `data` object. That shape is still
accepted, but it is deprecated: prefer `custom_fields`.

### List RSVPs

`GET /api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.

**Query parameters**

- `response_type` (string, optional): Filter by response type. Options: 'yes', 'maybe', 'no', 'waitlist'
- `search` (string, optional): Search RSVPs by name or email
- `per_page` (integer, optional): Number of results per page (1-100)

**Body parameters** (`application/json`)

- `response_type` (string, optional): No description. Options: `yes`, `maybe`, `no`, `waitlist`.
- `search` (string, optional): Must not be greater than 255 characters.
- `per_page` (integer, optional): Must be at least 1. Must not be greater than 100.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": [
        {
            "uid": "f57031ac-ace3-41d7-b631-6a82a32ca805",
            "public_id": "rsvp_f57031ac-ace3-41d7-b631-6a82a32ca805",
            "event_uid": "xdakful6xd0s",
            "response_type": "yes",
            "waitlist_position": null,
            "name": "Christa Dare",
            "email": "juwan53@yahoo.com",
            "data": {
                "guests": 0,
                "comment": null
            },
            "formatted_created_at": "2026-10-28 23:12:04",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z",
            "event": {
                "uid": "xdakful6xd0s",
                "public_id": "evt_xdakful6xd0s",
                "calendar_uid": "cal_6xm11o5utssx",
                "short_link": null,
                "title": "Unde qui cupiditate voluptates architecto necessitatibus amet consequuntur non.",
                "internal_name": null,
                "is_draft": false,
                "description": "<p>Ut quis inventore alias dolor quia ut sapiente. Impedit blanditiis in est officiis odio. In modi rerum et error ut nisi sint modi.</p>\n\n<p>Repellendus omnis voluptatem vero facilis fuga blanditiis consequatur. Possimus quia alias accusamus nihil quia. Veritatis illum corporis quo dolor. Earum aut enim eum.</p>",
                "location": null,
                "is_all_day": false,
                "has_rsvp": false,
                "has_calendar_invites": false,
                "rsvp_limit": null,
                "is_recurring": false,
                "recurrence_rule": null,
                "recurrence_text": null,
                "date_start": "2026-10-29T09:34:05+04:00",
                "date_end": "2026-10-29T12:34:05+04:00",
                "timezone": "Indian/Mahe",
                "busy_type": null,
                "reminder_before": null,
                "date_range_formatted": "Thu, Oct 29, 2026 9:34 AM - 12:34 PM",
                "public_url": "http://addcal.co/e/xdakful6xd0s",
                "embed_url": "http://addcal.co/e/xdakful6xd0s",
                "location_url": null,
                "image_url": null,
                "timezone_readable": "+04 / GMT+04:00",
                "calendar": {
                    "uid": "6xm11o5utssx",
                    "public_id": "cal_6xm11o5utssx",
                    "short_link": null,
                    "name": "illo atque nam",
                    "internal_name": "et cumque vel",
                    "description": "<p>Et molestias soluta et. Quo veniam et natus facilis ut hic sunt. Id quia sed atque quam. Est harum nisi animi iste illum mollitia neque.</p>",
                    "timezone": "Asia/Dubai",
                    "week_begins": 2,
                    "start_on": "today",
                    "public_url": "http://addcal.co/c/6xm11o5utssx",
                    "created_at": "2026-10-28T23:12:04.000000Z",
                    "updated_at": "2026-10-28T23:12:04.000000Z"
                },
                "created_at": "2026-10-28T23:12:04.000000Z",
                "updated_at": "2026-10-28T23:12:04.000000Z"
            }
        },
        {
            "uid": "60b6450a-44d1-4aa1-aa9d-8022e3bc1e77",
            "public_id": "rsvp_60b6450a-44d1-4aa1-aa9d-8022e3bc1e77",
            "event_uid": "qc312dq2ni9g",
            "response_type": "maybe",
            "waitlist_position": null,
            "name": "Camron Klocko",
            "email": "marietta15@casper.com",
            "data": {
                "guests": 1,
                "comment": "Sed omnis perspiciatis necessitatibus quo odit."
            },
            "formatted_created_at": "2026-10-28 23:12:04",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z",
            "event": {
                "uid": "qc312dq2ni9g",
                "public_id": "evt_qc312dq2ni9g",
                "calendar_uid": "cal_q9icqpcwjfps",
                "short_link": null,
                "title": "Tempore inventore sint at.",
                "internal_name": null,
                "is_draft": false,
                "description": "<p>Qui magni voluptatem at aut quasi. Itaque ut rerum qui ullam soluta nihil. Quia in asperiores laboriosam reiciendis quaerat repellendus. Fuga a quisquam vitae eius error excepturi in.</p>\n\n<p>Tempore officia eum consectetur rerum omnis pariatur cum. Suscipit ut enim atque ipsa. Qui itaque molestiae dolorem provident necessitatibus temporibus. Similique quia enim qui ut.</p>",
                "location": null,
                "is_all_day": false,
                "has_rsvp": false,
                "has_calendar_invites": false,
                "rsvp_limit": null,
                "is_recurring": false,
                "recurrence_rule": null,
                "recurrence_text": null,
                "date_start": "2026-11-19T16:47:21+03:30",
                "date_end": "2026-11-19T17:47:21+03:30",
                "timezone": "Asia/Tehran",
                "busy_type": null,
                "reminder_before": null,
                "date_range_formatted": "Thu, Nov 19, 2026 4:47 PM - 5:47 PM",
                "public_url": "http://addcal.co/e/qc312dq2ni9g",
                "embed_url": "http://addcal.co/e/qc312dq2ni9g",
                "location_url": null,
                "image_url": null,
                "timezone_readable": "+0330 / GMT+03:30",
                "calendar": {
                    "uid": "q9icqpcwjfps",
                    "public_id": "cal_q9icqpcwjfps",
                    "short_link": null,
                    "name": "ipsa et quas",
                    "internal_name": null,
                    "description": "<p>Natus error qui numquam adipisci et ut qui. Et doloribus autem ea ea qui quis. Sed perspiciatis sed est ratione quae.</p>",
                    "timezone": "UTC",
                    "week_begins": 3,
                    "start_on": "today",
                    "public_url": "http://addcal.co/c/q9icqpcwjfps",
                    "created_at": "2026-10-28T23:12:04.000000Z",
                    "updated_at": "2026-10-28T23:12:04.000000Z"
                },
                "created_at": "2026-10-28T23:12:04.000000Z",
                "updated_at": "2026-10-28T23:12:04.000000Z"
            }
        }
    ]
}
```

### Create RSVP

`POST /api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.

**Body parameters** (`application/json`)

- `response_type` (string, required): No description. Options: `yes`, `maybe`, `no`, `waitlist`.
- `name` (string, required): Must not be greater than 255 characters.
- `email` (string, required): Must not be greater than 255 characters.
- `strict` (boolean, optional): No description.
- `custom_fields` (object, optional): No description.
- `language` (string, optional): Language for the confirmation and reminder emails, as a two-letter code (e.g. de). A region-tagged code such as de-DE is accepted and narrowed to the language. Defaults to English when omitted; an unsupported language is rejected with a 422.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "response_type": "deserunt",
    "name": "rxvmmxev",
    "email": "dax81@example.net",
    "strict": false,
    "language": "de"
}'
```

**Response 200**

```json
{
    "uid": "27c93004-6e62-4692-b434-fd88bc2449e9",
    "public_id": "rsvp_27c93004-6e62-4692-b434-fd88bc2449e9",
    "event_uid": "3pq0fiok5wuf",
    "response_type": "no",
    "waitlist_position": null,
    "name": "Ida Larson",
    "email": "wilbert88@yahoo.com",
    "data": {
        "guests": 2,
        "comment": null
    },
    "formatted_created_at": "2026-10-28 23:12:04",
    "created_at": "2026-10-28T23:12:04.000000Z",
    "updated_at": "2026-10-28T23:12:04.000000Z",
    "event": {
        "uid": "3pq0fiok5wuf",
        "public_id": "evt_3pq0fiok5wuf",
        "calendar_uid": "cal_4e92hq3kg5od",
        "short_link": null,
        "title": "Ea ipsum dolorum facere perferendis tenetur consequatur eaque.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Molestias aliquid nisi laboriosam est. Ea minima quasi doloribus minima id accusamus dolorum. Quis odit libero harum quia sed vel laborum. Id incidunt necessitatibus et.</p>\n\n<p>Sunt sint qui saepe aut nostrum aperiam. Ut consequatur consectetur nihil et libero. Quaerat aut distinctio iure dolorum rerum dolore iste.</p>",
        "location": "3867 Maxime Crescent\nJerodport, ME 79315",
        "is_all_day": false,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-11-18T15:35:56+03:00",
        "date_end": "2026-11-18T18:35:56+03:00",
        "timezone": "Africa/Addis_Ababa",
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Wed, Nov 18, 2026 3:35 PM - 6:35 PM",
        "public_url": "http://addcal.co/e/3pq0fiok5wuf",
        "embed_url": "http://addcal.co/e/3pq0fiok5wuf",
        "location_url": null,
        "image_url": null,
        "timezone_readable": "EAT / GMT+03:00",
        "calendar": {
            "uid": "4e92hq3kg5od",
            "public_id": "cal_4e92hq3kg5od",
            "short_link": null,
            "name": "ut cumque quam",
            "internal_name": null,
            "description": "<p>Tempore est libero quae ad eligendi. Excepturi eaque fugiat modi similique sit.</p>",
            "timezone": "Africa/Johannesburg",
            "week_begins": 6,
            "start_on": "today",
            "public_url": "http://addcal.co/c/4e92hq3kg5od",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    }
}
```

### Get RSVP

`GET /api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps/{public_id}`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.
- `public_id` (string, required): The ID of the public.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "uid": "b90d3a83-0bb9-441c-b73d-15ce2c942cf0",
    "public_id": "rsvp_b90d3a83-0bb9-441c-b73d-15ce2c942cf0",
    "event_uid": "x82tpdzegdu5",
    "response_type": "maybe",
    "waitlist_position": null,
    "name": "Anabel Pacocha",
    "email": "roberto.kihn@wiza.org",
    "data": {
        "guests": 0,
        "comment": "Fugiat molestiae totam assumenda dolores."
    },
    "formatted_created_at": "2026-10-28 23:12:04",
    "created_at": "2026-10-28T23:12:04.000000Z",
    "updated_at": "2026-10-28T23:12:04.000000Z",
    "event": {
        "uid": "x82tpdzegdu5",
        "public_id": "evt_x82tpdzegdu5",
        "calendar_uid": "cal_yg3pghr7b20r",
        "short_link": null,
        "title": "Explicabo voluptatum ut consequatur sunt fugiat possimus.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Nisi quaerat quos ut debitis. Explicabo culpa accusantium voluptatem nobis eum.</p>\n\n<p>Quia itaque aliquam perferendis. Quam fugit et dicta eum tempore aliquam vel. Autem dolor molestiae mollitia est nam.</p>",
        "location": "7482 Tyrel Highway Apt. 890\nEast Bryceland, NY 89873",
        "is_all_day": true,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-10-26T16:42:09+00:00",
        "date_end": "2026-10-26T18:42:09+00:00",
        "timezone": null,
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Mon, Oct 26, 2026 (all day)",
        "public_url": "http://addcal.co/e/x82tpdzegdu5",
        "embed_url": "http://addcal.co/e/x82tpdzegdu5",
        "location_url": null,
        "image_url": null,
        "timezone_readable": null,
        "calendar": {
            "uid": "yg3pghr7b20r",
            "public_id": "cal_yg3pghr7b20r",
            "short_link": null,
            "name": "nemo accusamus eius",
            "internal_name": "id sit rerum",
            "description": "<p>Ipsa cum quasi quia modi vel ad corrupti. Et est nam incidunt maxime. Reiciendis deserunt esse facilis aut et et qui.</p>",
            "timezone": "America/Indiana/Winamac",
            "week_begins": 1,
            "start_on": "today",
            "public_url": "http://addcal.co/c/yg3pghr7b20r",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    }
}
```

### Update RSVP

`PUT /api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps/{public_id}`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.
- `public_id` (string, required): The ID of the public.

**Body parameters** (`application/json`)

- `response_type` (string, optional): No description. Options: `yes`, `maybe`, `no`, `waitlist`.
- `name` (string, optional): Must not be greater than 255 characters.
- `email` (string, optional): Must not be greater than 255 characters.
- `strict` (boolean, optional): No description.
- `override_limit` (boolean, optional): Skip the RSVP limit and waitlist, as an organiser override. When omitted, a yes on a full event joins the waitlist, or is rejected with a 422 if the event has no waitlist.
- `custom_fields` (object, optional): No description.

**Example request**

```bash
curl --request PUT \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "response_type": "rerum",
    "name": "kmduzbfqrckfc",
    "email": "igislason@example.com",
    "strict": true,
    "override_limit": false
}'
```

**Response 200**

```json
{
    "uid": "997f6097-965f-4a60-bffb-982cfeda7a14",
    "public_id": "rsvp_997f6097-965f-4a60-bffb-982cfeda7a14",
    "event_uid": "xa6vodh8rpsa",
    "response_type": "no",
    "waitlist_position": null,
    "name": "Dr. Ernie Schimmel Sr.",
    "email": "julia33@gmail.com",
    "data": {
        "guests": 1,
        "comment": "Voluptatem aliquid officiis delectus natus."
    },
    "formatted_created_at": "2026-10-28 23:12:04",
    "created_at": "2026-10-28T23:12:04.000000Z",
    "updated_at": "2026-10-28T23:12:04.000000Z",
    "event": {
        "uid": "xa6vodh8rpsa",
        "public_id": "evt_xa6vodh8rpsa",
        "calendar_uid": "cal_01fckj35pzem",
        "short_link": null,
        "title": "Dolorum ut assumenda ea iusto totam autem.",
        "internal_name": null,
        "is_draft": false,
        "description": "<p>Ut ut omnis fuga. Nobis eius repellat laudantium in iusto. Sit non odit autem repudiandae incidunt iste est molestias. Qui saepe omnis praesentium totam consequatur voluptate nobis non.</p>\n\n<p>Vitae numquam natus et aspernatur. Neque qui qui qui quod dolores omnis animi.</p>",
        "location": null,
        "is_all_day": false,
        "has_rsvp": false,
        "has_calendar_invites": false,
        "rsvp_limit": null,
        "is_recurring": false,
        "recurrence_rule": null,
        "recurrence_text": null,
        "date_start": "2026-11-21T08:30:24-04:00",
        "date_end": "2026-11-21T09:30:24-04:00",
        "timezone": "America/Santo_Domingo",
        "busy_type": null,
        "reminder_before": null,
        "date_range_formatted": "Sat, Nov 21, 2026 8:30 AM - 9:30 AM",
        "public_url": "http://addcal.co/e/xa6vodh8rpsa",
        "embed_url": "http://addcal.co/e/xa6vodh8rpsa",
        "location_url": null,
        "image_url": null,
        "timezone_readable": "AST / GMT-04:00",
        "calendar": {
            "uid": "01fckj35pzem",
            "public_id": "cal_01fckj35pzem",
            "short_link": null,
            "name": "voluptatem nisi vero",
            "internal_name": "tenetur recusandae aut",
            "description": "",
            "timezone": "Pacific/Norfolk",
            "week_begins": 4,
            "start_on": "today",
            "public_url": "http://addcal.co/c/01fckj35pzem",
            "created_at": "2026-10-28T23:12:04.000000Z",
            "updated_at": "2026-10-28T23:12:04.000000Z"
        },
        "created_at": "2026-10-28T23:12:04.000000Z",
        "updated_at": "2026-10-28T23:12:04.000000Z"
    }
}
```

### Delete RSVP

`DELETE /api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps/{public_id}`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.
- `public_id` (string, required): The ID of the public.

**Example request**

```bash
curl --request DELETE \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/rsvps/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

## Events > Invites

Send real calendar invites (iTIP/iMIP) by email straight from your own integration.

An invite emails the attendee a native calendar request with Yes/No/Maybe buttons; accepting writes
the event into their primary calendar and their reply is tracked back on the invite. Calendar invites
must be enabled on the event (`has_calendar_invites`) for a team on the Business plan, otherwise
these endpoints return `403`.

### Resend Invite by Email

`POST /api/calendars/{calendar_public_id}/events/{event_public_id}/invites/resend`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.

**Body parameters** (`application/json`)

- `email` (string, required): The attendee email whose invite to resend.
- `source` (string, optional): No description. Options: `api`, `zapier`.
- `language` (string, optional): Change the language of the resent invite, as a two-letter code (e.g. de). Omit to keep the language the invite was stored with.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/invites/resend' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "john@example.com",
    "source": "api",
    "language": "de"
}'
```

**Response 200**

```json
{
    "data": {
        "public_id": "inv_psrxliaexa7z",
        "event_uid": "1d91ocnfp6gw",
        "email": "qward@example.com",
        "status": "pending",
        "source": "event_page",
        "sent_at": null,
        "responded_at": null,
        "cancelled_at": null,
        "created_at": "2026-10-28T23:12:04+00:00",
        "updated_at": "2026-10-28T23:12:04+00:00"
    }
}
```

**Response 404** — Not found

```json
{
    "message": "No invite found for that email address."
}
```

### Cancel Invite by Email

`POST /api/calendars/{calendar_public_id}/events/{event_public_id}/invites/cancel`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.

**Body parameters** (`application/json`)

- `email` (string, required): The attendee email whose invite to cancel.
- `source` (string, optional): No description. Options: `api`, `zapier`.
- `language` (string, optional): No description.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/invites/cancel' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "john@example.com",
    "source": "zapier"
}'
```

**Response 204** — Invite cancelled

**Response 404** — Not found

```json
{
    "message": "No invite found for that email address."
}
```

### Resend Invite

`POST /api/calendars/{calendar_public_id}/events/{event_public_id}/invites/{invite_public_id}/resend`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.
- `invite_public_id` (string, required): The ID of the invite public.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/invites/{invite_public_id}/resend' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": {
        "public_id": "inv_nokc3xicu3el",
        "event_uid": "6e5zbdo9q51g",
        "email": "sydni.harris@example.com",
        "status": "pending",
        "source": "event_page",
        "sent_at": null,
        "responded_at": null,
        "cancelled_at": null,
        "created_at": "2026-10-28T23:12:04+00:00",
        "updated_at": "2026-10-28T23:12:04+00:00"
    }
}
```

**Response 422** — Cannot resend

```json
{
    "message": "Cancelled invites cannot be resent."
}
```

### Send Invite

`POST /api/calendars/{calendar_public_id}/events/{event_public_id}/invites`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.

**Body parameters** (`application/json`)

- `email` (string, required): The attendee email to invite.
- `source` (string, optional): No description. Options: `api`, `zapier`.
- `language` (string, optional): Language for the invite email, as a two-letter code (e.g. de). A region-tagged code such as de-DE is accepted and narrowed to the language. Defaults to English when omitted; an unsupported language is rejected with a 422.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/invites' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "john@example.com",
    "source": "zapier",
    "language": "de"
}'
```

**Response 200**

```json
{
    "data": {
        "public_id": "inv_ln9hp45y317g",
        "event_uid": "c823r8c8srba",
        "email": "jacynthe08@example.org",
        "status": "pending",
        "source": "event_page",
        "sent_at": null,
        "responded_at": null,
        "cancelled_at": null,
        "created_at": "2026-10-28T23:12:04+00:00",
        "updated_at": "2026-10-28T23:12:04+00:00"
    }
}
```

**Response 403** — Invites not enabled

```json
{
    "message": "Calendar invites are not enabled for this event."
}
```

**Response 422** — Event has ended

```json
{
    "message": "Sorry, this event has already ended."
}
```

### List Invites

`GET /api/calendars/{calendar_public_id}/events/{event_public_id}/invites`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.

**Query parameters**

- `status` (string, optional): Filter by invite status (e.g. 'sent', 'accepted', 'declined')
- `search` (string, optional): Search invites by email
- `per_page` (integer, optional): Number of results per page (1-100)

**Body parameters** (`application/json`)

- `status` (string, optional): No description. Options: `pending`, `sent`, `accepted`, `tentative`, `declined`, `bounced`, `failed`, `cancelled`.
- `search` (string, optional): Must not be greater than 255 characters.
- `per_page` (integer, optional): Must be at least 1. Must not be greater than 100.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/invites' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": [
        {
            "public_id": "inv_dl5a0ylp8fvj",
            "event_uid": "l38t5428eiic",
            "email": "michele.mitchell@example.org",
            "status": "pending",
            "source": "event_page",
            "sent_at": null,
            "responded_at": null,
            "cancelled_at": null,
            "created_at": "2026-10-28T23:12:04+00:00",
            "updated_at": "2026-10-28T23:12:04+00:00"
        },
        {
            "public_id": "inv_f0yvl1jisqj0",
            "event_uid": "jrdexqacp4zs",
            "email": "alberto.koss@example.net",
            "status": "pending",
            "source": "event_page",
            "sent_at": null,
            "responded_at": null,
            "cancelled_at": null,
            "created_at": "2026-10-28T23:12:04+00:00",
            "updated_at": "2026-10-28T23:12:04+00:00"
        }
    ]
}
```

### Get Invite

`GET /api/calendars/{calendar_public_id}/events/{event_public_id}/invites/{public_id}`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.
- `public_id` (string, required): The ID of the public.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/invites/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "data": {
        "public_id": "inv_p6wjdy1qyyos",
        "event_uid": "bum7oa3m9xfz",
        "email": "dawson.schuster@example.com",
        "status": "pending",
        "source": "event_page",
        "sent_at": null,
        "responded_at": null,
        "cancelled_at": null,
        "created_at": "2026-10-28T23:12:04+00:00",
        "updated_at": "2026-10-28T23:12:04+00:00"
    }
}
```

### Cancel Invite

`DELETE /api/calendars/{calendar_public_id}/events/{event_public_id}/invites/{public_id}`

**Path parameters**

- `calendar_public_id` (string, required): The ID of the calendar public.
- `event_public_id` (string, required): The ID of the event public.
- `public_id` (string, required): The ID of the public.

**Example request**

```bash
curl --request DELETE \
  --url 'https://addcal.co/api/calendars/{calendar_public_id}/events/{event_public_id}/invites/{public_id}' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 204** — Invite cancelled

**Response 422** — Not active

```json
{
    "message": "This invite is no longer active."
}
```

## Account

APIs for managing the authenticated user's account

### Get Current User

`GET /api/users/me`

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/users/me' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 200**

```json
{
    "user": {
        "uid": "ta8ck2mzgfdv",
        "name": "Test User",
        "email": "test@example.com",
        "created_at": "2025-07-27T06:39:24.000000Z",
        "updated_at": "2026-10-13T03:33:14.000000Z"
    },
    "teams": [
        {
            "uid": "v08acy4z0l57",
            "name": "Email Limit Test (1990 used)",
            "personal_team": false,
            "is_owner": true,
            "is_subscribed": true,
            "timezone": null,
            "created_at": "2026-07-19T04:28:25.000000Z",
            "updated_at": "2026-07-19T04:28:25.000000Z"
        },
        {
            "uid": "vvmknusj2w7g",
            "name": "Email Limit Test (990 used)",
            "personal_team": false,
            "is_owner": true,
            "is_subscribed": true,
            "timezone": null,
            "created_at": "2026-07-19T04:28:25.000000Z",
            "updated_at": "2026-07-19T05:31:52.000000Z"
        },
        {
            "uid": "b9jftdrz6ad2",
            "name": "Test User's Team",
            "personal_team": true,
            "is_owner": true,
            "is_subscribed": true,
            "timezone": null,
            "created_at": "2025-07-27T06:39:24.000000Z",
            "updated_at": "2026-09-02T03:01:50.000000Z"
        }
    ],
    "current_team": {
        "uid": "b9jftdrz6ad2",
        "name": "Test User's Team",
        "personal_team": true,
        "is_owner": true,
        "is_subscribed": true,
        "timezone": null,
        "created_at": "2025-07-27T06:39:24.000000Z",
        "updated_at": "2026-09-02T03:01:50.000000Z"
    }
}
```

## Dynamic Links

Generate add-to-calendar redirect URLs from query parameters. Requires a Dynamic Link Key (Business plan). The user is redirected to their chosen calendar service with the event pre-filled.

### /api/dyn

`GET /api/dyn`

**Query parameters**

- `uid` (string, required): Your Dynamic Link Key identifier.
- `service` (string, required): Calendar service to redirect to. Accepted: google, apple, outlook, outlook_web, office365, yahoo, ics, manual.
- `title` (string, required): Event title. Max 255 characters.
- `start` (string, required): Start date/time in ISO 8601 format.
- `end` (string, optional): End date/time in ISO 8601 format. Defaults to 1 hour after start if omitted.
- `duration` (integer, optional): Duration in minutes. Takes precedence over end.
- `timezone` (string, optional): IANA timezone. Required for timed events.
- `all_day_event` (boolean, optional): Set to true for all-day events.
- `description` (string, optional): Event description. Max 2000 characters.
- `location` (string, optional): Physical address or virtual meeting URL. Max 255 characters.
- `alarm` (integer, optional): Reminder in minutes before the event.
- `recurring` (string, optional): RFC 5545 recurrence rule (RRULE).
- `transp` (string, optional): Busy status: OPAQUE (busy) or TRANSPARENT (free). Defaults to OPAQUE.

**Body parameters** (`application/json`)

- `uid` (string, required): No description.
- `title` (string, required): Must not be greater than 255 characters.
- `start` (string, required): Must be a valid date.
- `end` (string, optional): Must be a valid date. Must be a date after or equal to start.
- `duration` (integer, optional): Must be at least 1.
- `all_day_event` (string, optional): No description.
- `timezone` (string, required): Must be a valid time zone, such as Africa/Accra.
- `description` (string, optional): Must not be greater than 2000 characters.
- `location` (string, optional): Must not be greater than 2048 characters.
- `alarm` (integer, optional): Must be at least 0.
- `recurring` (string, optional): No description.
- `transp` (string, optional): No description. Options: `TRANSPARENT`, `OPAQUE`.
- `service` (string, optional): No description.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/dyn' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 302** — Redirects the user to the chosen calendar service with the event pre-filled.

**Response 403** — Team is not on the Business plan.

**Response 404**

**Response 422** — When validation fails (e.g. missing required params or unrecognised service).

```json
{
    "message": "The provided Dynamic Link parameters were invalid."
}
```

### /api/dyn_ade

`GET /api/dyn_ade`

**Query parameters**

- `client` (string, required): AddEvent compatibility alias for uid. Your Dynamic Link Key identifier.
- `service` (string, required): Calendar service to redirect to. AddEvent values (outlookcom, stream) are automatically mapped. Accepted: google, apple, outlook, outlook_web, office365, yahoo, ics, manual.
- `title` (string, required): Event title. Max 255 characters.
- `start` (string, required): Start date/time in ISO 8601 format.
- `end` (string, optional): End date/time in ISO 8601 format. Defaults to 1 hour after start if omitted.
- `duration` (integer, optional): Duration in minutes. Takes precedence over end.
- `timezone` (string, optional): IANA timezone. Required for timed events.
- `all_day_event` (boolean, optional): Set to true for all-day events.
- `description` (string, optional): Event description. Max 2000 characters.
- `location` (string, optional): Physical address or virtual meeting URL. Max 255 characters.
- `alarm` (integer, optional): Reminder in minutes before the event.
- `recurring` (string, optional): RFC 5545 recurrence rule (RRULE).
- `transp` (string, optional): Busy status: OPAQUE (busy) or TRANSPARENT (free). Defaults to OPAQUE.

**Body parameters** (`application/json`)

- `uid` (string, required): No description.
- `title` (string, required): Must not be greater than 255 characters.
- `start` (string, required): Must be a valid date.
- `end` (string, optional): Must be a valid date. Must be a date after or equal to start.
- `duration` (integer, optional): Must be at least 1.
- `all_day_event` (string, optional): No description.
- `timezone` (string, required): Must be a valid time zone, such as Africa/Accra.
- `description` (string, optional): Must not be greater than 2000 characters.
- `location` (string, optional): Must not be greater than 2048 characters.
- `alarm` (integer, optional): Must be at least 0.
- `recurring` (string, optional): No description.
- `transp` (string, optional): No description. Options: `TRANSPARENT`, `OPAQUE`.
- `service` (string, optional): No description.

**Example request**

```bash
curl --request GET \
  --url 'https://addcal.co/api/dyn_ade' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

**Response 302** — Redirects the user to the chosen calendar service with the event pre-filled.

**Response 403** — Team is not on the Business plan.

**Response 404**

**Response 422** — When validation fails (e.g. missing required params or unrecognised service).

```json
{
    "message": "The provided Dynamic Link parameters were invalid."
}
```

## Endpoints

### /api/extension/token

`DELETE /api/extension/token`

**Example request**

```bash
curl --request DELETE \
  --url 'https://addcal.co/api/extension/token' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json'
```

### /api/events/extract

`POST /api/events/extract`

**Body parameters** (`application/json`)

- `text` (string, required): Must be at least 10 characters. Must not be greater than 8000 characters.
- `timezone` (string, optional): Must be a valid time zone, such as Africa/Accra.

**Example request**

```bash
curl --request POST \
  --url 'https://addcal.co/api/events/extract' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
    "text": "bdmc",
    "timezone": "Europe/Lisbon"
}'
```
