EventWillow user guides

API Reference

Connect your own tools to EventWillow using your account’s API access. In this guide, Channel is the product name; API routes such as /api/schedules, field names such as schedule, and exact response strings retain their technical names. The API base URL is https://app.eventwillow.com/api.

Authentication #

Every endpoint except Register and Login authenticates with an API key sent in the X-API-Key header. There are two ways to get one:

  • Open Settings, go to API Settings and turn on Enable API Access. The key is shown once, so copy it before you leave the page. See Account Settings.
  • Call the Register or Login endpoints, which return a key in the response body (useful for AI agents and scripted setup).

A key belongs to a user account, not to one channel. It can reach every channel where you are the owner or an admin, and nothing else. Followers and members cannot be used to authorise API calls.

Access requirements #

Enable API Access in your account settings before connecting an integration. Your API key can only access channels and records you own or administer. If a request returns 403, check your account permissions and the availability of the requested feature.

Key lifetime and rotation #

  • A key expires one year after it is issued. After that every request returns 401 API key expired.
  • Keys are stored hashed, so a lost key cannot be recovered. To rotate one, turn Enable API Access off and back on in Settings. That revokes the old key immediately and issues a new one.
  • Ten consecutive requests with the same invalid key block that key for 15 minutes with 423 API key temporarily blocked.

Keep the key server-side

An API key carries full owner and admin rights over your channels, including sales data and buyer email addresses. Never ship it in client-side code, a mobile app bundle or a public repository.

cURL Example

curl -X GET "https://app.eventwillow.com/api/schedules" \
         -H "X-API-Key: your_api_key_here"

Rate Limits #

Authenticated requests are counted per IP address, in separate read and write buckets. Every key calling from the same address shares the same two buckets, and a request that fails authentication is not counted:

Operation TypeLimitHTTP Methods
Read operations300 requests/minuteGET
Write operations30 requests/minutePOST, PUT, DELETE

Each bucket counts in a fixed one-minute window that opens with its first counted request. When that minute is up the count starts again from zero, so a client that makes no more than 300 reads and 30 writes in any one window is never refused, however long it runs.

Create Event carries a second throttle of 30 requests per minute on top of the write bucket, so a bulk import should pace itself well below that.

Unauthenticated endpoints #

The auth endpoints are limited separately, because they run before any key exists:

EndpointLimitCounted per
/api/register/send-code5 codes per hourEmail address
/api/register3 registrations per hourIP address
/api/login5 failed attempts per 15 minutesIP address

The read and write buckets and the three endpoints above all answer 429 with an error message when the limit is hit. A 429 from a read or write bucket also carries a Retry-After header with the number of seconds until that bucket’s window resets. The three auth endpoints send no rate limit headers, so back off on the status code there.

Rate Limit Response (429)

{
        "error": "Rate limit exceeded"
    }

Response Format #

Every response is JSON. Successful responses wrap the result in a data property: an object for single-record endpoints, an array for list endpoints. List endpoints add a meta object with the pagination counters. Event and sale writes and Upload Flyer put a confirmation in meta.message, while the delete endpoints return theirs as data.message.

Failures return an error string. A validation failure adds an errors object keyed by field name, each holding an array of messages.

Record IDs are opaque strings

Channels, events, sub-channels, tickets and sales are all identified by an encoded string such as "evt123", never by the raw database number. Pass the same string back exactly as you received it. Category IDs are the one exception: they are plain integers.

Success Response

{
        "data": [...],
        "meta": {
            "current_page": 1,
            "total": 50
        }
    }

Error Response

{
        "error": "Validation failed",
        "errors": {
            "name": ["The name field is required."]
        }
    }

Register #

Registration takes two steps: send a verification code to the email address, then register with the code.

Step 1: Send Verification Code #

POST /api/register/send-code

No authentication required. Takes a single email parameter and emails a 6-digit code that is valid for 10 minutes. Rate limited to 5 codes per email per hour. An address that already belongs to a full account is rejected with a 422.

Step 2: Register #

POST /api/register

No authentication required. Rate limited to 3 registrations per IP per hour. On success it returns 201 with an API key that is valid for one year, and the account’s email is treated as verified.

ParameterRequiredDescription
nameYesYour display name
emailYesEmail address
passwordYesPassword (min 8 characters)
verification_codeYes6-digit code from Step 1
timezoneNoIANA timezone name (default: America/New_York)
language_codeNoOne of the supported interface languages (default: en)

The endpoint also watches a hidden website honeypot field. Leave it out entirely: sending any value in it returns a 422.

Step 1: Send Code

curl -X POST "https://app.eventwillow.com/api/register/send-code" \
         -H "Content-Type: application/json" \
         -d '{"email": "[email protected]"}'

Response (201)

{
        "data": {
            "api_key": "your_new_api_key",
            "api_key_expires_at": "2027-02-28T00:00:00Z",
            "user": {
                "id": "abc123",
                "name": "Your Name",
                "email": "[email protected]"
            }
        }
    }

Login #

POST /api/login

No authentication required. Exchanges an email and password for an API key valid for one year.

Login issues a key only when you do not already have one

This is not a session endpoint and it will not hand you a fresh key on demand. If the account already has an unexpired key, login returns 409 and issues nothing, so store the key from the first call. To replace a key you have lost, turn Enable API Access off and back on in Settings.

Two other refusals to handle: an account with two-factor authentication enabled returns 403 and must generate its key from Settings instead, and a wrong email or password returns 401 and counts toward the 5-per-15-minute limit.

ParameterRequiredDescription
emailYesEmail address
passwordYesPassword

cURL

curl -X POST "https://app.eventwillow.com/api/login" \
         -H "Content-Type: application/json" \
         -d '{"email": "[email protected]", "password": "your_password"}'

Response (200)

{
        "data": {
            "api_key": "your_new_api_key",
            "api_key_expires_at": "2027-02-28T00:00:00Z",
            "user": {
                "id": "abc123",
                "name": "Your Name",
                "email": "[email protected]"
            }
        }
    }

List Channels #

GET /api/schedules

Returns a paginated list of the channels where you are the owner or an admin. Deleted channels are excluded. Each row includes its sub-channels in a groups array.

ParameterDescription
subdomainFilter by exact subdomain
nameFilter by channel name (partial match)
typeFilter by type: venue, talent, or curator

cURL

curl -X GET "https://app.eventwillow.com/api/schedules?type=venue" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": [
            {
                "id": "abc123",
                "subdomain": "my-venue",
                "name": "My Venue",
                "type": "venue",
                "email": "[email protected]",
                "timezone": "America/New_York",
                ...
            }
        ],
        "meta": { "current_page": 1, "total": 5 }
    }

Show Channel #

GET /api/schedules/{subdomain}

Returns a single channel by subdomain, including its sub-channels in a groups array. You must be its owner or an admin; otherwise the response is 404.

cURL

curl -X GET "https://app.eventwillow.com/api/schedules/my-venue" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": {
            "id": "abc123",
            "subdomain": "my-venue",
            "name": "My Venue",
            "type": "venue",
            "groups": [
                { "id": "def456", "name": "Main Stage", "slug": "main-stage" }
            ],
            ...
        }
    }

Create Channel #

POST /api/schedules

Create a new channel. You become its owner, and it becomes your default channel if you did not already have one.

ParameterRequiredDescription
nameYesChannel name (max 255 characters). The subdomain is generated from it and cannot be set through the API.
typeYesChannel type: venue, talent, or curator
emailNoContact email
descriptionNoMarkdown description (max 10,000 characters)
short_descriptionNoOne-line summary (max 200 characters)
timezoneNoIANA timezone name (defaults to your account timezone)
language_codeNoSupported language code such as en, es, fr (defaults to your account language)
websiteNoWebsite URL
address1, city, state, postal_code, country_codeNoAddress fields, used for venue channels. Send country_code as a two-letter ISO code.

A channel may require contact verification before its public page is available. Using your account email shares its verification; a different contact address may receive a verification link.

cURL

curl -X POST "https://app.eventwillow.com/api/schedules" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{"name": "My Venue", "type": "venue", "city": "New York"}'

Update Channel #

PUT /api/schedules/{subdomain}

Update a channel. Include only the fields you want to change; anything you omit is left alone. Takes the same fields as Create Channel apart from type: neither the channel type nor the subdomain can be changed through the API. Requires owner or admin access.

Branding, images, layout and integrations are not exposed here. Edit those in the admin panel, under the Style, Settings and Integrations sections of the channel editor.

cURL

curl -X PUT "https://app.eventwillow.com/api/schedules/my-venue" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{"name": "Updated Name", "description": "New description"}'

Delete Channel #

DELETE /api/schedules/{subdomain}

Retire a channel. Requires owner access; an admin receives 404. There is no undo through the API.

The channel is flagged as deleted and stops appearing anywhere, and the call also:

  • Deletes its profile, header and background images from storage
  • Deletes its analytics history (page views, referrers and appearances)
  • Tears down its Google Calendar and Outlook sync subscriptions
  • Cancels any running boost campaign and refunds it where money is owed
  • Emails the channel’s members to tell them it was deleted
  • Frees its subdomain for another channel to register.

Events are not swept up automatically. The exception is a talent channel: an event whose only member was that channel is deleted with it, so nothing is left orphaned.

cURL

curl -X DELETE "https://app.eventwillow.com/api/schedules/my-venue" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": {
            "message": "Schedule deleted successfully"
        }
    }

List Sub-Channels #

GET /api/schedules/{subdomain}/groups

List every sub-channel on a channel, returning id, name, slug and color for each. Requires owner or admin access. The response is not paginated.

Sub-channels group and colour-code events so visitors can filter your calendar. They do not control who can see an event: use the visibility flags on Create Event for that.

cURL

curl -X GET "https://app.eventwillow.com/api/schedules/my-venue/groups" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": [
            {
                "id": "def456",
                "name": "Main Stage",
                "slug": "main-stage",
                "color": "#FF5733"
            }
        ]
    }

Create Sub-Channel #

POST /api/schedules/{subdomain}/groups

Create a sub-channel on a channel. Requires owner or admin access. The slug is generated from the name and is what you pass as the schedule parameter when creating an event.

ParameterRequiredDescription
nameYesSub-channel name (max 255 characters)
colorNoDisplay colour as a hex value, for example #FF5733 (max 50 characters)

If the channel has a translation language set that differs from its own language, the name is machine-translated into it and the slug is built from the translated name, so read the slug back from the response rather than deriving it yourself.

cURL

curl -X POST "https://app.eventwillow.com/api/schedules/my-venue/groups" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{"name": "Main Stage", "color": "#FF5733"}'

Response (201)

{
        "data": {
            "id": "def456",
            "name": "Main Stage",
            "slug": "main-stage",
            "color": "#FF5733"
        }
    }

Update Sub-Channel #

PUT /api/schedules/{subdomain}/groups/{group_id}

Update a sub-channel’s name or colour; send only the one you want to change. Requires owner or admin access. Changing the name regenerates the slug, which changes the value events must pass in schedule, so re-read it from the response.

cURL

curl -X PUT "https://app.eventwillow.com/api/schedules/my-venue/groups/def456" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{"name": "VIP Stage", "color": "#3B82F6"}'

Delete Sub-Channel #

DELETE /api/schedules/{subdomain}/groups/{group_id}

Delete a sub-channel. Events assigned to it are kept and simply lose the assignment. Requires owner or admin access. Pass the encoded sub-channel id from List Sub-Channels.

cURL

curl -X DELETE "https://app.eventwillow.com/api/schedules/my-venue/groups/def456" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": {
            "message": "Sub-schedule deleted successfully"
        }
    }

List Events #

GET /api/events

Returns a paginated list of events on channels where you are the owner or an admin, newest start date first. Appointment bookings are not returned here; they are not calendar events.

Drafts, internal and unlisted events are all included, so check is_draft, is_internal and is_private before republishing a row on a public site.

ParameterDescription
subdomainFilter events by channel subdomain
starts_afterEvents starting on or after this UTC date (Y-m-d)
starts_beforeEvents starting on or before this UTC date (Y-m-d)
venue_idFilter by venue (encoded venue channel ID)
category_idFilter by category ID (integer, see List Categories)
nameFilter by event name (partial match)
schedule_typeFilter by type: single or recurring
tickets_enabledFilter by whether tickets are enabled (boolean)
rsvp_enabledFilter by whether RSVP/registration is enabled (boolean)
group_idFilter by sub-channel (encoded sub-channel ID)

All times are UTC

The API reads and writes starts_at in UTC, in Y-m-d H:i:s format with no offset suffix. The channel’s own timezone only controls how that instant is displayed on the guest page, so convert on your side before filtering or creating.

cURL

curl -X GET "https://app.eventwillow.com/api/events?subdomain=my-venue&starts_after=2025-01-01" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": [
            {
                "id": "evt123",
                "name": "Jazz Night",
                "starts_at": "2025-03-15 20:00:00",
                "duration": 3,
                "tickets_enabled": true,
                "rsvp_enabled": false,
                ...
            }
        ],
        "meta": { "current_page": 1, "total": 25 }
    }

Show Event #

GET /api/events/{id}

Returns a single event by its encoded ID, including its ticket types, add-ons, members, agenda parts, venue, recurring configuration and visibility flags. Requires owner or admin access on one of the event’s channels,.

cURL

curl -X GET "https://app.eventwillow.com/api/events/evt123" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": {
            "id": "evt123",
            "name": "Jazz Night",
            "starts_at": "2025-03-15 20:00:00",
            "duration": 3,
            "tickets": [
                { "id": "tkt1", "type": "General", "price": 25, "quantity": 100 }
            ],
            "event_parts": [
                { "name": "Opening Act", "start_time": "20:00" }
            ],
            ...
        }
    }

Create Event #

POST /api/events/{subdomain}

Create an event on the channel identified by {subdomain}. Requires owner or admin access on that channel. This endpoint carries its own throttle of 30 requests per minute in addition to the write bucket.

Core fields #

ParameterRequiredDescription
nameYesEvent name (max 255 characters)
starts_atYesStart date and time in UTC, formatted Y-m-d H:i:s
durationNoLength in hours, 0 to 8760. Decimals are allowed, so 1.5 is 90 minutes. There is no separate end-time field.
descriptionNoFull description, Markdown supported (max 10,000 characters)
short_descriptionNoShort description used in listings and previews (max 500 characters)
event_urlNoA single URL for an online event or an external event page (max 255 characters)
registration_urlNoExternal registration URL, used instead of on-platform tickets (max 2048 characters)
category_idNoCategory ID, which must be in this channel’s effective category list (see List Categories)
categoryNoCategory name, matched case- and punctuation-insensitively against the same list. Ignored when category_id is present; an unmatched name returns 422 Category not found.
scheduleNoSub-channel slug to file the event under. An unknown slug returns 422 Sub-schedule not found.

Visibility #

When you omit visibility flags, the event inherits the channel’s default for new events. Set the appropriate flags explicitly when an integration needs to control whether an event is Draft, Unlisted or Internal.

The draft default is applied even to a partial request that omits is_draft, so on a drafts-by-default channel you must send is_draft: false to publish straight away.

ParameterRequiredDescription
is_draftNoDraft: visible to your team in the admin panel, hidden from the public page (boolean)
is_privateNoUnlisted: kept off the calendar but reachable by direct link (boolean).
is_internalNoInternal: never public, and mutually exclusive with Unlisted (boolean).
event_passwordNoPassword prompt on the event page. Only applies to an Unlisted event, and is discarded otherwise.

Recurrence #

ParameterRequiredDescription
schedule_typeNosingle (default) or recurring
recurring_frequencyWith recurringdaily, weekly, every_n_weeks, monthly_date, monthly_weekday, or yearly
days_of_weekWith weeklySeven characters of 0 or 1, Sunday to Saturday. "0101010" is Monday, Wednesday and Friday. Required for weekly and every_n_weeks.
recurring_intervalNoWeek gap for every_n_weeks (integer, minimum 2)
recurring_end_typeNonever, on_date, or after_events
recurring_end_valueNoEnd date (Y-m-d) for on_date, or the number of occurrences for after_events

Tickets, RSVP and add-ons #

ParameterRequiredDescription
rsvp_enabledNoEnable free registration, which collects a name and email without a payment step (boolean)
rsvp_limitNoCap on registrations per date (integer, minimum 1)
tickets_enabledNoEnable ticketing (boolean)
ticket_currency_codeNoThree-letter ISO currency code, for example USD. Once the event has taken money, Update Event refuses to change it with a 422, because past sales and any later refund are denominated in it.
payment_methodNocash, stripe, paypal, invoiceninja, payment_url or payfast. manual is accepted as an alias for cash. The method must be connected on the account; payfast only settles events priced in ZAR, and paypal only the currencies listed under Connecting PayPal – PayPal’s own list minus the Hungarian forint, Japanese yen and New Taiwan dollar. On create, omitting this field uses the installation’s DEFAULT_PAYMENT_METHOD if one is set and is usable for the event’s currency, falling back to cash; send null to mean cash explicitly. On update, omitting it leaves the stored value alone
payment_instructionsNoInstructions shown for manual payment (max 5000 characters)
ticketsNoArray of ticket types. Each takes type (required), quantity, price, description, sales_start_at and sales_end_at. A quantity of 0 means unlimited.
addonsNoArray of paid extras sold alongside a ticket, such as parking or merchandise. Each takes type (required), quantity, price, description and url. Only saved when tickets_enabled is true.

Agenda, venue and performers #

ParameterRequiredDescription
event_partsNoAgenda segments within the event. Each takes name (required), description, start_time and end_time.
venue_idNoEncoded ID of an existing venue channel
venue_nameNoVenue name. Must be sent together with venue_address1.
venue_address1NoVenue street address. The pair is looked up against venue channels you own or follow; no match returns 422 Venue not found rather than creating one.
membersNoPerformers, given as objects with name and/or email. Each is matched to an existing talent channel you own or follow; no match returns 422 Talent member not found.

The channel’s own type is applied for you

Creating on a venue channel sets that venue on the event, creating on a talent channel adds it as a member, and creating on a curator channel lists the event as curated. You do not need to send venue_id or members for the channel you are posting to.

cURL

curl -X POST "https://app.eventwillow.com/api/events/my-venue" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{
             "name": "Jazz Night",
             "starts_at": "2026-10-13 20:00:00",
             "duration": 3,
             "description": "A wonderful evening of jazz music.",
             "tickets_enabled": true,
             "tickets": [
                 {"type": "General Admission", "price": 25, "quantity": 100},
                 {"type": "VIP", "price": 50, "quantity": 20}
             ],
             "event_parts": [
                 {"name": "Opening Act", "start_time": "20:00", "end_time": "20:45"},
                 {"name": "Main Performance", "start_time": "21:00", "end_time": "23:00"}
             ]
         }'

Update Event #

PUT /api/events/{id}

Update an event by its encoded ID. Takes the same parameters as Create Event, and supports partial updates: send only the fields you want to change. Requires owner or admin access on one of the event’s channels.

Omitting a collection leaves it alone. The start time, recurring configuration, ticket types, add-ons and agenda parts are all carried over from the stored event when the request does not mention them.

A collection you do send replaces the whole list

Sending tickets, addons or event_parts replaces that whole list: any row you leave out is retired. To change one ticket type, send the full set with your edit applied. Sending tickets_enabled: false retires every ticket type on the event.

cURL

curl -X PUT "https://app.eventwillow.com/api/events/evt123" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{"name": "Updated Jazz Night", "duration": 4}'

Delete Event #

DELETE /api/events/{id}

Permanently delete an event. Requires owner or admin access on one of its channels. There is no undo, so hide the event with is_draft instead if you may want it back.

Deleting also removes the synced copy from any connected Google Calendar, Outlook calendar and CalDAV calendar, cancels any running boost campaign, and deletes its sponsor logo files. Unless the event was a draft, an event.deleted webhook is sent with the event’s final state.

cURL

curl -X DELETE "https://app.eventwillow.com/api/events/evt123" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": {
            "message": "Event deleted successfully"
        }
    }

Upload Flyer #

POST /api/events/flyer/{event_id}

Set the flyer image for an event. Send it as multipart/form-data in a flyer_image field, not as JSON. Requires owner or admin access on one of the event’s channels.

ConstraintValue
Formatsjpg, jpeg, png, gif, webp
Maximum size10 MB
Existing flyerReplaced, and the old file is deleted from storage

The response is the full event record, so you can read the new flyer_image_url straight back from data. There is no endpoint for removing a flyer.

cURL

curl -X POST "https://app.eventwillow.com/api/events/flyer/evt123" \
         -H "X-API-Key: your_api_key_here" \
         -F "flyer_image=@/path/to/flyer.jpg"

Response (200)

{
        "data": { ... },
        "meta": {
            "message": "Flyer uploaded successfully"
        }
    }

List Categories #

GET /api/categories

Returns the built-in event categories with their integer IDs and English names. Pass an id as category_id when creating or updating an event. The list is not paginated.

Categories for one channel #

GET /api/categories/{subdomain}

A channel can rename, hide or add categories of its own, and category_id is validated against that effective list rather than the global one. Call this variant to get the exact set a given channel will accept, and use it whenever the channel has customised its categories.

cURL

curl -X GET "https://app.eventwillow.com/api/categories" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": [
            {"id": 1, "name": "Art & Culture"},
            {"id": 2, "name": "Business Networking"},
            {"id": 3, "name": "Community"},
            {"id": 4, "name": "Concerts"},
            ...
        ]
    }

List Sales #

GET /api/sales

Returns a paginated list of sales on events you own or administer, newest order first. Deleted sales are excluded. RSVP registrations appear as zero-value paid sales.

ParameterDescription
event_idFilter by event (encoded event ID)
subdomainFilter by channel subdomain
statusFilter by status: unpaid, paid, cancelled, refunded, or expired
emailFilter by buyer email (exact match)
event_dateFilter by event date (Y-m-d)

cURL

curl -X GET "https://app.eventwillow.com/api/sales?status=paid&subdomain=my-venue" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": [
            {
                "id": "sale123",
                "event_name": "Jazz Night",
                "name": "John Doe",
                "email": "[email protected]",
                "status": "paid",
                "payment_amount": 50,
                "tickets": [
                    { "type": "General", "quantity": 2, "price": 25 }
                ],
                ...
            }
        ],
        "meta": { "current_page": 1, "total": 12 }
    }

Show Sale #

GET /api/sales/{id}

Returns a single sale by its encoded ID, including a row per ticket type and add-on with ticket_id, type, quantity, price and the is_addon and is_pass flags. On an event with allocated seating each row also carries seats, the labels of the seats the sale holds. The sale’s secret, the token that opens the buyer’s ticket page and QR code, is included only when the key belongs to the account that created the event or placed the sale. Requires owner or admin access on the event’s channel.

An order bought for several named guests is stored as one row per guest, all sharing a group_id. The row with is_primary set to true holds the totals for the whole order; the other rows report zero so you do not double-count when you add them up. Every row in a group belongs to the same event.

A purchase that covered several events shares an order_id instead, one row per event, with is_order_primary on the anchoring row. The two nest: a leg of an order can itself be split across named guests, so a row may carry both.

payment_amount is what the buyer agreed to pay, not what has been collected. The two differ for a sale bought on an installment plan: the sale reads paid with the full total from the first payment onwards, because the ticket is issued then, while the rest arrives over the following months. Reconcile against Stripe rather than against this field if you are counting money in the bank.

cURL

curl -X GET "https://app.eventwillow.com/api/sales/sale123" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": {
            "id": "sale123",
            "event_id": "evt123",
            "event_name": "Jazz Night",
            "name": "John Doe",
            "email": "[email protected]",
            "status": "paid",
            "payment_amount": 50,
            "total_quantity": 2,
            "tickets": [
                { "type": "General", "quantity": 2, "price": 25 }
            ]
        }
    }

Create Sale #

POST /api/sales

Record a sale against an event, for example when someone paid at the door or through a payment method outside EventWillow. The event must have ticketing enabled and still be selling. Each ticket is checked individually, as it is during guest checkout.

ParameterRequiredDescription
event_idYesEncoded event ID
nameYesBuyer name (max 255 characters)
emailYesBuyer email (max 255 characters)
ticketsYesObject mapping ticket identifiers to quantities, each 1 or more. A key may be an encoded ticket ID or a ticket type name.
addonsNoObject mapping encoded add-on IDs to quantities
event_dateNoWhich date of the event the sale is for (Y-m-d). Defaults to the event’s start date, and is required for a recurring event.

What happens on success #

  • The sale is created as unpaid. You cannot set the status from the request; use Update Sale Status once you have the money.
  • A sale whose total comes to zero is marked paid immediately.
  • Any volume discount configured on the ticket type is applied to the total.
  • On an event with allocated seating, the best available seats are assigned, since this path has no seat picker.
  • A sale.created webhook fires, plus sale.paid for a zero-total sale.

Inventory is checked under a lock, so you cannot oversell through this endpoint. Common 422 replies are a past event or occurrence, a ticket whose sales window has not opened or has closed, and a quantity larger than the remaining stock, which reports how many are left.

cURL

curl -X POST "https://app.eventwillow.com/api/sales" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{
             "event_id": "evt123",
             "name": "John Doe",
             "email": "[email protected]",
             "tickets": {"General Admission": 2}
         }'

Update Sale Status #

PUT /api/sales/{id}

Move a sale to a new status by sending an action. Requires owner or admin access on the event’s channel. Which actions are available depends on where the sale is now; an action the current status does not allow returns a 422 naming both. refund asks one thing more, because the money leaves the event creator’s account: the channel you act through must have created the event or accepted its place on it, or the reply is 403.

ActionFrom StatusTo StatusWebhook
mark_paidunpaidpaidsale.paid
refundpaidrefundedsale.refunded
refund with amountpaidpaidnone
cancelunpaid, paidcancelledsale.cancelled

refund moves money on Stripe and PayPal

For a Stripe or PayPal sale, refund sends the money back through the provider and then updates the status. Send an optional amount to return part of it; omit it and the whole remaining balance goes back. A partial refund leaves the sale paid, fires no webhook, and returns 200 with the message Partial refund sent.

Every other method – Invoice Ninja, Payfast, a payment link, cash, or a sale marked paid by hand – only records the refund and backs the amount out of your revenue figures, and it ignores amount: the whole sale is recorded as refunded. Issue the money in your payment provider, then call this to keep the two in step.

It does not work the other way round. A refund issued from the Stripe or PayPal dashboard is not reported back to EventWillow, so the sale stays paid and its tickets keep scanning. Refund through this endpoint or the Sales page instead.

A refund the gateway refuses returns 422 and leaves the sale paid. A refund whose outcome could not be confirmed returns 409: nothing is retried automatically, because retrying a refund that may already have gone through is how one refund becomes two. Check it against your provider before acting.

Send an idempotency_key of your own, up to 64 letters, digits, _, ., : or -, to make retrying safe. A repeat carrying the same key returns the first attempt’s outcome instead of issuing a second refund, and a repeat sent while the first is still running returns 409. Without a key, a retried request is a second refund.

A payment plan is refunded in full only: sending amount for one returns 422. Each collected payment goes back separately, and an attempt that stops partway can be repeated to return the rest.

Cancelling or fully refunding releases the seats back into stock and notifies anyone on the waitlist for that date; a partial refund does neither. A named guest’s row inside a group_id returns 403: act on the group’s primary row (is_primary), which carries the change to every guest. On a multi-event order the row with is_order_primary carries it to every leg, while acting on any other leg changes only that leg and its own guests.

cURL

curl -X PUT "https://app.eventwillow.com/api/sales/sale123" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{"action": "mark_paid"}'

Partial refund

curl -X PUT "https://app.eventwillow.com/api/sales/sale123" \
         -H "X-API-Key: your_api_key_here" \
         -H "Content-Type: application/json" \
         -d '{"action": "refund", "amount": 10, "idempotency_key": "sale123-refund-1"}'

Delete Sale #

DELETE /api/sales/{id}

Remove a sale from your records. It is cancelled first, so its seats return to stock, and then flagged as deleted: it stops appearing in List Sales and in the admin panel, and Show Sale returns 404 for it. Requires owner or admin access on the event’s channel.

Deleting the row with is_order_primary deletes the whole multi-event order, and deleting a group’s primary row deletes its guests with it. A named guest’s row returns 403.

cURL

curl -X DELETE "https://app.eventwillow.com/api/sales/sale123" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": {
            "message": "Sale deleted successfully"
        }
    }

List Feedback #

GET /api/feedback

Returns a paginated list of post-event feedback, meaning the star ratings and comments attendees leave after an event, for channels you own or administer. Newest first. Read only: there is no endpoint for creating or deleting feedback.

Only feedback attached to a paid, undeleted sale is returned. A cancelled or refunded order’s rating is not returned.

ParameterDescription
event_idFilter by event (encoded event ID)
subdomainFilter by channel subdomain
event_dateFilter by the date of the event attended (Y-m-d)
min_ratingOnly return ratings of at least this value (1-5)
fromOnly feedback submitted on or after this date (Y-m-d)
toOnly feedback submitted on or before this date (Y-m-d)

Rows carry attendee contact details

Each record includes attendee_name and attendee_email. Strip both before you render feedback on a public page.

cURL

curl -X GET "https://app.eventwillow.com/api/feedback?min_rating=4&subdomain=my-venue" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": [
            {
                "id": "fb123",
                "event_id": "ev456",
                "event_name": "Jazz Night",
                "event_date": "2026-07-10",
                "rating": 5,
                "comment": "Best night out all year",
                "attendee_name": "Alex Attendee",
                "attendee_email": "[email protected]",
                "created_at": "2026-07-11T09:12:00+00:00"
            }
        ],
        "meta": { "current_page": 1, "total": 8 }
    }

List Fan Content #

GET /api/fan-content

Returns fan comments, photos and videos submitted on events for channels you own or administer, all three kinds merged into one feed, newest first. Approved items only by default, which is what you want when displaying them on an external site. Submitter email addresses are never included. Read only: approve and reject submissions in the admin panel.

Each kind of submission has its own id sequence, so an id is only unique within a type. Key on the two together when storing rows from this feed.

ParameterDescription
typeLimit to one kind: comment, photo, or video
event_idFilter by event (encoded event ID)
subdomainFilter by channel subdomain
event_dateFilter by event date (Y-m-d)
is_approvedDefaults to true. Pass 0 to read the pending moderation queue instead

cURL

curl -X GET "https://app.eventwillow.com/api/fan-content?type=photo&subdomain=my-venue" \
         -H "X-API-Key: your_api_key_here"

Response (200)

{
        "data": [
            {
                "id": "ph123",
                "type": "photo",
                "event_id": "ev456",
                "event_name": "Jazz Night",
                "event_date": "2026-07-10",
                "submitted_by": "Dana Guest",
                "is_guest_submission": true,
                "is_approved": true,
                "photo_url": "https://.../crowd.jpg",
                "created_at": "2026-07-11T09:12:00+00:00"
            }
        ],
        "meta": { "current_page": 1, "total": 24 }
    }

Error Handling #

The API uses standard HTTP status codes and always returns the reason as a JSON error string.

CodeWhen you see it
200Success
201Created, returned by Register, Create Channel, Create Sub-Channel, Create Event and Create Sale
401API key missing, invalid, or past its one-year expiry. Also a wrong email or password on Login.
403You do not own or administer the record, the requested feature is unavailable, the sale is a named guest row rather than the group’s primary row, or the account uses two-factor authentication.
404Not found, or found but outside the channels your key can reach
409Login when the account already has an unexpired API key, or a refund whose outcome could not be confirmed or is still in progress
422Validation error, with field-level detail in errors. Also business refusals such as an unmatched venue, a sold-out ticket or a past event.
423The API key is blocked for 15 minutes after 10 consecutive failed attempts
429Rate limit exceeded, see Rate Limits
500Server error. Retry with backoff; the failure is logged on our side.

A 422 covers two different things. A schema problem carries an errors object and is worth surfacing field by field; a business refusal carries only error and reads as a sentence. Check for errors before assuming its shape.

Validation Error (422)

{
        "error": "Validation failed",
        "errors": {
            "name": ["The name field is required."],
            "starts_at": ["The starts at must match the format Y-m-d H:i:s."]
        }
    }

See Also #

  • OpenAPI Specification – Machine-readable spec for AI agents and code generators
  • agents.json – Named multi-step flows, such as register then create a channel then add an event
  • Webhooks – Get pushed the sale and event changes instead of polling for them
  • Account Settings – Turn on API access and manage your key
  • Creating Events – What each event field means in the admin panel
  • Selling Tickets – Ticket types, sales and check-in

Adapted from the original Event Schedule documentation by Hillel Coren. Technical examples retain upstream protocol names.