{"openapi":"3.1.0","info":{"title":"Programmable Talk API","version":"1.0.0","description":"For hosts automating their events. Responses wrap their result in `data`, or answer `{ \"ok\": true }`. Errors are `{ error, code? }`. Each key may make 600 reads and 120 other requests a minute (429 with Retry-After past that). POSTs that make or send something take an Idempotency-Key header. Reference: /docs/api."},"servers":[{"url":"https://programmable.talk"}],"security":[{"apiKey":[]}],"tags":[{"name":"Events"},{"name":"Registrants"},{"name":"Invitations"},{"name":"Campaign"},{"name":"Entry points"},{"name":"Program"},{"name":"Site"},{"name":"Library"},{"name":"Live"},{"name":"Tournaments"},{"name":"Research"},{"name":"After the event"},{"name":"Series"},{"name":"Templates"},{"name":"Links"},{"name":"Images"},{"name":"Public"},{"name":"Webhooks"}],"paths":{"/api/events":{"get":{"operationId":"listEvents","summary":"Every event on the account, latest first","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"read","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/EventListItem"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createEvent","summary":"Create an event","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventInput"}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Event"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Going live past the plan's live-event limit, or after the trial ended without a plan (code: upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The address is taken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}":{"get":{"operationId":"getEvent","summary":"One event","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Event"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateEvent","summary":"Change an event (send only what changes)","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPatch"}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Event"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"Going live past the plan's live-event limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteEvent","summary":"Delete an event and its registrations","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/duplicate":{"post":{"operationId":"duplicateEvent","summary":"The next session: a draft copy a week later, or at starts_at; or several at once on a pattern","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"starts_at":{"type":["string","null"],"format":"date-time"},"pattern":{"type":"string","enum":["weekly","biweekly","monthly_date","monthly_weekday"]},"count":{"type":"integer","minimum":1,"maximum":26}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Event"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/sync":{"post":{"operationId":"syncEvent","summary":"Update registrants here from the event's home and published copies now: sign-ups, attendance and cancellations","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"attended":{"type":"integer"},"cancelled":{"type":"integer"},"noShow":{"type":"integer"},"added":{"type":"integer"},"withoutEmail":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Nothing to read back, or the home's sync failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/publish":{"post":{"operationId":"publishEvent","summary":"Publish the event to Luma, Zoom, Eventbrite or Meetup, or send it the changes","description":"Uses the account's connection for that platform. The first platform an event is published to becomes its home when it has none. With more than one Eventbrite account connected, eventbrite_account_id says which to publish with (an account's id, or \"main\"); left out, the event keeps the one it has. It can't change once the event is on Eventbrite (409).","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"platform":{"type":"string","enum":["luma","zoom","eventbrite","meetup"]},"eventbrite_account_id":{"type":"string","description":"Eventbrite only: one of the account's other Eventbrite accounts (its id), or \"main\""}},"required":["platform"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Publication"}},"required":["data"]}}}},"400":{"description":"A draft, no start time, an event that's over, or the platform refused","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Already linked to an event on that platform","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"cancelPublication","summary":"Cancel the event's copy on one platform, where its API allows","description":"Answers 200 with done false when it has to be done on the platform by hand; note says how. Luma's API has no cancel, and Eventbrite refuses once there are orders.","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"platform","in":"query","required":true,"schema":{"type":"string","enum":["luma","zoom","eventbrite","meetup"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CancelOutcome"}},"required":["data"]}}}},"400":{"description":"Which platform?","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event, or it isn't on that platform","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/cancel":{"get":{"operationId":"cancelPreview","summary":"How many people a cancellation would tell now","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"told":{"type":"integer"},"cancelled_at":{"type":["string","null"],"format":"date-time"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"cancelEvent","summary":"Cancel the event: it closes, its planned campaign steps stop, and everyone with a place or on the waitlist is told","description":"The event and its registrants stay. With there, its copies on other platforms are cancelled too, where their APIs allow.","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"type":["string","null"],"maxLength":2000},"there":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"told":{"type":"integer"},"elsewhere":{"type":"array","items":{"$ref":"#/components/schemas/CancelOutcome"}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"It's already cancelled","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/auto-publish":{"post":{"operationId":"setEventAutoPublish","summary":"Turn the account's automatic publishing off for this event, or back on","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"on":{"type":"boolean"}},"required":["on"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"on":{"type":"boolean"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/automation":{"patch":{"operationId":"setEventAutomation","summary":"What the event does on its own: the follow-up, and emails to the host","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"auto_followup_hours":{"type":["integer","null"],"minimum":1,"maximum":720,"description":"Send the follow-up this many hours after it ends; null: the host sends it"},"host_notify":{"type":"string","enum":["off","each","daily"]},"followup_dismissed":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"400":{"description":"Nothing to change","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/campaign":{"get":{"operationId":"listCampaignSteps","summary":"The event's campaign: steps that run around it, soonest first","description":"With ?suggest=1, also `suggestions` (steps suggested from the event's date, places, registrations, speakers and the rest, by plain rules, each with a one-line `reason`; add them by POSTing their `step`s) and `notes`.","tags":["Campaign"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"suggest","in":"query","required":false,"schema":{"type":"string","enum":["1"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CampaignStep"}},"suggestions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"step":{"type":"object","properties":{"anchor":{"type":"string","enum":["start","end","quiet"],"description":"start: from when it starts (negative is before); end: from when it ends; quiet: from when the step was made, if nobody has registered by then"},"offset_min":{"type":"integer","minimum":-129600,"maximum":129600,"description":"Minutes from the anchor; quiet needs at least 60"},"action":{"type":"string","enum":["write_post","note","publish","send_followup","export_to","close"]},"args":{"type":"object","properties":{"filter":{"oneOf":[{"$ref":"#/components/schemas/AudienceFilter"},{"type":"string","maxLength":8000,"description":"The same object as a JSON string, as steps keep it; \"\" for none"}]}},"additionalProperties":{"type":"string"},"description":"write_post: kind. note: to, body, subject, subject_b, format (\"simple\", the default, or \"html\"), html (pasted HTML, up to 100,000 characters, used when format is \"html\"; cleaned on the server to a strict allowlist: no scripts, no outside images, https and mailto links only), filter (narrows the group: AudienceFilter; steps answer it as a JSON string; none is the whole group). publish: platform (luma, zoom or eventbrite). send_followup: to. export_to: destination, to."},"approval":{"type":"string","enum":["hold","auto"],"description":"hold waits for the host. Defaults to auto for write_post, hold for anything else."}},"required":["anchor","offset_min","action"]},"reason":{"type":"string"}}}},"notes":{"type":"array","items":{"type":"string"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addCampaignSteps","summary":"Add steps, as objects, as short codes, or the usual ones for the tools connected","description":"Nothing runs here: steps run when their time comes. A code is `<when>:<what>[:<detail>][:auto|:hold]`, like -7d:post:preview or +1d:followup. Up to 30 steps per event.","tags":["Campaign"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"object","properties":{"anchor":{"type":"string","enum":["start","end","quiet"],"description":"start: from when it starts (negative is before); end: from when it ends; quiet: from when the step was made, if nobody has registered by then"},"offset_min":{"type":"integer","minimum":-129600,"maximum":129600,"description":"Minutes from the anchor; quiet needs at least 60"},"action":{"type":"string","enum":["write_post","note","publish","send_followup","export_to","close"]},"args":{"type":"object","properties":{"filter":{"oneOf":[{"$ref":"#/components/schemas/AudienceFilter"},{"type":"string","maxLength":8000,"description":"The same object as a JSON string, as steps keep it; \"\" for none"}]}},"additionalProperties":{"type":"string"},"description":"write_post: kind. note: to, body, subject, subject_b, format (\"simple\", the default, or \"html\"), html (pasted HTML, up to 100,000 characters, used when format is \"html\"; cleaned on the server to a strict allowlist: no scripts, no outside images, https and mailto links only), filter (narrows the group: AudienceFilter; steps answer it as a JSON string; none is the whole group). publish: platform (luma, zoom or eventbrite). send_followup: to. export_to: destination, to."},"approval":{"type":"string","enum":["hold","auto"],"description":"hold waits for the host. Defaults to auto for write_post, hold for anything else."}},"required":["anchor","offset_min","action"]},"maxItems":30},"codes":{"type":"array","items":{"type":"string","maxLength":4200},"maxItems":30},"usual":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CampaignStep"}}},"required":["data"]}}}},"400":{"description":"A step that doesn't read, or none to add","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"More than 30 steps","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/campaign/{sid}":{"patch":{"operationId":"updateCampaignStep","summary":"Change a step: whether it waits, on or off, when it happens and what it says","tags":["Campaign"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"approval":{"type":"string","enum":["hold","auto"]},"on":{"type":"boolean"},"anchor":{"type":"string","enum":["start","end","quiet"]},"offset_min":{"type":"integer"},"args":{"type":"object","properties":{"filter":{"oneOf":[{"$ref":"#/components/schemas/AudienceFilter"},{"type":"string","maxLength":8000}]}},"additionalProperties":{"type":"string","maxLength":100000},"description":"Values up to 4,000 characters, but html (an email step's pasted HTML) up to 100,000, and filter (an email step's AudienceFilter, or it as a JSON string; \"\" clears it)"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CampaignStep"}},"required":["data"]}}}},"400":{"description":"The changed step doesn't read","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such step","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"It has already run","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"runCampaignStep","summary":"Run a step now, or with ?test=1 send an email step to the account's own address","tags":["Campaign"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"},{"name":"test","in":"query","required":false,"schema":{"type":"string","enum":["1"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CampaignStep"}},"required":["data"]},{"type":"object","properties":{"ok":{"type":"boolean"},"to":{"type":"string"}},"required":["ok","to"]}]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such step","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"It's running already or has gone, or the test was for a step that isn't an email","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteCampaignStep","summary":"Remove a step","tags":["Campaign"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such step, or it's running","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/campaign/audience":{"get":{"operationId":"countCampaignAudience","summary":"How many an email step would reach: its group, narrowed by a filter, less who unsubscribed","description":"Counts only, never who. With step, leaves out who that step has reached already. The filter is checked against the event's form and ways in; what doesn't fit comes back in problems.","tags":["Campaign"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"to","in":"query","required":false,"schema":{"type":"string","enum":["registered","attended","missed","waitlisted","pending"]}},{"name":"filter","in":"query","required":false,"schema":{"type":"string","maxLength":8000},"description":"An AudienceFilter as JSON"},{"name":"step","in":"query","required":false,"schema":{"type":"string","format":"uuid"},"description":"An email step's id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AudienceCount"}},"required":["data"]}}}},"400":{"description":"The group or the filter doesn't read","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/community":{"post":{"operationId":"createEventCommunity","summary":"Make a programmable.community space for the event","description":"On the host's own community account (the `community` connection). The join link becomes the event's `community_url`, used in the follow-up and on each registrant's page. Only what's on the public page is sent. A few times an hour per event.","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"community":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string","format":"uri"},"manage_url":{"type":"string","format":"uri"},"join_url":{"type":"string","format":"uri"},"created":{"type":"boolean","description":"False when the event already had one, which is returned"}}},"series_id":{"type":["string","null"]}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not connected, or the community is still being made","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many tries this hour; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/followup":{"get":{"operationId":"followupPreview","summary":"Who would get each follow-up, and a text preview","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"counts":{"type":"object","properties":{"attended":{"type":"integer"},"missed":{"type":"integer"},"unmarked":{"type":"integer"},"attendance_known":{"type":"boolean"}}},"preview":{"type":"object","properties":{"attended":{"type":"string"},"missed":{"type":"string"}}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"sendFollowup","summary":"Send the follow-up email","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"audience":{"type":"string","enum":["attended","missed"]},"include_unmarked":{"type":"boolean","default":false}},"required":["audience"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"queued":{"type":"integer","description":"Put on the list to send; they go out over the next few minutes"},"total":{"type":"integer"}}}},"required":["data"]}}}},"400":{"description":"Nothing to follow up with yet (recording, note, next date, review or booking link)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"include_unmarked before attendance is recorded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/notes":{"get":{"operationId":"listNotes","summary":"Personal follow-up notes, for everyone with a website review or a note","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"registrant_id":{"type":"string","format":"uuid"},"name":{"type":["string","null"]},"email":{"type":"string"},"status":{"type":"string"},"domain":{"type":["string","null"]},"note":{"type":["string","null"]}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"setNote","summary":"Set one registrant's personal note (null clears it)","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"registrant_id":{"type":"string","format":"uuid"},"note":{"type":["string","null"],"maxLength":1500}},"required":["registrant_id","note"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such registrant on this event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/registrants":{"get":{"operationId":"listRegistrants","summary":"Everyone registered, newest first","description":"Whole, as { data }. With since, cursor or limit: one page, as { data, next_cursor } (rows also carry source and company).","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Only registrations made at or after this time (ISO 8601)."},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"next_cursor from the previous page, exactly as it came."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Rows per page."},{"name":"changed","in":"query","required":false,"schema":{"type":"string","enum":["1","true"]},"description":"Order by the last change instead (updated_at, newest first), for \"updated registrant\" triggers: a cancellation, approval or check-in moves a row to the top. Dedupe by id and updated_at together. Its next_cursor works only with changed."},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Changed mode (implies changed=1): only rows changed at or after this time (ISO 8601)."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Registrant"}}},"required":["data"]},{"$ref":"#/components/schemas/RegistrantPage"}]}}}},"400":{"description":"A bad since, cursor or limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addRegistrant","summary":"Add one person by hand (no approval needed; the waitlist when full)","description":"Emails them a confirmation only with confirm. Their personal page link is never returned: it goes to their inbox.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","maxLength":320},"name":{"type":"string","maxLength":200},"company":{"type":"string","maxLength":200},"confirm":{"type":"boolean","default":false}},"required":["email"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"created":{"type":"boolean"},"emailed":{"type":"boolean","description":"Whether the confirmation went. False past the limits: 3 a day to one address from your account, and a daily allowance per account"},"note":{"type":"string","description":"Why it wasn't emailed, when you asked for it"}}}},"required":["data"]}}}},"400":{"description":"Not an email address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/registrants/bulk":{"post":{"operationId":"bulkRegistrantAction","summary":"One action on several registrants; each only touches the people it applies to","description":"approve, decline, let_in and cancel go one person at a time, each with the email they would get singly (up to 500); the others take up to 5,000.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["attended","no_show","registered","retry_push","retry_research","approve","decline","let_in","cancel"]},"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":5000}},"required":["action","ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"changed":{"type":"integer"},"skipped":{"type":"integer"},"failed":{"type":"integer","description":"Only for approve, decline, let_in and cancel"}},"required":["changed","skipped"]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"More than 500 for an action that emails","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/registrants/email":{"post":{"operationId":"emailRegistrants","summary":"Email chosen registrants now, with an unsubscribe link, opt-outs and once per person","description":"With test, it goes to the account's own address and nobody else.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":5000},"subject":{"type":"string","maxLength":150},"body":{"type":"string","minLength":5,"maxLength":4000,"description":"Needed unless format is html"},"format":{"type":"string","enum":["simple","html"],"default":"simple"},"html":{"type":"string","maxLength":100000,"description":"Pasted HTML, when format is html: cleaned on the server to a strict allowlist (no scripts, no outside images, https and mailto links only)"},"test":{"type":"boolean","default":false},"copy_to":{"type":"string","maxLength":1000,"description":"Up to 5 addresses (commas, semicolons or spaces between them) that each get one copy of what everyone got once it's sent, without anyone's own page or unsubscribe link"}},"required":["ids"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"result":{"type":["string","null"]},"copied":{"type":"integer"}}}},"required":["data"]},{"type":"object","properties":{"ok":{"const":true},"to":{"type":"string"}},"required":["ok","to"]}]}}}},"400":{"description":"A copy_to entry isn't an address, or more than 5","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"No address to send the test to","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"It wasn't sent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/import":{"post":{"operationId":"importRegistrants","summary":"Bring in people from a list; they go through the same registration as everyone else","description":"No approval and no capacity check. Nobody is emailed unless confirm. Up to 5,000 at a time.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"people":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string","maxLength":320},"name":{"type":"string","maxLength":200},"company":{"type":"string","maxLength":200},"attended":{"type":"boolean"},"answers":{"type":"object","properties":{},"additionalProperties":{"type":"string","maxLength":2000}}},"required":["email"]},"minItems":1,"maxItems":5000},"confirm":{"type":"boolean","default":false}},"required":["people"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"added":{"type":"integer"},"updated":{"type":"integer"},"came":{"type":"integer"},"skipped":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"The first addresses that couldn't be read"},"skippedCount":{"type":"integer"},"notEmailed":{"type":"integer","description":"With confirm: registered without the email, past the limits (3 a day to one address from your account, and a daily allowance per account)"},"note":{"type":"string"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/export-to/{destination}":{"post":{"operationId":"exportToTool","summary":"Send this event's people to one of the account's connected tools","description":"Only this event's registrants, cancelled places never. The answer counts what went, never who. webhook goes to one of the account's webhook addresses (target_id; the newest without one). A large Mailchimp send runs as a batch: running is true and the counts come later.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"destination","in":"path","required":true,"schema":{"type":"string","enum":["hubspot","mailchimp","social","webhook","sheets","salesforce","marketo"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"audience":{"type":"string","enum":["all","attended","no_show"],"default":"all"},"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":2000},"list_id":{"type":"string","maxLength":20,"pattern":"^\\d*$","description":"HubSpot: a static list"},"new_status":{"type":"string","enum":["transactional","pending","subscribed"],"description":"Mailchimp: how someone new joins the audience"},"target_id":{"type":"string","format":"uuid"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ExportResult"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event, destination or webhook address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That tool isn't connected, no webhook address yet, or a Mailchimp send is still running","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 20 sends an hour per event and tool; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The tool refused or didn't answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/checkin":{"get":{"operationId":"doorList","summary":"The door list: everyone with a place, who's in, and who's waiting","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DoorPerson"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"checkIn","summary":"Check someone in: a scanned ticket, someone on the list, a walk-in, or someone waiting let in","description":"A walk-in is registered with no confirmation and checked in. already is when they came in, if they already had. Send key to make a retry safe: the same key again does nothing more and answers what the first did (503 while the first is still running).","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","maxLength":400,"description":"The ticket's code"},"key":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,64}$","description":"Idempotency key: the same key is done once"},"age_ms":{"type":"integer","minimum":0,"description":"It happened this long ago (up to 12 hours is kept as its time)"}},"required":["code"]},{"type":"object","properties":{"registrant_id":{"type":"string","format":"uuid"},"key":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,64}$","description":"Idempotency key: the same key is done once"},"age_ms":{"type":"integer","minimum":0,"description":"It happened this long ago (up to 12 hours is kept as its time)"}},"required":["registrant_id"]},{"type":"object","properties":{"walk_in":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"email":{"type":"string","maxLength":320}},"required":["name","email"]},"key":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,64}$","description":"Idempotency key: the same key is done once"},"age_ms":{"type":"integer","minimum":0,"description":"It happened this long ago (up to 12 hours is kept as its time)"}},"required":["walk_in"]},{"type":"object","properties":{"admit":{"type":"string","format":"uuid"},"key":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,64}$","description":"Idempotency key: the same key is done once"},"age_ms":{"type":"integer","minimum":0,"description":"It happened this long ago (up to 12 hours is kept as its time)"}},"required":["admit"]}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CheckIn"}},"required":["data"]}}}},"400":{"description":"Not an email address (a walk-in)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event, not one of our tickets, or a ticket for another event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"They cancelled, or are waiting and weren't let in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"undoCheckIn","summary":"Undo a check-in made by mistake","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"registrant","in":"query","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"age_ms","in":"query","required":false,"schema":{"type":"integer","minimum":0},"description":"Pressed this long ago, offline: a check-in made after that stays"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","description":"False when there was nothing to undo"}},"required":["ok"]}}}},"400":{"description":"No registrant given","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/account/registrants":{"get":{"operationId":"exportAccountRegistrants","summary":"Every registration across the account's events, as one CSV","description":"Columns: event, event_starts, email, name, company, status, channel, way_in, registered_at, hope, minutes_live, replay_views, on_demand. Up to 200,000 rows.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"read","responses":{"200":{"description":"Success","content":{"text/csv":{"schema":{"type":"string"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/registrants/{rid}":{"post":{"operationId":"registrantAction","summary":"Mark attendance, let someone in, answer a request, cancel, resend their confirmation, or retry their push, platform cancellation or research","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"rid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Registrant id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["attended","no_show","registered","let_in","cancel","approve","decline","resend","retry_push","retry_research"]}},"required":["action"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Nothing to change for this registrant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Resent too often; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"correctRegistrant","summary":"Correct a registrant's address or name; nothing else about them moves","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"rid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Registrant id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string","maxLength":320},"name":{"type":["string","null"],"maxLength":200}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That address is already on this event (code email_taken), or comes from the platform","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"eraseRegistrant","summary":"Erase a registrant and everything attached to them","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"rid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Registrant id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/export":{"get":{"operationId":"exportRegistrants","summary":"Every registrant as CSV, oldest first","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"text/csv":{"schema":{"type":"string"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"exportSelectedRegistrants","summary":"Chosen registrants as CSV","description":"A POST only to carry the ids: it changes nothing, so a read key may use it.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","format":"uuid"},"minItems":1,"maxItems":5000}},"required":["ids"]}}}},"responses":{"200":{"description":"Success","content":{"text/csv":{"schema":{"type":"string"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/attendance":{"post":{"operationId":"markAttendance","summary":"Mark attendance from any text containing email addresses","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":2000000},"rest_no_show":{"type":"boolean","default":false}},"required":["text"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"found":{"type":"integer"},"marked":{"type":"integer"},"noShow":{"type":"integer"},"unknown":{"type":"integer"}}}},"required":["data"]}}}},"400":{"description":"No addresses found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/attendance/list":{"post":{"operationId":"answerAttendanceList","summary":"Say whether the attendance list is complete: if it is, everyone else is marked no-show","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"complete":{"type":"boolean"}},"required":["complete"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"noShow":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"It hasn't ended, or nobody is marked as having come","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/ai-registrants":{"get":{"operationId":"listAiRegistrants","summary":"The event's AI registrants (agents the host sent), never in the people's lists or counts","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AiRegistrant"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addAiRegistrant","summary":"Register an AI agent at the event, marked AI: never emailed, researched or counted with the people","description":"Through the one registration path. Its name always ends in \"(AI)\" (added if missing); it has no email address. agent_source: \"media\", or \"community:<id>\" for a programmable.community AI member. The same name and source again answers the same registrant (200, created false). Up to the event's ai_attendees_max (default 10, 0 for none): 409 ai_registrants_full past it, saying the limit and where to change it.","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"agent_source":{"type":"string","maxLength":141,"pattern":"^[a-z][a-z0-9._-]{0,39}(:[A-Za-z0-9._-]{1,100})?$"},"label":{"type":"string","maxLength":80},"hope":{"type":"string","maxLength":1000}},"required":["name","agent_source"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AiRegistrant"},"created":{"type":"boolean"}}}}}},"400":{"description":"A bad name or agent_source","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Past the cap (ai_registrants_full), a tournament, or the event isn't taking registrations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/questions":{"post":{"operationId":"addHostQuestion","summary":"Add a question of the host's own to the room: marked as the host's, its votes start at 0","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"body":{"type":"string","minLength":3,"maxLength":1000}},"required":["body"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"body":{"type":"string"},"asked_by":{"type":"string","enum":["host"]},"votes":{"type":"integer"}}}},"required":["data"]}}}},"400":{"description":"Too short or too long","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/questions/{qid}":{"patch":{"operationId":"answerQuestion","summary":"Answer a registrant's question (empty clears it); the first answer is emailed to them","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"qid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Question id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"answer":{"type":"string","maxLength":4000}},"required":["answer"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites":{"get":{"operationId":"listInvites","summary":"The invitations (?format=csv for email, name, company and link)","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["csv"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Invite"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createInvites","summary":"Invite people by name; each gets a personal link, returned only here","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":200000,"description":"One person per line: email, name, company (up to 500)"},"note":{"type":"string","maxLength":600},"send":{"type":"boolean","default":false},"source":{"type":["string","null"],"maxLength":24,"description":"A way-in code to count registrations through these invitations under, instead of \"Personal invites\": one of your own links, QR codes, cards, listings or LinkedIn ways in (kind link, qr, card, listing or linkedin), not retired. Re-inviting someone with a source replaces theirs; without one, theirs is kept."}},"required":["text"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":["string","null"]},"link":{"type":"string","format":"uri"}}}},"sent":{"type":"integer"}}}}}},"400":{"description":"No addresses found, or the source is unknown, retired, or not one of your own ways in","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites/nudge":{"post":{"operationId":"nudgeInvites","summary":"One reminder for people who opened their invitation but didn't register","description":"Once per invitation, ever, and never to anyone who unsubscribed from this host.","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"sent":{"type":"integer"},"skipped":{"type":"integer"},"total":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The event isn't live, or it's over","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 3 runs an hour; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Email isn't set up on this server","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites/{iid}":{"delete":{"operationId":"revokeInvite","summary":"Revoke an invitation: its link stops working","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"iid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Invitation id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such invitation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"They've already registered with it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites/past":{"post":{"operationId":"invitePast","summary":"One invitation each to people from an earlier event or the series; nobody cancelled, unsubscribed, undeliverable, or already here","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"type":"string","description":"An event's id, or \"series\""},"who":{"type":"string","enum":["came","registered","all"]},"note":{"type":"string","maxLength":600}},"required":["source","who"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"sent":{"type":"integer"},"held":{"type":"integer"},"failed":{"type":"integer"},"left":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites/bulk":{"post":{"operationId":"inviteList","summary":"Personal links for a list (CSV of email, name, company; up to 2,000 rows), for the host's own mail tool; nothing is emailed","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","maxLength":1000000,"description":"CSV: an email column, optionally name and company"},"source":{"type":["string","null"],"maxLength":24,"description":"A way-in code to count them under"}},"required":["text"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"made":{"type":"integer"},"kept":{"type":"integer"},"skipped":{"type":"array","items":{"type":"object","properties":{"row":{"type":"integer"},"email":{"type":["string","null"]},"reason":{"type":"string","enum":["invalid_email","duplicate","opted_out"]},"message":{"type":"string"}}}},"links":{"type":"array","items":{"type":"object","properties":{"email":{"type":"string"},"name":{"type":["string","null"]},"link":{"type":"string"}}}},"csv":{"type":"string","description":"email,name,link"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 20 lists an hour, or past the day's rows; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/go-live":{"post":{"operationId":"setGoLive","summary":"When a draft goes live by itself; null clears it","tags":["Events"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"at":{"type":["string","null"],"format":"date-time"}},"required":["at"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites/personalise":{"post":{"operationId":"personaliseInvites","summary":"Personalise invitations from invitees' company websites: save each one's logo and colours (and, for evaluation workshops, ask for reviews)","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"review":{"type":"boolean","default":false}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"read":{"type":"integer"},"failed":{"type":"integer"},"reviews":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 10 runs an hour; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Website reviews aren't set up on this server","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites/playbooks":{"post":{"operationId":"invitePlaybooks","summary":"Email the invitees whose growth playbooks are ready, or who have no company to make one for (action send_ready), or update which are ready without sending (action check)","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["check","send_ready"]}},"required":["action"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"ready":{"type":"integer"},"waiting":{"type":"integer"},"no_company":{"type":"integer"},"sent":{"type":"integer"}}}},"required":["data"]}}}},"400":{"description":"The event doesn't give growth playbooks","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"send_ready on a draft","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"programmable.marketing isn't set up on this server","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/invites/{iid}/card":{"get":{"operationId":"inviteCard","summary":"One invitation's graphic (PNG)","tags":["Invitations"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"iid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Invitation id"},{"name":"f","in":"query","required":false,"schema":{"type":"string","enum":["square","wide"],"default":"square"}},{"name":"download","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success","content":{"image/png":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such invitation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/sources":{"get":{"operationId":"listSources","summary":"The event's entry points (ways in)","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Source"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createSource","summary":"Add an entry point","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":80},"kind":{"type":"string","enum":["link","qr","email","card","speaker","registrant","partner","invite","listing","linkedin"],"default":"link"},"code":{"type":"string","pattern":"^[a-z0-9]{2,24}$"},"utm":{"type":"object","properties":{},"additionalProperties":{"type":"string"}}},"required":["label"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Source"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That code is used on this event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/sources/{sid}":{"patch":{"operationId":"setSourceUtm","summary":"Set an entry point's preset UTM tags ({} clears them), or with { then_url } the https page its short email link goes on to (null clears it), or with { short } its short code (/q/<short>): 3 to 32 lowercase letters, digits and hyphens; 409 when another way in has or had it; the code it had keeps working","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"utm":{"type":"object","properties":{},"additionalProperties":{"type":"string","maxLength":200}},"then_url":{"type":["string","null"],"maxLength":2000},"short":{"type":"string","maxLength":32}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"utm":{"type":"object","properties":{},"additionalProperties":{"type":"string"}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"archiveSource","summary":"Retire an entry point","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/rsvp-invite":{"get":{"operationId":"rsvpInvite","summary":"The host's calendar invitation (METHOD:REQUEST) whose organizer is the registration address: a Yes in someone's calendar registers them, counted to the way in","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"code","in":"query","required":false,"schema":{"type":"string"},"description":"A way in's code; without one, the email way in"}],"responses":{"200":{"description":"Success","content":{"text/calendar":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event or way in, no date yet, or email registration isn't set up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/bundle":{"get":{"operationId":"printBundle","summary":"The print bundle: every entry point's QR codes (SVG, PDF, EPS) and codes.csv, as a ZIP","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/kits":{"get":{"operationId":"listKits","summary":"Kits for speakers and partners, with their numbers; each link only for a full key","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Kit"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createKit","summary":"Make a kit (its own entry point and page) for a speaker or partner","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"email":{"type":["string","null"],"maxLength":320},"kind":{"type":"string","enum":["speaker","partner"],"default":"speaker"},"send":{"type":"boolean","default":false}},"required":["name"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"allOf":[{"$ref":"#/components/schemas/Kit"},{"type":"object","properties":{"sent":{"type":"boolean"}}}]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Up to 100 kits per event, or the plan's limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/kits/{sid}":{"post":{"operationId":"sendKit","summary":"Email (or re-email) a kit to the person it was made for","tags":["Entry points"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such kit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The email didn't go out","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/speakers":{"get":{"operationId":"listSpeakers","summary":"Speakers, in order","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Speaker"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addSpeakers","summary":"Add a speaker, or several matched by name","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"role":{"type":"string","maxLength":200},"talk_title":{"type":"string","maxLength":200},"bio":{"type":"string","maxLength":1500},"link":{"type":["string","null"],"format":"uri"},"photo_asset_id":{"type":["string","null"],"format":"uuid"}},"required":["name"]},{"type":"object","properties":{"speakers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"role":{"type":"string"},"talk_title":{"type":"string"},"bio":{"type":"string"}},"required":["name"]},"maxItems":20}},"required":["speakers"]}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/Speaker"},{"type":"array","items":{"$ref":"#/components/schemas/Speaker"}}]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Up to 20 speakers per event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/speakers/{sid}":{"patch":{"operationId":"updateSpeaker","summary":"Change a speaker, or move them up or down","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"role":{"type":"string","maxLength":200},"talk_title":{"type":"string","maxLength":200},"bio":{"type":"string","maxLength":1500},"link":{"type":["string","null"],"format":"uri"},"photo_asset_id":{"type":["string","null"],"format":"uuid"},"move":{"type":"string","enum":["up","down"]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Speaker"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteSpeaker","summary":"Remove a speaker","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/sponsors":{"get":{"operationId":"listSponsors","summary":"Sponsors, in order","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Sponsor"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addSponsor","summary":"Add a sponsor","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"url":{"type":["string","null"],"format":"uri"},"logo_asset_id":{"type":["string","null"],"format":"uuid"}},"required":["name"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Sponsor"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Up to 12 sponsors per event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/sponsors/{sid}":{"patch":{"operationId":"updateSponsor","summary":"Change a sponsor, or move them up or down","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"url":{"type":["string","null"],"format":"uri"},"logo_asset_id":{"type":["string","null"],"format":"uuid"},"move":{"type":"string","enum":["up","down"]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Sponsor"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteSponsor","summary":"Remove a sponsor","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Id of the entry point, speaker, sponsor, kit or campaign step"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/sessions":{"get":{"operationId":"listSessions","summary":"The agenda: sessions by start, each with how many registrants plan to attend (a count, never who)","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Session"},{"type":"object","properties":{"planned":{"type":"integer"}}}]}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addSession","summary":"Add a session to the agenda","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":4000},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"track":{"type":"string","maxLength":80},"room":{"type":"string","maxLength":80},"kind":{"type":"string","enum":["talk","panel","keynote","workshop","break"],"default":"talk"},"speaker_ids":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":12,"description":"The event's own speakers, in order (a break has none)"}},"required":["title"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Session"}},"required":["data"]}}}},"400":{"description":"It ends before it starts, or a speaker isn't this event's","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Up to 200 sessions per event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/sessions/{sid}":{"patch":{"operationId":"updateSession","summary":"Change a session, or move it up or down","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Session id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":4000},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"track":{"type":"string","maxLength":80},"room":{"type":"string","maxLength":80},"kind":{"type":"string","enum":["talk","panel","keynote","workshop","break"],"default":"talk"},"speaker_ids":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":12,"description":"The event's own speakers, in order (a break has none)"},"move":{"type":"string","enum":["up","down"]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Session"}},"required":["data"]}}}},"400":{"description":"It ends before it starts, or a speaker isn't this event's","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such session","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteSession","summary":"Remove a session","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"sid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Session id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such session","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/site":{"get":{"operationId":"getSite","summary":"The event's site: its settings, its own pages and the pages the nav shows now","tags":["Site"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"site":{"oneOf":[{"$ref":"#/components/schemas/Site"},{"type":"null"}]},"pages":{"type":"array","items":{"$ref":"#/components/schemas/SitePage"}},"nav":{"type":"array","items":{"type":"string"}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateSite","summary":"Turn the site on or off, order and show its pages, set the venue and FAQ (what isn't sent stays)","tags":["Site"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"on":{"type":"boolean"},"pages":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"show":{"type":"boolean"}},"required":["key","show"]},"maxItems":25},"venue":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"address":{"type":"string","maxLength":300},"map_url":{"type":["string","null"],"format":"uri"},"travel":{"type":"string","maxLength":4000},"hotels":{"type":"string","maxLength":4000}}},"faq":{"type":"array","items":{"type":"object","properties":{"q":{"type":"string","minLength":1,"maxLength":300},"a":{"type":"string","maxLength":4000}},"required":["q"]},"maxItems":50}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Site"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/site/pages":{"post":{"operationId":"addSitePage","summary":"Add a page of your own to the site (/e/<slug>/p/<page slug>)","tags":["Site"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"body":{"type":"string","maxLength":20000},"slug":{"type":"string","pattern":"^[a-z0-9]([a-z0-9-]{0,58}[a-z0-9])?$","description":"Its address; made from the title when left out"}},"required":["title"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SitePage"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Up to 20 pages of your own","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That address is taken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/site/pages/{pid}":{"patch":{"operationId":"updateSitePage","summary":"Change one of your site's pages","tags":["Site"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"pid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Site page id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"body":{"type":"string","maxLength":20000},"slug":{"type":"string","pattern":"^[a-z0-9]([a-z0-9-]{0,58}[a-z0-9])?$","description":"Its address; made from the title when left out"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SitePage"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That address is taken","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteSitePage","summary":"Remove one of your site's pages","tags":["Site"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"pid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Site page id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such page","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/library":{"post":{"operationId":"addFromLibrary","summary":"Add people (as speakers) and organisations (as sponsors) from the library","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"people":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":20},"orgs":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":12}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"speakers":{"type":"integer"},"sponsors":{"type":"integer"},"skipped":{"type":"array","items":{"type":"string"}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/library/refresh":{"post":{"operationId":"refreshFromLibrary","summary":"Bring the event's speakers up to date with the library","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"updated":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/posts":{"get":{"operationId":"listPosts","summary":"The event's posts, drafts and published","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Post"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/posts/{pid}":{"patch":{"operationId":"updatePost","summary":"Edit a post, or publish it (publishing gives it its own entry point)","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"pid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Post id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"excerpt":{"type":"string","maxLength":400},"body":{"type":"string","minLength":1,"maxLength":20000},"status":{"type":"string","enum":["draft","published"]}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Post"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deletePost","summary":"Delete a post (its entry point is retired)","tags":["Program"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"pid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Post id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such post","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/room":{"get":{"operationId":"roomView","summary":"The live room, as the host sees it: questions with who asked, polls, chat, who's in","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RoomView"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"roomAction","summary":"Run the live room: open or close it, share and answer questions, polls, chat","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["open","chat_on","share","answer","hide_question","add_question","poll_create","poll_status","poll_delete","chat","hide_chat","reviewing","make_room"]}},"required":["action"],"oneOf":[{"type":"object","properties":{"action":{"type":"string","enum":["open"]},"open":{"type":"string","enum":["auto","open","closed"]}},"required":["action","open"]},{"type":"object","properties":{"action":{"type":"string","enum":["chat_on"]},"on":{"type":"boolean"}},"required":["action","on"]},{"type":"object","properties":{"action":{"type":"string","enum":["share"]},"question_id":{"type":"string","format":"uuid"},"on":{"type":"boolean"}},"required":["action","question_id","on"]},{"type":"object","properties":{"action":{"type":"string","enum":["answer"]},"question_id":{"type":"string","format":"uuid"},"answer":{"type":["string","null"],"maxLength":4000}},"required":["action","question_id"]},{"type":"object","properties":{"action":{"type":"string","enum":["hide_question"]},"question_id":{"type":"string","format":"uuid"}},"required":["action","question_id"]},{"type":"object","properties":{"action":{"type":"string","enum":["add_question"]},"text":{"type":"string","minLength":3,"maxLength":1000,"description":"The host's own question: marked as the host's, its votes start at 0"}},"required":["action","text"]},{"type":"object","properties":{"action":{"type":"string","enum":["poll_create"]},"question":{"type":"string","minLength":1,"maxLength":300},"options":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"minItems":2,"maxItems":6},"open":{"type":"boolean","default":false}},"required":["action","question","options"]},{"type":"object","properties":{"action":{"type":"string","enum":["poll_status"]},"poll_id":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["open","closed"]}},"required":["action","poll_id","status"]},{"type":"object","properties":{"action":{"type":"string","enum":["poll_delete"]},"poll_id":{"type":"string","format":"uuid"}},"required":["action","poll_id"]},{"type":"object","properties":{"action":{"type":"string","enum":["chat"]},"text":{"type":"string","minLength":1,"maxLength":500},"as":{"type":"string","maxLength":60}},"required":["action","text"]},{"type":"object","properties":{"action":{"type":"string","enum":["hide_chat"]},"message_id":{"type":"integer","minimum":1}},"required":["action","message_id"]},{"type":"object","properties":{"action":{"type":"string","enum":["reviewing"]},"registrant_id":{"type":["string","null"],"format":"uuid"}},"required":["action","registrant_id"]},{"type":"object","properties":{"action":{"type":"string","enum":["make_room"]},"provider":{"type":"string","enum":["jitsi","daily","livekit"]}},"required":["action","provider"]}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RoomView"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/stream":{"get":{"operationId":"getStream","summary":"The event's stream on the host's Cloudflare Stream or Mux account, with its key","description":"Needs a full key: the answer carries the stream key.","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Stream"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createStream","summary":"Make the event's stream (or return the one it has) and point the room at it","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Stream"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"No Cloudflare Stream or Mux connection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The provider refused or didn't answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"removeStream","summary":"Forget the stream here (it stays in the host's account)","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/meeting":{"post":{"operationId":"createMeeting","summary":"Make the event's call on the account's Google or Microsoft connection (or return the one it has)","description":"The link becomes the event's video_url, which only registrants see.","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","enum":["google","teams"]}},"required":["provider"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"provider":{"type":"string","enum":["google","teams"]},"url":{"type":"string","format":"uri"}}}},"required":["data"]}}}},"400":{"description":"No start time yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That provider isn't connected or set up","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The provider gave no join link","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"addMeetingGuests","summary":"Add the registrants to the Google Calendar event as guests; Google emails each of them","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"guests":{"type":"boolean","enum":[true]}},"required":["guests"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"guests":{"type":"integer"},"capped":{"type":"boolean","description":"Not everyone fitted on the calendar event"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"No Google Meet made here yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"forgetMeeting","summary":"Forget the call here and clear the join link (it stays on the calendar or in Teams)","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event, or no meeting made here","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/stream-out":{"get":{"operationId":"getStreamOut","summary":"Where the event's call goes out live, whether it's going out now, and the overlay","description":"Needs a full key, like the stream. Keys are never returned: their last four characters only.","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"outputs":{"type":"array","items":{"$ref":"#/components/schemas/StreamOutput"}},"out":{"type":["object","null"],"properties":{"via":{"type":"string","enum":["daily","livekit"]},"egress_id":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"to":{"type":"integer","description":"How many places it went to"}},"required":["via","started_at","to"]},"ended":{"type":"string","description":"Why it stopped by itself, when it just has"},"via":{"type":["string","null"],"enum":["daily","livekit"]},"overlay":{"type":["object","null"],"properties":{"on":{"type":"boolean"},"text":{"type":"string"},"logo":{"type":"boolean"}}}},"required":["outputs","out","via","overlay"]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addStreamOutput","summary":"Add a destination; up to 5 per event","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"platform":{"type":"string","enum":["youtube","twitch","linkedin","restream","custom"]},"server":{"type":"string","description":"Needed for linkedin and custom"},"key":{"type":"string"}},"required":["platform","key"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StreamOutput"}},"required":["data"]}}}},"400":{"description":"A bad platform, server or key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, an account limit, or more than 5 destinations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"setStreamOverlay","summary":"The title and logo on the outgoing stream","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"overlay":{"type":"object","properties":{"on":{"type":"boolean"},"text":{"type":"string","maxLength":120},"logo":{"type":"boolean","default":true}},"required":["on"]}},"required":["overlay"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"400":{"description":"No overlay given","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"removeStreamOutput","summary":"Remove a destination","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"output","in":"query","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"400":{"description":"No output given","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event or destination","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/stream-out/live":{"post":{"operationId":"startStreamOut","summary":"Send the room out live to every destination, on the host's own Daily or LiveKit","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"via":{"type":"string","enum":["daily","livekit"]},"egress_id":{"type":"string"},"started_at":{"type":"string","format":"date-time"},"to":{"type":"integer","description":"How many places it went to"}},"required":["via","started_at","to"]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Already going out, no private room on the host's own Daily or LiveKit, or no destination","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The provider refused or didn't answer","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"stopStreamOut","summary":"Stop sending it out","tags":["Live"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"null"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/session":{"get":{"operationId":"sessionSummary","summary":"A session hosted here, afterwards: the peak, who came in, questions, polls, chat and what was hidden","description":"?format=csv answers the chat as a spreadsheet; &what=questions every question, who asked and the answer; &what=polls each option's votes.","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["csv"]},"description":"csv answers a spreadsheet instead of JSON"},{"name":"what","in":"query","required":false,"schema":{"type":"string","enum":["questions","polls"]},"description":"With format=csv"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SessionSummary"}},"required":["data"]}},"text/csv":{"schema":{"type":"string"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"unhideInSession","summary":"Put back a question or chat message the host hid","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["unhide_question","unhide_chat"]}},"required":["action"],"oneOf":[{"type":"object","properties":{"action":{"type":"string","enum":["unhide_question"]},"question_id":{"type":"string","format":"uuid"}},"required":["action","question_id"]},{"type":"object","properties":{"action":{"type":"string","enum":["unhide_chat"]},"message_id":{"type":"integer","minimum":1}},"required":["action","message_id"]}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event, or nothing hidden by that id","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/survey":{"get":{"operationId":"surveyResults","summary":"The event's survey answers (?format=csv for a spreadsheet)","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["csv"]},"description":"csv answers a spreadsheet instead of JSON"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SurveyResults"}},"required":["data"]}},"text/csv":{"schema":{"type":"string"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/repurpose":{"post":{"operationId":"repurposeSession","summary":"Write the recap article, quotes and posts from the session, on the host's own AI key","description":"Kept with the event, replacing the last one. Nothing goes out by itself.","tags":["After the event"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Repurposed"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"No AI key connected, or not enough from the session yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too much writing this hour; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The AI call failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/playbooks":{"get":{"operationId":"playbookSummary","summary":"Growth playbooks for the event's registrants: ready, mailed, waiting, errors","tags":["Research"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PlaybookSummary"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"recheckPlaybooks","summary":"Email the ready playbooks now, after checking again for everyone still waiting","tags":["Research"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PlaybookSummary"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"programmable.marketing isn't set up on this server","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/reviews":{"get":{"operationId":"reviewSummary","summary":"Website reviews for an evaluation workshop: the room's summary","tags":["Research"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ReviewSummary"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not a website evaluation workshop","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"reviewAction","summary":"compare: a side-by-side page of the room's sites; rereview: review every site again","tags":["Research"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["compare","rereview"]}},"required":["action"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"]},{"type":"object","properties":{"sites":{"type":"integer"}},"required":["sites"]}]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event (or item) on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Not an evaluation workshop, or no finished review yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Website reviews aren't set up on this server","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library":{"get":{"operationId":"listLibrary","summary":"The library: people, sponsors and partners, or images","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"kind","in":"query","required":true,"schema":{"type":"string","enum":["people","orgs","images"]}},{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100},"description":"People and orgs: a search"},{"name":"image","in":"query","required":false,"schema":{"type":"string","enum":["logo","photo","cover"]},"description":"Images: only this kind"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"array","items":{"$ref":"#/components/schemas/LibraryPerson"}},{"type":"array","items":{"$ref":"#/components/schemas/LibraryOrg"}},{"type":"array","items":{"$ref":"#/components/schemas/LibraryImage"}}]}},"required":["data"]}}}},"400":{"description":"No kind given","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/people":{"post":{"operationId":"addLibraryPerson","summary":"Add someone to the library","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"role":{"type":"string","maxLength":200},"bio":{"type":"string","maxLength":1500},"link":{"type":["string","null"],"maxLength":500},"website":{"type":["string","null"],"maxLength":500},"about":{"type":"string","maxLength":12000},"photo_asset_id":{"type":["string","null"],"format":"uuid"},"location":{"type":"string","maxLength":120},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]},"maxItems":30},"topics":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60},"maxItems":12}},"required":["name"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":["string","null"],"format":"uuid"}}}},"required":["data"]}}}},"400":{"description":"No name, or a photo that isn't this account's","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/people/fill":{"post":{"operationId":"fillLibraryPerson","summary":"Read a person from a file, a link or pasted text; nothing is saved","description":"Send one of file (a LinkedIn PDF, a CV: PDF, Word, PowerPoint, text; up to 20 MB), url or text. On the host's own AI key when connected; without one, read with no model.","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"url":{"type":"string"},"text":{"type":"string"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"},"bio":{"type":"string"},"location":{"type":"string"},"website":{"type":"string"},"link":{"type":"string"},"about":{"type":"string"},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]}},"topics":{"type":"array","items":{"type":"string"}}}},"ai":{"type":"boolean"}},"required":["data","ai"]}}}},"400":{"description":"Nothing to read","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Over 20 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/people/{id}":{"patch":{"operationId":"updateLibraryPerson","summary":"Change an entry (events keep what they have)","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Library person id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"role":{"type":"string","maxLength":200},"bio":{"type":"string","maxLength":1500},"link":{"type":["string","null"],"maxLength":500},"website":{"type":["string","null"],"maxLength":500},"about":{"type":"string","maxLength":12000},"photo_asset_id":{"type":["string","null"],"format":"uuid"},"location":{"type":"string","maxLength":120},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]},"maxItems":30},"topics":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60},"maxItems":12}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That name is already in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"removeLibraryPerson","summary":"Take someone out of the library","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Library person id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/orgs":{"post":{"operationId":"addLibraryOrg","summary":"Add a sponsor or partner to the library; a website is read straight away","description":"A site that can't be read still adds them: read says why.","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"url":{"type":["string","null"],"maxLength":500},"logo_asset_id":{"type":["string","null"],"format":"uuid"},"about":{"type":"string","maxLength":800},"sells":{"type":"string","maxLength":400},"audience":{"type":"string","maxLength":300},"customers":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]},"maxItems":30}},"required":["name"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"read":{"type":["object","null"],"properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"ai":{"type":"boolean"}},"required":["ok"]}}}},"required":["data"]}}}},"400":{"description":"No name, or a logo that isn't this account's","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/orgs/{id}":{"patch":{"operationId":"updateLibraryOrg","summary":"Change an entry (events keep what they have)","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Library sponsor or partner id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"url":{"type":["string","null"],"maxLength":500},"logo_asset_id":{"type":["string","null"],"format":"uuid"},"about":{"type":"string","maxLength":800},"sells":{"type":"string","maxLength":400},"audience":{"type":"string","maxLength":300},"customers":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]},"maxItems":30}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"That name is already in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"removeLibraryOrg","summary":"Take a sponsor or partner out of the library","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Library sponsor or partner id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/orgs/{id}/read":{"post":{"operationId":"readLibraryOrg","summary":"Refresh a library partner from their site: what's empty is filled, what the host wrote stays","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Library sponsor or partner id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/OrgRead"}},"required":["data"]}}}},"400":{"description":"No website on the entry, or it couldn't be read","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 30 sites an hour; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/merge":{"post":{"operationId":"mergeLibrary","summary":"Merge two entries for the same person or sponsor","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["people","orgs"]},"keep":{"type":"string","format":"uuid"},"drop":{"type":"string","format":"uuid"}},"required":["kind","keep","drop"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"400":{"description":"The same entry twice","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Those aren't both in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/library/images/{id}":{"delete":{"operationId":"removeLibraryImage","summary":"Take an image out of the library; wherever it's used, it stays","tags":["Library"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Library image id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in the library","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/links":{"get":{"operationId":"listLinks","summary":"Saved links: a whole job kept under a name, opened at a short address","tags":["Links"],"security":[{"apiKey":[]}],"x-scope":"read","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WorkflowLink"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"saveLink","summary":"Save a link","description":"params is a query string, or a whole link to Home or an event's Chat. A saved link opens only for the account that saved it, and nothing runs on opening.","tags":["Links"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"params":{"type":"string","maxLength":6000},"event_id":{"type":["string","null"],"format":"uuid"}},"required":["name","params"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WorkflowLink"}},"required":["data"]}}}},"400":{"description":"A link that says nothing yet, or isn't to Home or an event's Chat","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, an account limit, or more than 200 links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"That event isn't on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/links/{id}":{"delete":{"operationId":"revokeLink","summary":"Turn a saved link off: its address stops opening anything","tags":["Links"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Saved link id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such link","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/webhook-targets":{"get":{"operationId":"listWebhookTargets","summary":"Webhook addresses people can be sent to, without their secrets","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"read","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookTarget"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addWebhookTarget","summary":"Add an address people can be sent to (export-to/webhook, or a campaign step)","description":"Up to 20 per account. It is checked like any webhook URL, and has its own signing secret.","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"url":{"type":"string","maxLength":2000}},"required":["name","url"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"allOf":[{"$ref":"#/components/schemas/WebhookTarget"},{"type":"object","properties":{"secret":{"type":"string","description":"The signing secret (whsec_…), shown only in this response"}},"required":["secret"]}]}},"required":["data"]}}}},"400":{"description":"A URL we won't send to","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, an account limit, or more than 20 addresses","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/webhook-targets/{id}":{"delete":{"operationId":"removeWebhookTarget","summary":"Remove a webhook address","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Webhook address id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/inbound-hooks":{"get":{"operationId":"listInboundHooks","summary":"Incoming addresses other tools register people through (each registers people, so a full key)","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InboundHook"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"addInboundHook","summary":"Make an incoming address, for one event or for the account","description":"Each registration through it counts toward its own way in. Without event_id, what's sent names the event in `event`. Up to 50 per account.","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"event_id":{"type":["string","null"],"format":"uuid"},"mapping":{"type":"object","properties":{"email":{"type":"string","maxLength":200},"name":{"type":"string","maxLength":200},"company":{"type":"string","maxLength":200},"hope":{"type":"string","maxLength":200}},"description":"Which field of what's sent holds each detail"},"source_kind":{"type":"string","enum":["link","linkedin"],"default":"link","description":"linkedin: leads from a LinkedIn Lead Gen Form (through Zapier or Make) count to a LinkedIn way in"}},"required":["name"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/InboundHook"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, an account limit, or more than 50 addresses","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"That event isn't on this account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/inbound-hooks/{id}":{"patch":{"operationId":"updateInboundHook","summary":"Rename an incoming address or change its mapping","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Incoming address id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"mapping":{"type":"object","properties":{"email":{"type":"string","maxLength":200},"name":{"type":"string","maxLength":200},"company":{"type":"string","maxLength":200},"hope":{"type":"string","maxLength":200}},"description":"Which field of what's sent holds each detail"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"revokeInboundHook","summary":"Turn an incoming address off","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Incoming address id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/series":{"get":{"operationId":"listSeries","summary":"Every series","tags":["Series"],"security":[{"apiKey":[]}],"x-scope":"read","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Series"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"createSeries","summary":"Create a series","tags":["Series"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"summary":{"type":"string","maxLength":4000},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,47}$"}},"required":["title"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Series"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Up to 100 series per account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/templates":{"get":{"operationId":"listTemplates","summary":"Every saved template","tags":["Templates"],"security":[{"apiKey":[]}],"x-scope":"read","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Template"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"saveTemplate","summary":"Save an event's setup as a template","tags":["Templates"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"event_id":{"type":"string","format":"uuid"},"name":{"type":"string","minLength":1,"maxLength":120,"description":"Defaults to the event's title"}},"required":["event_id"]}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Template"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Up to 100 templates per account","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/templates/{id}":{"get":{"operationId":"getTemplate","summary":"One saved template","tags":["Templates"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Template id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Template"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such template","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"renameTemplate","summary":"Rename a template","tags":["Templates"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Template id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Template"}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such template","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteTemplate","summary":"Delete a template (events made from it are kept)","tags":["Templates"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Template id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such template","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/from-template/{id}":{"post":{"operationId":"createEventFromTemplate","summary":"Create an event from a template","description":"Live unless asked for a draft; when the plan has no room for another live event it is made as a draft and `drafted` says why. Speakers, sponsors and entry points come along with fresh codes.","tags":["Templates"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Template id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"starts_at":{"type":["string","null"],"format":"date-time"},"title":{"type":"string","minLength":2,"maxLength":160},"status":{"type":"string","enum":["live","draft"],"default":"live"}}}}}},"responses":{"201":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Event"},"drafted":{"type":["string","null"],"description":"Why it was made as a draft (the plan's live-event limit), or null"},"skipped":{"type":"array","items":{"type":"string"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The account's event limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such template","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running (code: idempotency_key_in_flight), or a conflict the operation describes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/series/{id}":{"patch":{"operationId":"updateSeries","summary":"Change a series","tags":["Series"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Series id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"summary":{"type":"string","maxLength":4000},"community_url":{"type":["string","null"],"format":"uri"},"apply_to_sessions":{"type":"boolean","default":true,"description":"A new community_url also goes on the sessions without one of their own"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"allOf":[{"$ref":"#/components/schemas/Series"},{"type":"object","properties":{"applied":{"type":"integer","description":"Sessions the new community link was put on"}}}]}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such series","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"deleteSeries","summary":"Delete a series (its sessions are kept)","tags":["Series"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Series id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such series","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/series/{id}/campaign":{"get":{"operationId":"getSeriesCampaign","summary":"The campaign every new session starts with, and what applying it to the upcoming sessions would add","description":"Adds nothing. Each session lists the steps it would get (`add`) and those it wouldn't, with why (`skip`: it has the step, or its time has passed).","tags":["Series"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Series id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"object","properties":{"anchor":{"type":"string","enum":["start","end","quiet"],"description":"start: from when it starts (negative is before); end: from when it ends; quiet: from when the step was made, if nobody has registered by then"},"offset_min":{"type":"integer","minimum":-129600,"maximum":129600,"description":"Minutes from the anchor; quiet needs at least 60"},"action":{"type":"string","enum":["write_post","note","publish","send_followup","export_to","close"]},"args":{"type":"object","properties":{"filter":{"oneOf":[{"$ref":"#/components/schemas/AudienceFilter"},{"type":"string","maxLength":8000,"description":"The same object as a JSON string, as steps keep it; \"\" for none"}]}},"additionalProperties":{"type":"string"},"description":"write_post: kind. note: to, body, subject, subject_b, format (\"simple\", the default, or \"html\"), html (pasted HTML, up to 100,000 characters, used when format is \"html\"; cleaned on the server to a strict allowlist: no scripts, no outside images, https and mailto links only), filter (narrows the group: AudienceFilter; steps answer it as a JSON string; none is the whole group). publish: platform (luma, zoom or eventbrite). send_followup: to. export_to: destination, to."},"approval":{"type":"string","enum":["hold","auto"],"description":"hold waits for the host. Defaults to auto for write_post, hold for anything else."},"when":{"type":"string"},"what":{"type":"string"}}}},"saved_at":{"type":["string","null"],"format":"date-time"}}},"sessions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"status":{"type":"string"},"starts_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string"},"add":{"type":"array","items":{"type":"object","properties":{"when":{"type":"string"},"what":{"type":"string"}}}},"skip":{"type":"array","items":{"type":"object","properties":{"when":{"type":"string"},"what":{"type":"string"},"why":{"type":"string"}}}}}}}},"required":["data","sessions"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such series","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"saveOrApplySeriesCampaign","summary":"Save a session's campaign as the series', or apply it to the upcoming sessions","description":"`{ from_event }` saves that session's steps (not those turned off) and changes no session; new sessions then start with them, timed from their own date. `{ apply: true, event_ids? }` adds them to the upcoming sessions (or those of them) that don't have them, once. Either way, everything but a draft post waits for you when its time comes.","tags":["Series"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Series id"},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"pattern":"^[\\x21-\\x7e]+$"},"description":"A new value for each new request. A retry with the same key and body within 24 hours gets the first answer again (Idempotent-Replayed: true) instead of doing it twice; 5xx and 429 answers aren't kept."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"from_event":{"type":"string","format":"uuid"}},"required":["from_event"]},{"type":"object","properties":{"apply":{"type":"boolean","enum":[true]},"event_ids":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":200}},"required":["apply"]}]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"data":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"object","properties":{}}},"saved_at":{"type":["string","null"]}}}},"required":["data"]},{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"added":{"type":"integer"}}}}},"required":["data"]}]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such series, or the session isn't in it","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Nothing to save, or nothing saved to apply","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request (code: idempotency_key_reused)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"clearSeriesCampaign","summary":"Stop carrying a campaign (sessions keep their steps)","tags":["Series"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Series id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such series","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/assets":{"post":{"operationId":"uploadImage","summary":"Upload an image (logo, photo or cover), up to 8 MB","description":"Takes the file itself as multipart/form-data, so it can only be called by a client that can send a file. A workflow tool that sends JSON only (programmable.run today) can't use it; give image addresses on the event or library entry instead.","tags":["Images"],"security":[{"apiKey":[]}],"x-scope":"full","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"},"kind":{"type":"string","enum":["logo","photo","cover"]}},"required":["file","kind"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"mime":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"url":{"type":"string"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"413":{"description":"Over 8 MB","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 120 uploads an hour; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament":{"get":{"operationId":"getTournament","summary":"A tournament: settings, entrants (teams with their members), matches, standings and the champion","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"config":{"type":"object","properties":{"entrants":{"type":"string","enum":["solo","team"],"description":"People or teams; fixed once anyone has entered"},"team_min":{"type":"integer","minimum":1,"maximum":50},"team_max":{"type":"integer","minimum":1,"maximum":50},"max_entrants":{"type":["integer","null"],"minimum":2,"maximum":512,"description":"Solo: also the event's capacity (the waitlist does the rest). Teams: no new team past it"},"rating_field":{"type":["string","null"],"description":"Id of a number question on the sign-up form, read as each entrant's rating"},"format":{"type":"string","enum":["single","double","round_robin","swiss","judged"]},"seeding":{"type":"string","enum":["random","rating","manual"]},"grand_final_reset":{"type":"boolean"},"groups":{"type":"integer","minimum":1,"maximum":32,"description":"Round robin: groups (1: everyone together)"},"advance":{"type":"integer","minimum":0,"maximum":16,"description":"Round robin in groups: how many of each go on to single-elimination playoffs"},"swiss_rounds":{"type":["integer","null"],"minimum":1,"maximum":20,"description":"Null: ⌈log2 entrants⌉"},"best_of":{"type":"object","properties":{"default":{"type":"integer","minimum":1,"maximum":15},"rounds":{"type":"object","properties":{},"additionalProperties":{"type":"integer","minimum":1,"maximum":15},"description":"By round: W3, L2, P1, or the whole bracket: GF, RR, SW"}}},"points":{"type":"object","properties":{"win":{"type":"number"},"draw":{"type":"number"},"loss":{"type":"number"}}},"checkin":{"type":"object","properties":{"on":{"type":"boolean"},"opens_min":{"type":"integer","description":"Minutes before the start it opens"},"closes_min":{"type":"integer","description":"Minutes before the start it closes"}}},"self_report":{"type":"boolean","description":"Both sides report from their pages; agreeing reports confirm the result, others are flagged to you"},"criteria":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_]{1,30}$"},"label":{"type":"string"},"max":{"type":"integer","minimum":1,"maximum":100}}},"maxItems":10,"description":"Judged: what each judge scores"}}},"generated":{"type":"boolean"},"completed":{"type":"boolean"},"version":{"type":"integer"},"entrants":{"type":"array","items":{"type":"object","properties":{}}},"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","description":"W2-1, L3-2, GF1, G1R2-3, SW4-1, P1-2"},"bracket":{"type":"string","enum":["W","L","GF","RR","SW","P"]},"group":{"type":"integer"},"round":{"type":"integer"},"slot":{"type":"integer"},"a":{"type":["string","null"],"format":"uuid"},"b":{"type":["string","null"],"format":"uuid"},"aFrom":{"type":["object","null"],"properties":{"take":{"type":"string","enum":["winner","loser"]},"code":{"type":"string"}}},"bFrom":{"type":["object","null"],"properties":{"take":{"type":"string","enum":["winner","loser"]},"code":{"type":"string"}}},"status":{"type":"string","enum":["pending","ready","live","done","forfeit","dq","bye","void"]},"winner":{"type":["string","null"],"format":"uuid"},"games":{"type":"array","items":{"type":"array","items":{"type":"number"}}},"best_of":{"type":"integer"},"station":{"type":"string"},"scheduled_at":{"type":["string","null"],"format":"date-time"},"disputed":{"type":"boolean","description":"The two sides' reports disagree"}}}},"champion":{"type":["string","null"],"format":"uuid"},"groups":{"type":"array","items":{"type":"object","properties":{}}},"placings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"place":{"type":["integer","null"]}}}},"judged":{"type":"array","items":{"type":"object","properties":{}}},"table":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"place":{"type":["integer","null"]}}}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"updateTournament","summary":"Change the settings; what isn't sent stays","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"entrants":{"type":"string","enum":["solo","team"],"description":"People or teams; fixed once anyone has entered"},"team_min":{"type":"integer","minimum":1,"maximum":50},"team_max":{"type":"integer","minimum":1,"maximum":50},"max_entrants":{"type":["integer","null"],"minimum":2,"maximum":512,"description":"Solo: also the event's capacity (the waitlist does the rest). Teams: no new team past it"},"rating_field":{"type":["string","null"],"description":"Id of a number question on the sign-up form, read as each entrant's rating"},"format":{"type":"string","enum":["single","double","round_robin","swiss","judged"]},"seeding":{"type":"string","enum":["random","rating","manual"]},"grand_final_reset":{"type":"boolean"},"groups":{"type":"integer","minimum":1,"maximum":32,"description":"Round robin: groups (1: everyone together)"},"advance":{"type":"integer","minimum":0,"maximum":16,"description":"Round robin in groups: how many of each go on to single-elimination playoffs"},"swiss_rounds":{"type":["integer","null"],"minimum":1,"maximum":20,"description":"Null: ⌈log2 entrants⌉"},"best_of":{"type":"object","properties":{"default":{"type":"integer","minimum":1,"maximum":15},"rounds":{"type":"object","properties":{},"additionalProperties":{"type":"integer","minimum":1,"maximum":15},"description":"By round: W3, L2, P1, or the whole bracket: GF, RR, SW"}}},"points":{"type":"object","properties":{"win":{"type":"number"},"draw":{"type":"number"},"loss":{"type":"number"}}},"checkin":{"type":"object","properties":{"on":{"type":"boolean"},"opens_min":{"type":"integer","description":"Minutes before the start it opens"},"closes_min":{"type":"integer","description":"Minutes before the start it closes"}}},"self_report":{"type":"boolean","description":"Both sides report from their pages; agreeing reports confirm the result, others are flagged to you"},"criteria":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_]{1,30}$"},"label":{"type":"string"},"max":{"type":"integer","minimum":1,"maximum":100}}},"maxItems":10,"description":"Judged: what each judge scores"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"entrants":{"type":"string","enum":["solo","team"],"description":"People or teams; fixed once anyone has entered"},"team_min":{"type":"integer","minimum":1,"maximum":50},"team_max":{"type":"integer","minimum":1,"maximum":50},"max_entrants":{"type":["integer","null"],"minimum":2,"maximum":512,"description":"Solo: also the event's capacity (the waitlist does the rest). Teams: no new team past it"},"rating_field":{"type":["string","null"],"description":"Id of a number question on the sign-up form, read as each entrant's rating"},"format":{"type":"string","enum":["single","double","round_robin","swiss","judged"]},"seeding":{"type":"string","enum":["random","rating","manual"]},"grand_final_reset":{"type":"boolean"},"groups":{"type":"integer","minimum":1,"maximum":32,"description":"Round robin: groups (1: everyone together)"},"advance":{"type":"integer","minimum":0,"maximum":16,"description":"Round robin in groups: how many of each go on to single-elimination playoffs"},"swiss_rounds":{"type":["integer","null"],"minimum":1,"maximum":20,"description":"Null: ⌈log2 entrants⌉"},"best_of":{"type":"object","properties":{"default":{"type":"integer","minimum":1,"maximum":15},"rounds":{"type":"object","properties":{},"additionalProperties":{"type":"integer","minimum":1,"maximum":15},"description":"By round: W3, L2, P1, or the whole bracket: GF, RR, SW"}}},"points":{"type":"object","properties":{"win":{"type":"number"},"draw":{"type":"number"},"loss":{"type":"number"}}},"checkin":{"type":"object","properties":{"on":{"type":"boolean"},"opens_min":{"type":"integer","description":"Minutes before the start it opens"},"closes_min":{"type":"integer","description":"Minutes before the start it closes"}}},"self_report":{"type":"boolean","description":"Both sides report from their pages; agreeing reports confirm the result, others are flagged to you"},"criteria":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z0-9_]{1,30}$"},"label":{"type":"string"},"max":{"type":"integer","minimum":1,"maximum":100}}},"maxItems":10,"description":"Judged: what each judge scores"}}}},"required":["data"]}}}},"400":{"description":"Settings that don't work together","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The bracket is drawn (reset it to change the format, entrants or seeding), or people have entered (individuals or teams can't change)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament/entrants":{"get":{"operationId":"listEntrants","summary":"The entrants in the order they entered: seed, rating, status, checked in, and teams' members","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["solo","team"]},"name":{"type":"string"},"rating":{"type":["number","null"]},"seed":{"type":["integer","null"]},"status":{"type":"string","enum":["active","dropped","dq","withdrawn"]},"checked_in":{"type":"boolean"},"size":{"type":"integer"},"complete":{"type":"boolean"},"members":{"type":"array","items":{"type":"object","properties":{"registrant_id":{"type":"string","format":"uuid"},"name":{"type":["string","null"]},"email":{"type":"string"},"role":{"type":"string"},"status":{"type":"string"}}}}}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"operationId":"seedEntrants","summary":"Your own seeding order (manual seeding): these first, in order","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string","format":"uuid"}}},"required":["order"]}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The bracket is drawn","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament/entrants/{eid}":{"patch":{"operationId":"updateEntrant","summary":"Drop, disqualify or reinstate an entrant; rename, rate, seed or check them in","description":"Dropped or disqualified: every match of theirs without a result goes to the other side by forfeit; results already in stand.","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"eid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Entrant id (a person or a team)"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["active","dropped","dq"]},"name":{"type":"string","maxLength":80},"rating":{"type":["number","null"]},"seed":{"type":["integer","null"]},"checked_in":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such entrant","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament/checkin":{"get":{"operationId":"tournamentNotReady","summary":"Who isn't ready: not checked in (with check-in on), and teams short of players","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"unchecked":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}}}},"incomplete":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}}}},"dropped":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for other events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"tournamentCheckin","summary":"Check one entrant in (or out with undo), or with confirm drop everyone not ready from seeding","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"confirm":{"type":"boolean","enum":[true]},"entrant_id":{"type":"string","format":"uuid"},"undo":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament/bracket":{"post":{"operationId":"drawBracket","summary":"Draw the bracket from the entrants who are ready, or with next: true start the next stage (Swiss round, playoffs)","description":"Anyone in but not ready holds the draw up with 409 not_ready until it's sent with drop: true. next: 409 stage_open until every match of the stage has its result.","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"drop":{"type":"boolean"},"next":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Already drawn, entrants not ready, too few, or the stage isn't finished","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"resetBracket","summary":"Take the bracket down to draw it again (?confirm=1 when it has results: they go too)","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"confirm","in":"query","required":false,"schema":{"type":"string","enum":["1"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"It has results: confirm","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament/matches/{mid}":{"patch":{"operationId":"updateMatch","summary":"Enter or correct a result (the winner moves on), clear it, or set where and when it's played and whether it's live","description":"A correction that changes who played a later match that already has a result answers 409 (code downstream, naming those matches) until it's sent again with confirm: true, which clears them too.","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"mid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Match id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"games":{"type":"array","items":{"type":"array","items":{"type":"number","minimum":0},"minItems":2,"maxItems":2},"maxItems":15,"description":"Per game or set, [a, b]; one pair for a single score"},"winner":{"type":"string","enum":["a","b","draw"],"description":"Who won when the scores don't say: a tiebreak, a forfeit, a result with no score. A draw only in a round robin or Swiss"},"kind":{"type":"string","enum":["played","forfeit","dq"],"default":"played"}}},"clear":{"type":"boolean","enum":[true]},"confirm":{"type":"boolean"},"station":{"type":"string","maxLength":60},"scheduled_at":{"type":["string","null"],"format":"date-time"},"live":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"cleared":{"type":"array","items":{"type":"string"},"description":"Codes of later matches whose results were cleared"}}}}}},"400":{"description":"A result that doesn't fit: more games than the best-of, or a knockout with no winner","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Who plays isn't known yet, it's a bye, or it would clear later results","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament/matches/{mid}/call":{"post":{"operationId":"callMatch","summary":"Tell both sides their match is ready (email with their page; a text with the public bracket to those who asked)","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"},{"name":"mid","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Match id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"emails":{"type":"integer"},"texts":{"type":"integer"}}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The match isn't ready","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Called more than 5 times in an hour; or more than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/events/{id}/tournament/finish":{"post":{"operationId":"finishTournament","summary":"Finish it as it stands (a judged one closes its scoring); tournament.completed goes out","tags":["Tournaments"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Event id"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for other events only, or an account limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event on this account, or it isn't a tournament","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/public/events/{slug}/tournament":{"get":{"operationId":"publicTournament","summary":"A tournament's bracket and standings as its public pages show them (public names only), with a version that changes with every change","description":"?only=version answers { version } alone, for polling. 404 unless the event's site shows its bracket or standings.","tags":["Public"],"security":[],"x-scope":"none","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"description":"The event's address word"},{"name":"only","in":"query","required":false,"schema":{"type":"string","enum":["version"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"version":{"type":"integer"},"matches":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","description":"W2-1, L3-2, GF1, G1R2-3, SW4-1, P1-2"},"bracket":{"type":"string","enum":["W","L","GF","RR","SW","P"]},"group":{"type":"integer"},"round":{"type":"integer"},"slot":{"type":"integer"},"a":{"type":["string","null"],"format":"uuid"},"b":{"type":["string","null"],"format":"uuid"},"aFrom":{"type":["object","null"],"properties":{"take":{"type":"string","enum":["winner","loser"]},"code":{"type":"string"}}},"bFrom":{"type":["object","null"],"properties":{"take":{"type":"string","enum":["winner","loser"]},"code":{"type":"string"}}},"status":{"type":"string","enum":["pending","ready","live","done","forfeit","dq","bye","void"]},"winner":{"type":["string","null"],"format":"uuid"},"games":{"type":"array","items":{"type":"array","items":{"type":"number"}}},"best_of":{"type":"integer"},"station":{"type":"string"},"scheduled_at":{"type":["string","null"],"format":"date-time"},"disputed":{"type":"boolean","description":"The two sides' reports disagree"}}}},"entrants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"seed":{"type":["integer","null"]},"status":{"type":"string"}}}}}},"version":{"type":"integer"}}}}}},"404":{"description":"No such tournament, or its pages aren't showing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many from one address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/public/events":{"get":{"operationId":"publicEvents","summary":"Listed events, for partner sites and calendars (CORS open)","tags":["Public"],"security":[],"x-scope":"none","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":50}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"summary":{"type":"string"},"host":{"type":["string","null"]},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string"},"location":{"type":"string"},"platform":{"type":"string"},"url":{"type":"string","format":"uri"},"register_by_email":{"type":["string","null"]},"cover":{"type":["string","null"]}}}}},"required":["data"]}}}},"429":{"description":"More than 120 requests an hour from one address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/registrations":{"get":{"operationId":"pollRegistrations","summary":"Registrations across the account, newest first, a page at a time (for polling triggers)","tags":["Registrants"],"security":[{"apiKey":[]}],"x-scope":"read","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Only registrations made at or after this time (ISO 8601)."},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"},"description":"next_cursor from the previous page, exactly as it came."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50},"description":"Rows per page."},{"name":"changed","in":"query","required":false,"schema":{"type":"string","enum":["1","true"]},"description":"Order by the last change instead (updated_at, newest first), for \"updated registrant\" triggers: a cancellation, approval or check-in moves a row to the top. Dedupe by id and updated_at together. Its next_cursor works only with changed."},{"name":"updated_since","in":"query","required":false,"schema":{"type":"string","format":"date-time"},"description":"Changed mode (implies changed=1): only rows changed at or after this time (ISO 8601)."}],"responses":{"200":{"description":"One page; next_cursor is null on the last","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrantPage"}}}},"400":{"description":"A bad since, cursor or limit","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A key for some events only","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After and the X-RateLimit-* headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/hooks/subscriptions":{"get":{"operationId":"listSubscriptions","summary":"The account's REST-hook subscriptions (their addresses are capability URLs, so a full key)","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Subscription"}}},"required":["data"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for some events only, or the subscription limit (25)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After and the X-RateLimit-* headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"operationId":"subscribe","summary":"Subscribe a URL to event types (Zapier, Make and n8n REST hooks)","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255},"description":"A retry with the same key and body within 24 hours gets the first answer (and the same subscription) again instead of a second subscription."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"https on port 443 or 8443, resolving to a public address. target_url or hookUrl are accepted too (Zapier, Make)."},"types":{"type":"array","items":{"type":"string","enum":["registration.created","registration.updated","registration.promoted","registration.cancelled","registration.attended","registration.no_show","registration.erased","invite.accepted","question.created","question.answered","research.completed","playbook.ready","event.created","event.published","event.updated","event.cancelled","event.outputs_received","match.completed","tournament.completed","push.failed","publish.failed","connection.failing"]},"description":"Omit (or [\"*\"]) for every type."},"event":{"type":"string","enum":["registration.created","registration.updated","registration.promoted","registration.cancelled","registration.attended","registration.no_show","registration.erased","invite.accepted","question.created","question.answered","research.completed","playbook.ready","event.created","event.published","event.updated","event.cancelled","event.outputs_received","match.completed","tournament.completed","push.failed","publish.failed","connection.failing"],"description":"One type, instead of types."},"event_id":{"type":["string","null"],"format":"uuid"},"label":{"type":["string","null"],"maxLength":80}}}}}},"responses":{"201":{"description":"Subscribed; the secret is shown only here","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SubscriptionCreated"}},"required":["data"]}}}},"400":{"description":"A bad URL or unknown type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for some events only, or the subscription limit (25)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such event","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"A request with this Idempotency-Key is still running","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"This Idempotency-Key was used for a different request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After and the X-RateLimit-* headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"operationId":"unsubscribeByQuery","summary":"Unsubscribe by ?id= or ?url=","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"query","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"url","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"removed":{"type":"integer"}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for some events only, or the subscription limit (25)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such subscription","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After and the X-RateLimit-* headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/hooks/subscriptions/{id}":{"delete":{"operationId":"unsubscribe","summary":"Unsubscribe one subscription","tags":["Webhooks"],"security":[{"apiKey":[]}],"x-scope":"full","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"},"description":"Subscription id"}],"responses":{"200":{"description":"Removed","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true}},"required":["ok"]}}}},"401":{"description":"No key, a key that wasn't recognized, or one that expired (code: key_expired)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"A read-only key, a key for some events only, or the subscription limit (25)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such subscription","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than the key's requests this minute (code: rate_limited): see Retry-After and the X-RateLimit-* headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"webhooks":{"registration.created":{"post":{"operationId":"webhook_registration_created","summary":"Someone registered.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"registration.created"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"via":{"type":"string","description":"luma | zoom | host | import, when it came from there"}},"required":["event","registrant"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"registration.updated":{"post":{"operationId":"webhook_registration_updated","summary":"Someone already registered registered again (a new name, hope or way in).","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"registration.updated"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"via":{"type":"string","description":"luma | zoom | host | import, when it came from there"}},"required":["event","registrant"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"registration.promoted":{"post":{"operationId":"webhook_registration_promoted","summary":"Moved up from the waitlist.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"registration.promoted"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"via":{"type":"string","description":"luma | zoom | host | import, when it came from there"}},"required":["event","registrant"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"registration.cancelled":{"post":{"operationId":"webhook_registration_cancelled","summary":"A registration was cancelled, here or on the platform (via: \"luma\" | \"zoom\" | \"eventbrite\" | \"meetup\" when it came from there), or the whole event was (via: \"event\", one per person, after event.cancelled), or it was handed to a colleague (via: \"transfer\"), or a held place ran out unconfirmed or unclaimed (via: \"lapsed\").","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"registration.cancelled"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"via":{"type":"string","description":"luma | zoom | host | import, when it came from there"}},"required":["event","registrant"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"registration.attended":{"post":{"operationId":"webhook_registration_attended","summary":"They came, once per change (via: \"host\" or \"import\" for a mark or a list, \"door\" or \"room\" for checking in or coming into the live room, \"luma\" | \"zoom\" | \"eventbrite\" | \"meetup\" read back from there).","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"registration.attended"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"via":{"type":"string","description":"luma | zoom | host | import, when it came from there"}},"required":["event","registrant"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"registration.no_show":{"post":{"operationId":"webhook_registration_no_show","summary":"Marked as not having come, once per change (via: \"host\", \"import\" for a list, \"zoom\" from its participants).","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"registration.no_show"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"via":{"type":"string","description":"luma | zoom | host | import, when it came from there"}},"required":["event","registrant"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"registration.erased":{"post":{"operationId":"webhook_registration_erased","summary":"A registrant was erased at their request (or deleted by the host): delete your copy. Only the ids, nothing personal.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"registration.erased"},"data":{"type":"object","properties":{"event":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]},"registrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]}},"required":["event","registrant"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"invite.accepted":{"post":{"operationId":"webhook_invite_accepted","summary":"Someone you invited by name accepted their invitation.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"invite.accepted"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"invite":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}}}},"required":["event","registrant","invite"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"question.created":{"post":{"operationId":"webhook_question_created","summary":"A registrant asked a question.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"question.created"},"data":{"type":"object","properties":{"event":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"page_url":{"type":"string"}}},"registrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string"},"name":{"type":["string","null"]},"company":{"type":"object","properties":{"name":{"type":["string","null"]},"domain":{"type":["string","null"]}}},"source":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"kind":{"type":"string"},"code":{"type":"string"}}}}},"question":{"type":"string"}}}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"question.answered":{"post":{"operationId":"webhook_question_answered","summary":"You answered a registrant's question.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"question.answered"},"data":{"type":"object","properties":{"event":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}}},"question":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"body":{"type":"string"},"answer":{"type":"string"}}},"registrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"company":{"type":"object","properties":{"name":{"type":["string","null"]},"domain":{"type":["string","null"]}}},"source":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"kind":{"type":"string"},"code":{"type":"string"}}}}}}}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"research.completed":{"post":{"operationId":"webhook_research_completed","summary":"The lens research on a registrant's company finished (status done or failed), with the answers.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"research.completed"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"research":{"type":"object","properties":{"status":{"type":"string","enum":["done","failed"]},"domain":{"type":"string"},"company_name":{"type":["string","null"]},"company_description":{"type":["string","null"]},"help":{"type":["string","null"]},"questions":{"type":"array","items":{"type":"string"}},"answers":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string"},"answer":{"type":["string","null"]},"why":{"type":["string","null"],"description":"The page the answer came from"}}}},"error":{"type":["string","null"]}}}},"required":["event","registrant","research"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"playbook.ready":{"post":{"operationId":"webhook_playbook_ready","summary":"A registrant's growth playbook is ready (the personal view link is emailed to them, never sent here).","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"playbook.ready"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"playbook":{"type":"object","properties":{"domain":{"type":"string"},"company_name":{"type":["string","null"]}}}}}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"event.created":{"post":{"operationId":"webhook_event_created","summary":"An event was made on the account: by the host, the API, an import, a copy or a series' next session. A draft too; event.status says which. event.published follows when it goes live.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"event.created"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"}},"required":["event"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"event.published":{"post":{"operationId":"webhook_event_published","summary":"An event went live here (where: \"here\"), or was published to Luma, Zoom, Eventbrite or Meetup (where: the platform, with its url).","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"event.published"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"where":{"type":"string","enum":["here","luma","zoom","eventbrite","meetup"]},"url":{"type":["string","null"]}},"required":["event","where"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"event.updated":{"post":{"operationId":"webhook_event_updated","summary":"A live event was changed.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"event.updated"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"changed":{"type":"array","items":{"type":"string"}}},"required":["event","changed"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"event.cancelled":{"post":{"operationId":"webhook_event_cancelled","summary":"The host cancelled the whole event. A registration.cancelled (via: \"event\") follows for each person.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"event.cancelled"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"note":{"type":["string","null"]},"cancelled":{"type":"integer"}},"required":["event","cancelled"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"event.outputs_received":{"post":{"operationId":"webhook_event_outputs_received","summary":"What a session left behind arrived from programmable.media (or another tool, through MCP talk_post_event_outputs): the recap and the attendance counts, people and AI attendees apart. Once per output, not again on a retry. The recording and notes links are not sent, only whether there are any: the host has them in the event's After tab.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"event.outputs_received"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"outputs":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"source":{"type":"string","description":"Who sent it, e.g. programmable.media"},"room_id":{"type":"string"},"recap":{"type":["object","null"],"properties":{"summary":{"type":"string"},"highlights":{"type":"array","items":{"type":"object","properties":{"at_s":{"type":"number"},"text":{"type":"string"}}}},"action_items":{"type":"array","items":{"type":"string"}}}},"attendance":{"type":["object","null"],"properties":{"people":{"type":"integer"},"ai_attendees":{"type":"integer"},"peak":{"type":["integer","null"]},"minutes":{"type":["integer","null"]}}},"has_recording":{"type":"boolean"},"has_notes":{"type":"boolean"}},"required":["id","source","room_id","has_recording","has_notes"]}},"required":["event","outputs"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"match.completed":{"post":{"operationId":"webhook_match_completed","summary":"A tournament match was decided: a result entered or confirmed by both sides, or a forfeit (someone dropped or was disqualified). Not byes. A correction decides it again.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"match.completed"},"data":{"type":"object","properties":{"event":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"starts_at":{"type":["string","null"],"format":"date-time"},"page_url":{"type":"string"}}},"match":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string","description":"Its place in the bracket: W2-1 (winners' round 2, match 1), L3-2, GF1, G1R2-3 (group 1, round 2), SW4-1, P1-2 (playoffs)"},"bracket":{"type":"string","enum":["W","L","GF","RR","SW","P"]},"group":{"type":"integer"},"round":{"type":"integer"},"a":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"b":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"winner":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"draw":{"type":"boolean"},"games":{"type":"array","items":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"description":"Per game or set, [a, b]"},"kind":{"type":"string","enum":["played","forfeit","dq"]}}}},"required":["event","match"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"tournament.completed":{"post":{"operationId":"webhook_tournament_completed","summary":"A tournament has its result: a champion, the last round in, or the host finished it. With the final table.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"tournament.completed"},"data":{"type":"object","properties":{"event":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"starts_at":{"type":["string","null"],"format":"date-time"},"page_url":{"type":"string"}}},"tournament":{"type":"object","properties":{"format":{"type":"string","enum":["single","double","round_robin","swiss","judged"]},"entrants":{"type":"integer"}}},"champion":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"standings":{"type":"array","items":{"type":"object","properties":{"place":{"type":["integer","null"]},"entrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]}}},"description":"The top 16, best first"}},"required":["event","tournament","standings"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"push.failed":{"post":{"operationId":"webhook_push_failed","summary":"A registrant couldn't be sent to Luma or Zoom after every retry (action: \"add\"), or their cancellation couldn't (action: \"cancel\"); where names the places that failed (the home, the Zoom call, the Luma copy).","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"push.failed"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"registrant":{"$ref":"#/components/schemas/WebhookRegistrant"},"error":{"type":["string","null"]},"action":{"type":"string","enum":["add","cancel"]},"where":{"type":"array","items":{"type":"string"},"description":"The places that failed: \"Luma\" or \"Zoom\" (the home), \"Zoom (the call)\", \"Luma (the copy)\""}}}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"publish.failed":{"post":{"operationId":"webhook_publish_failed","summary":"Publishing an event to Luma, Zoom, Eventbrite or Meetup failed.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"publish.failed"},"data":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/WebhookEvent"},"where":{"type":"string"},"error":{"type":"string"}}}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"connection.failing":{"post":{"operationId":"webhook_connection_failing","summary":"A connection stopped working (a refused key, a sign-in that expired, the app removed on the provider's side), or a subscription was switched off by itself (connection.kind: \"subscription\"). Once each time, until it works again.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"connection.failing"},"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"kind":{"type":"string","description":"The connection's kind (luma, zoom, hubspot…), or \"subscription\" for a REST-hook subscription switched off"},"name":{"type":"string"},"id":{"type":"string","description":"The subscription's id, for a subscription"}},"required":["kind","name"]},"error":{"type":"string","description":"The service's own words, as Settings shows them"},"settings_url":{"type":"string"}},"required":["connection","error","settings_url"]}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}},"test.ping":{"post":{"operationId":"webhook_test_ping","summary":"Sent by \"Send a test event\" in Developers › Webhooks. Only to the account webhook.","tags":["Webhooks"],"parameters":[{"name":"X-Programmable-Signature","in":"header","required":true,"schema":{"type":"string"},"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" keyed with the signing secret>. For 24 hours after the account webhook's secret is rotated there are two v1= values, the new secret's first and the old one's second: accept the request when any v1 matches the secret you hold."},{"name":"X-Programmable-Id","in":"header","required":true,"schema":{"type":"string"},"description":"The delivery id: one per event per endpoint, the same on every retry. Not the body's id, which names the event."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/WebhookEnvelope"},{"type":"object","properties":{"type":{"const":"test.ping"},"data":{"type":"object","properties":{"message":{"type":"string"}}}}}]}}}},"responses":{"2XX":{"description":"Received. Answer within 15 seconds; anything else is retried (408, 409, 425, 429, 5xx, timeouts) or given up on."}}}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"pev_…","description":"An API key from Developers. Read keys may GET (x-scope: read), and POST the export of chosen registrants, which changes nothing; full keys may do everything here. A few GETs need a full key because of what they answer. A key may end (401, code key_expired, after that), and may be for some events only (403 elsewhere)."}},"schemas":{"AudienceFilter":{"type":"object","properties":{"answers":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","pattern":"^[a-z0-9_]{1,40}$","description":"The id of a question on the event's form"},"op":{"type":"string","enum":["is","one_of","contains","answered","not_answered","ticked","not_ticked"],"description":"A checkbox: ticked or not_ticked. A choice: is, one_of, answered, not_answered. Text: those and contains."},"values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20,"description":"is: one; one_of: up to 20; contains: up to 5 (any of them). A choice's values are its options; text is matched ignoring case."}},"required":["field","op"],"additionalProperties":false},"maxItems":6},"domains":{"type":"array","items":{"type":"string","maxLength":253},"maxItems":50,"description":"Their company domain is one of these"},"work_only":{"type":"boolean","description":"Leave out personal addresses (gmail.com, outlook.com and the like)"},"ways_in":{"type":"array","items":{"type":"string","pattern":"^[a-z0-9]{2,24}$"},"maxItems":30,"description":"Came through one of these ways in, by code"},"channels":{"type":"array","items":{"type":"string","enum":["page","email","invite","api","import","transfer","team","sms","luma","zoom","eventbrite","meetup"]}},"utm_campaign":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":20,"description":"Their utm_campaign is one of these (ignoring case)"},"utm_source":{"type":"array","items":{"type":"string","maxLength":200},"maxItems":20},"guests":{"type":"string","enum":["self","guests"],"description":"self: only people who registered themselves; guests: only guests"},"registered_within_days":{"type":"integer","minimum":1,"maximum":365},"registered_after":{"type":"string","format":"date","description":"On or after this day, on the event's clock"},"registered_before":{"type":"string","format":"date","description":"Before this day, on the event's clock"},"survey":{"type":"string","enum":["answered","not_answered"],"description":"The post-event survey"}},"additionalProperties":false,"description":"Narrows an email step's group. Nothing about opens, clicks, watching or visits: emails and pages aren't tracked per person. A question or way in the event doesn't have is refused when the step is saved, and a copied step naming one doesn't run until it's changed."},"AudienceCount":{"type":"object","properties":{"people":{"type":"integer","description":"Who it would be listed for now (not anyone the step has reached)"},"unsubscribed":{"type":"integer","description":"Of them, who unsubscribed from you: skipped"},"going":{"type":"integer","description":"people − unsubscribed"},"words":{"type":"string","description":"\"who came · Role is CTO · work addresses only\""},"problems":{"type":"array","items":{"type":"string"},"description":"What in the filter the event doesn't have; while there's any, the counts are 0 and the step won't run"}},"required":["people","unsubscribed","going","words","problems"]},"Error":{"type":"object","properties":{"error":{"type":"string"},"code":{"type":"string","description":"Machine-readable, sometimes: upgrade, closing"}},"required":["error"]},"EventInput":{"type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"summary":{"type":"string","maxLength":4000},"host_name":{"type":"string","maxLength":120},"host_offer":{"type":"string","maxLength":1500},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string","maxLength":64,"default":"UTC"},"location":{"type":"string","maxLength":300},"platform":{"type":"string","enum":["luma","eventbrite","zoom","meetup","other","here"],"default":"other"},"platform_url":{"type":["string","null"],"format":"uri"},"platform_ref":{"type":["string","null"],"maxLength":200},"push_mode":{"type":"string","enum":["api","link","none"],"default":"link"},"hope_question":{"type":"string","minLength":3,"maxLength":200},"lens":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string","minLength":5,"maxLength":600}},"required":["prompt"]},"maxItems":3},"research":{"type":"boolean","default":true},"status":{"type":"string","enum":["draft","live","closed"],"default":"live"},"reminders":{"type":"boolean","default":true},"recording_url":{"type":["string","null"],"format":"uri"},"video_url":{"type":["string","null"],"format":"uri"},"booking_url":{"type":["string","null"],"format":"uri"},"community_url":{"type":["string","null"],"format":"uri"},"next_url":{"type":["string","null"],"format":"uri"},"review_url":{"type":["string","null"],"format":"uri"},"followup_note":{"type":"string","maxLength":4000},"followup_format":{"type":"string","enum":["simple","html"],"description":"Which follow-up note goes: followup_note (simple formatting, the default) or followup_html"},"followup_html":{"type":"string","maxLength":100000,"description":"The follow-up's note as pasted HTML, cleaned on the server to a strict allowlist (no scripts, no outside images, https and mailto links only). Set it with PATCH."},"quotes":{"type":"array","items":{"type":"object","properties":{"quote":{"type":"string","minLength":5,"maxLength":400},"name":{"type":"string","minLength":1,"maxLength":80},"role":{"type":"string","maxLength":120}},"required":["quote","name"]},"maxItems":12},"capacity":{"type":["integer","null"],"minimum":1,"maximum":1000000},"series_id":{"type":["string","null"],"format":"uuid"},"theme":{"type":"object","properties":{"accent":{"type":"string","enum":["emerald","blue","violet","rose","amber","slate","brand"]},"cover":{"type":"string","maxLength":2000,"description":"An https:// image or an uploaded /a/<id>"}}},"listed":{"type":"boolean"},"template":{"type":"string","enum":["talk","evaluation"],"default":"talk"},"template_config":{"type":"object","properties":{"rereview_days":{"type":"integer","minimum":0,"maximum":180}}},"growth_playbooks":{"type":"boolean"},"cover_design":{"type":["string","null"],"maxLength":2000,"description":"A programmable.digital share link"},"form":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"maxItems":12,"description":"The host's own sign-up questions: { id, label, type, required, options, help }, with type one of short, long, select, multi, checkbox, phone, url, number"},"approval":{"type":"boolean","description":"Each registration waits for the host (status pending)"},"on_demand":{"type":"boolean"},"certificates":{"type":"boolean"},"sponsor_leads":{"type":"boolean"},"reply_tag":{"type":"string","nullable":true,"description":"The tag that registers someone who replies to an invitation with it (no \"#\"; null: #register). A plain \"yes\" works too."},"sms_reminders":{"type":"boolean","description":"Text reminders on the host's own Twilio, to registrants who ask"},"guest_list":{"type":"boolean"},"language":{"type":"string","enum":["en","es","fr","de","pt","it"]},"simulive":{"type":"boolean"},"guests_allowed":{"type":"integer","minimum":0,"maximum":5},"confirm_hold_hours":{"type":["integer","null"],"minimum":1,"maximum":168,"description":"Typed sign-ups hold a place until they confirm from the email (capacity-limited events); null is off"},"claim_window_hours":{"type":["integer","null"],"minimum":1,"maximum":168,"description":"Someone moved up from the waitlist claims the place within this long, else the next is offered it; null: in straight away"},"waitlist_cutoff_hours":{"type":"integer","minimum":0,"maximum":168,"description":"Nobody moves up from the waitlist this close to the start (default 2)"},"ai_attendees_max":{"type":["integer","null"],"minimum":0,"maximum":50,"description":"AI attendees (AI registrants) this event takes: null is the default, 10; 0 none. Never past the server's AI_REGISTRANTS_MAX. Lowering it removes nobody; it only stops new ones"},"referral_reward":{"type":["object","null"],"properties":{"count":{"type":"integer","minimum":1,"maximum":50},"reward":{"type":"string","minLength":3,"maxLength":300},"link":{"type":["string","null"],"format":"uri"}},"required":["count","reward"]},"survey":{"type":["object","null"],"properties":{"on":{"type":"boolean","default":false},"nps":{"type":"boolean","default":true},"questions":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"description":"Questions shaped like form"}}},"reminder_plan":{"type":["object","null"],"properties":{"early_min":{"type":"integer","enum":[0,1440,2880,10080]},"soon_min":{"type":"integer","enum":[0,15,60,120]},"note":{"type":"string","maxLength":1500}},"required":["early_min","soon_min"]},"format":{"type":["string","null"]},"sentence":{"type":"string","maxLength":1000,"description":"The sentence it was made from"},"ticket_price_cents":{"type":["integer","null"],"minimum":50,"maximum":10000000,"description":"Sold by the platform when published to Eventbrite or Luma, never here; null is free"},"ticket_currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{1,47}$"}},"required":["title"]},"EventPatch":{"type":"object","properties":{"title":{"type":"string","minLength":2,"maxLength":160},"summary":{"type":"string","maxLength":4000},"host_name":{"type":"string","maxLength":120},"host_offer":{"type":"string","maxLength":1500},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string","maxLength":64,"default":"UTC"},"location":{"type":"string","maxLength":300},"platform":{"type":"string","enum":["luma","eventbrite","zoom","meetup","other","here"],"default":"other"},"platform_url":{"type":["string","null"],"format":"uri"},"platform_ref":{"type":["string","null"],"maxLength":200},"push_mode":{"type":"string","enum":["api","link","none"],"default":"link"},"hope_question":{"type":"string","minLength":3,"maxLength":200},"lens":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string","minLength":5,"maxLength":600}},"required":["prompt"]},"maxItems":3},"research":{"type":"boolean","default":true},"status":{"type":"string","enum":["draft","live","closed"],"default":"live"},"reminders":{"type":"boolean","default":true},"recording_url":{"type":["string","null"],"format":"uri"},"video_url":{"type":["string","null"],"format":"uri"},"booking_url":{"type":["string","null"],"format":"uri"},"community_url":{"type":["string","null"],"format":"uri"},"next_url":{"type":["string","null"],"format":"uri"},"review_url":{"type":["string","null"],"format":"uri"},"followup_note":{"type":"string","maxLength":4000},"followup_format":{"type":"string","enum":["simple","html"],"description":"Which follow-up note goes: followup_note (simple formatting, the default) or followup_html"},"followup_html":{"type":"string","maxLength":100000,"description":"The follow-up's note as pasted HTML, cleaned on the server to a strict allowlist (no scripts, no outside images, https and mailto links only). Set it with PATCH."},"quotes":{"type":"array","items":{"type":"object","properties":{"quote":{"type":"string","minLength":5,"maxLength":400},"name":{"type":"string","minLength":1,"maxLength":80},"role":{"type":"string","maxLength":120}},"required":["quote","name"]},"maxItems":12},"capacity":{"type":["integer","null"],"minimum":1,"maximum":1000000},"series_id":{"type":["string","null"],"format":"uuid"},"theme":{"type":"object","properties":{"accent":{"type":"string","enum":["emerald","blue","violet","rose","amber","slate","brand"]},"cover":{"type":"string","maxLength":2000,"description":"An https:// image or an uploaded /a/<id>"}}},"listed":{"type":"boolean"},"template":{"type":"string","enum":["talk","evaluation"],"default":"talk"},"template_config":{"type":"object","properties":{"rereview_days":{"type":"integer","minimum":0,"maximum":180}}},"growth_playbooks":{"type":"boolean"},"cover_design":{"type":["string","null"],"maxLength":2000,"description":"A programmable.digital share link"},"form":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"maxItems":12,"description":"The host's own sign-up questions: { id, label, type, required, options, help }, with type one of short, long, select, multi, checkbox, phone, url, number"},"approval":{"type":"boolean","description":"Each registration waits for the host (status pending)"},"on_demand":{"type":"boolean"},"certificates":{"type":"boolean"},"sponsor_leads":{"type":"boolean"},"reply_tag":{"type":"string","nullable":true,"description":"The tag that registers someone who replies to an invitation with it (no \"#\"; null: #register). A plain \"yes\" works too."},"sms_reminders":{"type":"boolean","description":"Text reminders on the host's own Twilio, to registrants who ask"},"guest_list":{"type":"boolean"},"language":{"type":"string","enum":["en","es","fr","de","pt","it"]},"simulive":{"type":"boolean"},"guests_allowed":{"type":"integer","minimum":0,"maximum":5},"confirm_hold_hours":{"type":["integer","null"],"minimum":1,"maximum":168,"description":"Typed sign-ups hold a place until they confirm from the email (capacity-limited events); null is off"},"claim_window_hours":{"type":["integer","null"],"minimum":1,"maximum":168,"description":"Someone moved up from the waitlist claims the place within this long, else the next is offered it; null: in straight away"},"waitlist_cutoff_hours":{"type":"integer","minimum":0,"maximum":168,"description":"Nobody moves up from the waitlist this close to the start (default 2)"},"ai_attendees_max":{"type":["integer","null"],"minimum":0,"maximum":50,"description":"AI attendees (AI registrants) this event takes: null is the default, 10; 0 none. Never past the server's AI_REGISTRANTS_MAX. Lowering it removes nobody; it only stops new ones"},"referral_reward":{"type":["object","null"],"properties":{"count":{"type":"integer","minimum":1,"maximum":50},"reward":{"type":"string","minLength":3,"maxLength":300},"link":{"type":["string","null"],"format":"uri"}},"required":["count","reward"]},"survey":{"type":["object","null"],"properties":{"on":{"type":"boolean","default":false},"nps":{"type":"boolean","default":true},"questions":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"description":"Questions shaped like form"}}},"reminder_plan":{"type":["object","null"],"properties":{"early_min":{"type":"integer","enum":[0,1440,2880,10080]},"soon_min":{"type":"integer","enum":[0,15,60,120]},"note":{"type":"string","maxLength":1500}},"required":["early_min","soon_min"]},"format":{"type":["string","null"]},"sentence":{"type":"string","maxLength":1000,"description":"The sentence it was made from"},"ticket_price_cents":{"type":["integer","null"],"minimum":50,"maximum":10000000,"description":"Sold by the platform when published to Eventbrite or Luma, never here; null is free"},"ticket_currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"}},"description":"Any EventInput field; slug is ignored."},"Event":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string","minLength":2,"maxLength":160},"summary":{"type":"string","maxLength":4000},"host_name":{"type":"string","maxLength":120},"host_offer":{"type":"string","maxLength":1500},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string","maxLength":64,"default":"UTC"},"location":{"type":"string","maxLength":300},"platform":{"type":"string","enum":["luma","eventbrite","zoom","meetup","other","here"],"default":"other"},"platform_url":{"type":["string","null"],"format":"uri"},"platform_ref":{"type":["string","null"],"maxLength":200},"push_mode":{"type":"string","enum":["api","link","none"],"default":"link"},"hope_question":{"type":"string","minLength":3,"maxLength":200},"lens":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string","minLength":5,"maxLength":600}},"required":["prompt"]},"maxItems":3},"research":{"type":"boolean","default":true},"status":{"type":"string","enum":["draft","live","closed"],"default":"live"},"reminders":{"type":"boolean","default":true},"recording_url":{"type":["string","null"],"format":"uri"},"video_url":{"type":["string","null"],"format":"uri"},"booking_url":{"type":["string","null"],"format":"uri"},"community_url":{"type":["string","null"],"format":"uri"},"next_url":{"type":["string","null"],"format":"uri"},"review_url":{"type":["string","null"],"format":"uri"},"followup_note":{"type":"string","maxLength":4000},"followup_format":{"type":"string","enum":["simple","html"],"description":"Which follow-up note goes: followup_note (simple formatting, the default) or followup_html"},"followup_html":{"type":"string","maxLength":100000,"description":"The follow-up's note as pasted HTML, cleaned on the server to a strict allowlist (no scripts, no outside images, https and mailto links only). Set it with PATCH."},"quotes":{"type":"array","items":{"type":"object","properties":{"quote":{"type":"string","minLength":5,"maxLength":400},"name":{"type":"string","minLength":1,"maxLength":80},"role":{"type":"string","maxLength":120}},"required":["quote","name"]},"maxItems":12},"capacity":{"type":["integer","null"],"minimum":1,"maximum":1000000},"series_id":{"type":["string","null"],"format":"uuid"},"theme":{"type":"object","properties":{"accent":{"type":"string","enum":["emerald","blue","violet","rose","amber","slate","brand"]},"cover":{"type":"string","maxLength":2000,"description":"An https:// image or an uploaded /a/<id>"}}},"listed":{"type":"boolean"},"template":{"type":"string","enum":["talk","evaluation"],"default":"talk"},"template_config":{"type":"object","properties":{"rereview_days":{"type":"integer","minimum":0,"maximum":180}}},"growth_playbooks":{"type":"boolean"},"cover_design":{"type":["string","null"],"maxLength":2000,"description":"A programmable.digital share link"},"form":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"maxItems":12,"description":"The host's own sign-up questions: { id, label, type, required, options, help }, with type one of short, long, select, multi, checkbox, phone, url, number"},"approval":{"type":"boolean","description":"Each registration waits for the host (status pending)"},"on_demand":{"type":"boolean"},"certificates":{"type":"boolean"},"sponsor_leads":{"type":"boolean"},"reply_tag":{"type":"string","nullable":true,"description":"The tag that registers someone who replies to an invitation with it (no \"#\"; null: #register). A plain \"yes\" works too."},"sms_reminders":{"type":"boolean","description":"Text reminders on the host's own Twilio, to registrants who ask"},"guest_list":{"type":"boolean"},"language":{"type":"string","enum":["en","es","fr","de","pt","it"]},"simulive":{"type":"boolean"},"guests_allowed":{"type":"integer","minimum":0,"maximum":5},"confirm_hold_hours":{"type":["integer","null"],"minimum":1,"maximum":168,"description":"Typed sign-ups hold a place until they confirm from the email (capacity-limited events); null is off"},"claim_window_hours":{"type":["integer","null"],"minimum":1,"maximum":168,"description":"Someone moved up from the waitlist claims the place within this long, else the next is offered it; null: in straight away"},"waitlist_cutoff_hours":{"type":"integer","minimum":0,"maximum":168,"description":"Nobody moves up from the waitlist this close to the start (default 2)"},"ai_attendees_max":{"type":["integer","null"],"minimum":0,"maximum":50,"description":"AI attendees (AI registrants) this event takes: null is the default, 10; 0 none. Never past the server's AI_REGISTRANTS_MAX. Lowering it removes nobody; it only stops new ones"},"referral_reward":{"type":["object","null"],"properties":{"count":{"type":"integer","minimum":1,"maximum":50},"reward":{"type":"string","minLength":3,"maxLength":300},"link":{"type":["string","null"],"format":"uri"}},"required":["count","reward"]},"survey":{"type":["object","null"],"properties":{"on":{"type":"boolean","default":false},"nps":{"type":"boolean","default":true},"questions":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true},"description":"Questions shaped like form"}}},"reminder_plan":{"type":["object","null"],"properties":{"early_min":{"type":"integer","enum":[0,1440,2880,10080]},"soon_min":{"type":"integer","enum":[0,15,60,120]},"note":{"type":"string","maxLength":1500}},"required":["early_min","soon_min"]},"format":{"type":["string","null"]},"sentence":{"type":"string","maxLength":1000,"description":"The sentence it was made from"},"ticket_price_cents":{"type":["integer","null"],"minimum":50,"maximum":10000000,"description":"Sold by the platform when published to Eventbrite or Luma, never here; null is free"},"ticket_currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$"},"created_at":{"type":"string","format":"date-time"}},"required":["id","slug","title","status"],"additionalProperties":true},"EventListItem":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"registrants":{"type":"integer"},"last_7_days":{"type":"integer"}}}]},"Registrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"event_id":{"type":"string","format":"uuid"},"email":{"type":"string","format":"email"},"name":{"type":["string","null"]},"company_domain":{"type":["string","null"]},"company_name":{"type":["string","null"]},"source_id":{"type":["string","null"],"format":"uuid"},"source_label":{"type":["string","null"]},"channel":{"type":"string","enum":["email","page","invite","api","import","transfer","team","sms","luma","zoom","eventbrite","meetup"],"description":"transfer: a colleague sent in someone's place (transferred_from); sms: they texted the event's keyword and their email to the host's own Twilio number"},"status":{"type":"string","enum":["registered","waitlisted","pending","pending_confirm","cancelled","attended","no_show"],"description":"pending: waiting for the host's approval; pending_confirm: a place held until they confirm it (or claim it, off the waitlist)"},"hope":{"type":["string","null"]},"questions":{"type":"array","items":{"type":"string"}},"help":{"type":["string","null"]},"research_status":{"type":"string","enum":["pending","running","done","failed","skipped"]},"push_status":{"type":"string","enum":["pending","done","failed","skipped"]},"push_error":{"type":["string","null"]},"join_url":{"type":["string","null"]},"utm":{"type":"object","properties":{},"additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}},"required":["id","email","status","channel","created_at"]},"Source":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"label":{"type":"string"},"kind":{"type":"string","enum":["link","qr","email","card","speaker","registrant","partner","invite","listing","linkedin"]},"clicks":{"type":"integer"},"scans":{"type":"integer"},"short":{"type":["string","null"]},"registrations":{"type":"integer"},"utm":{"type":"object","properties":{},"additionalProperties":{"type":"string"}},"then_url":{"type":["string","null"]},"then_opens":{"type":"integer","description":"How many times someone went on from the short email link to then_url. A count only."},"created_at":{"type":"string","format":"date-time"}}},"Speaker":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"position":{"type":"integer"},"name":{"type":"string"},"role":{"type":"string"},"talk_title":{"type":"string"},"bio":{"type":"string"},"link":{"type":["string","null"]},"photo_asset_id":{"type":["string","null"],"format":"uuid"},"photo":{"type":["string","null"]},"code":{"type":["string","null"]}}},"Sponsor":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"event_id":{"type":"string","format":"uuid"},"position":{"type":"integer"},"name":{"type":"string"},"logo_asset_id":{"type":["string","null"],"format":"uuid"},"logo":{"type":["string","null"]},"url":{"type":["string","null"]}}},"Session":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"event_id":{"type":"string","format":"uuid"},"title":{"type":"string"},"description":{"type":"string"},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"track":{"type":"string","description":"The stage, room or theme it runs in; '' with one track"},"room":{"type":"string"},"kind":{"type":"string","enum":["talk","panel","keynote","workshop","break"]},"position":{"type":"integer"},"speakers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"role":{"type":"string"},"photo":{"type":["string","null"]}}}}}},"Site":{"type":"object","properties":{"on":{"type":"boolean","description":"The site's pages show; off, the event page is as it always was"},"pages":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"agenda, speakers, sponsors, venue, faq, or p:<page slug>"},"show":{"type":"boolean"}}},"description":"Nav order. A page shows when it's shown here and has something on it"},"venue":{"type":"object","properties":{"name":{"type":"string"},"address":{"type":"string"},"map_url":{"type":["string","null"],"format":"uri"},"travel":{"type":"string"},"hotels":{"type":"string"}}},"faq":{"type":"array","items":{"type":"object","properties":{"q":{"type":"string"},"a":{"type":"string"}}}}}},"SitePage":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"event_id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"body":{"type":"string","description":"The same marks as the description: **bold**, *italic*, [links](https://…), # headings, - lists"},"updated_at":{"type":"string","format":"date-time"}}},"Post":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"event_id":{"type":"string","format":"uuid"},"kind":{"type":"string"},"speaker_id":{"type":["string","null"],"format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"excerpt":{"type":"string"},"body":{"type":"string"},"status":{"type":"string","enum":["draft","published"]},"code":{"type":["string","null"]},"published_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"}}},"Kit":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"kind":{"type":"string","enum":["speaker","partner"]},"name":{"type":"string"},"email":{"type":["string","null"]},"clicks":{"type":"integer"},"registrations":{"type":"integer"},"link":{"type":["string","null"],"format":"uri"},"sent_at":{"type":["string","null"],"format":"date-time"}}},"Publication":{"type":"object","properties":{"platform":{"type":"string","enum":["luma","zoom","eventbrite","meetup"]},"external_id":{"type":["string","null"]},"url":{"type":["string","null"]},"status":{"type":"string","enum":["published","failed"]},"last_error":{"type":["string","null"]},"published_at":{"type":["string","null"],"format":"date-time"}}},"Invite":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string"},"name":{"type":["string","null"]},"company_domain":{"type":["string","null"]},"note":{"type":["string","null"]},"status":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"personal":{"type":"boolean"},"review_status":{"type":"string"},"has_link":{"type":"boolean"},"declined_at":{"type":["string","null"],"format":"date-time"}}},"Template":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"setup":{"type":"object","properties":{"title":{"type":"string"},"summary":{"type":"string"},"host_name":{"type":"string"},"host_offer":{"type":"string"},"hope_question":{"type":"string"},"lens":{"type":"array","items":{"type":"object","properties":{"prompt":{"type":"string"}}}},"research":{"type":"boolean"},"reminders":{"type":"boolean"},"growth_playbooks":{"type":"boolean"},"platform":{"type":"string"},"location":{"type":"string"},"length_min":{"type":["integer","null"]},"time":{"type":["string","null"],"description":"Usual start, HH:MM in timezone"},"timezone":{"type":"string"},"capacity":{"type":["integer","null"]},"listed":{"type":"boolean"},"theme":{"type":"object","properties":{},"additionalProperties":true},"cover_design":{"type":["string","null"]},"template":{"type":"string","enum":["talk","evaluation"]},"template_config":{"type":"object","properties":{},"additionalProperties":true},"community_url":{"type":["string","null"],"format":"uri"},"speakers":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"role":{"type":"string"},"talk_title":{"type":"string"},"bio":{"type":"string"},"library_id":{"type":["string","null"],"format":"uuid"}}}},"sponsors":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"library_id":{"type":["string","null"],"format":"uuid"}}}},"ways_in":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"kind":{"type":"string","enum":["link","qr","card","partner"]},"utm":{"type":"object","properties":{},"additionalProperties":{"type":"string"}}}}}},"description":"The event's setup: never registrants, after-content, platform links or secrets"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"Series":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"community_url":{"type":["string","null"],"format":"uri"},"created_at":{"type":"string","format":"date-time"},"sessions":{"type":"integer"},"next_at":{"type":["string","null"],"format":"date-time"}}},"PlaybookSummary":{"type":"object","properties":{"ready":{"type":"integer"},"mailed":{"type":"integer"},"waiting":{"type":"integer"},"errors":{"type":"integer"},"needed":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string"},"company_name":{"type":["string","null"]},"remote":{"type":"string"},"people":{"type":"integer"}}}}}},"Stream":{"type":["object","null"],"properties":{"stream":{"type":"object","properties":{"provider":{"type":"string","enum":["cloudflare","mux"]},"ingest":{"type":"string"},"player":{"type":"string"}}},"key":{"type":["string","null"],"description":"The stream key: only to the owner and editors"}}},"RoomView":{"type":"object","properties":{"phase":{"type":"string"},"room":{"type":"object","properties":{},"additionalProperties":true},"video":{"type":["object","null"],"properties":{},"additionalProperties":true},"questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"body":{"type":"string"},"votes":{"type":"integer"},"ai_votes":{"type":"integer","description":"Of the votes, how many were AI attendees'"},"by":{"type":"string","enum":["person","ai","host"],"description":"Who asked: a person, an AI registrant, or the host. An AI's or the host's question is never the audience's"},"shared":{"type":"boolean"},"live":{"type":"boolean"},"answered":{"type":"boolean"},"answer":{"type":["string","null"]},"hidden":{"type":"boolean"},"who":{"type":"string","description":"A person's name or address, an AI registrant's name ending in \"(AI)\", or \"Host\""}}}},"polls":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true}},"chat":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true}},"here":{"type":"integer"},"joined":{"type":"integer"}},"additionalProperties":true},"CancelOutcome":{"type":"object","properties":{"platform":{"type":"string","enum":["luma","zoom","eventbrite","meetup"]},"done":{"type":"boolean","description":"Cancelled (or already gone) there"},"note":{"type":"string","description":"What happened, or what to do on the platform by hand"}},"required":["platform","done","note"]},"ExportResult":{"type":"object","properties":{"sent":{"type":"integer"},"skipped":{"type":"integer"},"failed":{"type":"integer"},"notes":{"type":"array","items":{"type":"string"},"description":"What was skipped and why, what failed"},"running":{"type":"boolean","description":"A large Mailchimp send handed to a batch: the counts come later"},"export_id":{"type":"string"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"href":{"type":"string"}},"required":["label","href"]},"description":"programmable-social: links that open a follow-up plan there for who came and who didn't (nothing is sent from them)"}},"required":["sent","skipped","failed","notes"],"description":"Counts of what went, never who"},"CampaignStep":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"event_id":{"type":"string","format":"uuid"},"anchor":{"type":"string","enum":["start","end","quiet"]},"offset_min":{"type":"integer"},"action":{"type":"string","enum":["write_post","note","publish","send_followup","export_to","close"]},"args":{"type":"object","properties":{},"additionalProperties":{"type":"string"}},"approval":{"type":"string","enum":["hold","auto"]},"status":{"type":"string","enum":["scheduled","held","running","done","failed","skipped","off"]},"result":{"type":["string","null"]},"held_at":{"type":["string","null"],"format":"date-time"},"ran_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"due_at":{"type":["string","null"],"format":"date-time"},"when":{"type":"string","description":"\"A week before it starts\""},"what":{"type":"string","description":"\"Write a preview post (a draft for you)\""},"audience":{"type":"object","properties":{"words":{"type":"string"},"problems":{"type":"array","items":{"type":"string"}}},"required":["words","problems"],"description":"An email step with a filter: who it goes to in words, and what in the filter the event doesn't have (it won't run while there's any)"}},"required":["id","anchor","offset_min","action","args","approval","status"]},"AiRegistrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"event_id":{"type":"string","format":"uuid"},"name":{"type":"string","description":"Always ends in \"(AI)\""},"source":{"type":"string","description":"\"media\", \"community:<id>\", …"},"label":{"type":["string","null"]},"status":{"type":"string"},"hope":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"}},"required":["id","event_id","name","source","status","created_at"],"description":"An agent the host sent to their event (lib/ai-registrants.ts). It has no address and is never emailed"},"CheckIn":{"type":"object","properties":{"registrant_id":{"type":"string","format":"uuid"},"name":{"type":["string","null"]},"email":{"type":"string"},"status":{"type":"string"},"already":{"type":["string","null"],"format":"date-time"}},"required":["registrant_id","email","status"]},"DoorPerson":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":["string","null"]},"email":{"type":"string"},"company":{"type":["string","null"]},"status":{"type":"string"},"checked_in_at":{"type":["string","null"],"format":"date-time"},"answers":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"text":{"type":"string"}}}}},"required":["id","email","status"]},"SessionSummary":{"type":"object","properties":{"peak":{"type":"integer"},"joined":{"type":"integer"},"questions":{"type":"object","properties":{"asked":{"type":"integer","description":"People's questions"},"answered":{"type":"integer"},"live":{"type":"integer"},"before":{"type":"integer"},"ai":{"type":"integer","description":"AI registrants' questions, counted apart"},"host":{"type":"integer","description":"The host's own"}}},"polls":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"question":{"type":"string"},"options":{"type":"array","items":{"type":"string"}},"counts":{"type":"array","items":{"type":"integer"}},"total":{"type":"integer"},"status":{"type":"string"}}}},"chat":{"type":"object","properties":{"messages":{"type":"integer"},"hidden":{"type":"integer"}}},"hidden":{"type":"object","properties":{"questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"body":{"type":"string"},"who":{"type":"string"}}}},"chat":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"author":{"type":"string"},"body":{"type":"string"}}}}}}}},"SurveyResults":{"type":"object","properties":{"responses":{"type":"integer"},"asked":{"type":"integer","description":"Who could answer: people who came"},"nps":{"type":["integer","null"]},"average":{"type":["number","null"]},"spread":{"type":"array","items":{"type":"integer"},"minItems":11,"maxItems":11,"description":"How many gave each score, 0 to 10"},"rows":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"nps":{"type":["integer","null"]},"answers":{"type":"object","properties":{},"additionalProperties":true},"at":{"type":"string","format":"date-time"}}}}}},"Repurposed":{"type":"object","properties":{"title":{"type":"string"},"article":{"type":"string"},"quotes":{"type":"array","items":{"type":"object","properties":{"quote":{"type":"string"},"who":{"type":"string"}}}},"linkedin":{"type":"string"},"x":{"type":"string"},"written_at":{"type":"string","format":"date-time"}},"required":["title","article","quotes","linkedin","x","written_at"]},"StreamOutput":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"platform":{"type":"string","enum":["youtube","twitch","linkedin","restream","custom"]},"name":{"type":"string"},"server":{"type":"string"},"key_hint":{"type":"string","description":"The key's last four characters; the key itself is never returned"}}},"WebhookTarget":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"url":{"type":"string"},"last_sent_at":{"type":["string","null"],"format":"date-time"},"last_error":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"}}},"InboundHook":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"event_id":{"type":["string","null"],"format":"uuid"},"event_title":{"type":["string","null"]},"mapping":{"type":"object","properties":{"email":{"type":"string","maxLength":200},"name":{"type":"string","maxLength":200},"company":{"type":"string","maxLength":200},"hope":{"type":"string","maxLength":200}},"description":"Which field of what's sent holds each detail"},"uses":{"type":"integer"},"last_used_at":{"type":["string","null"],"format":"date-time"},"last_error":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"},"url":{"type":"string","format":"uri","description":"The secret address: anyone holding it can register people"},"source_kind":{"type":"string","enum":["link","linkedin"]}}},"WorkflowLink":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"code":{"type":"string"},"name":{"type":"string"},"params":{"type":"string"},"event_id":{"type":["string","null"],"format":"uuid"},"event_title":{"type":["string","null"]},"uses":{"type":"integer"},"last_used_at":{"type":["string","null"],"format":"date-time"},"created_at":{"type":"string","format":"date-time"},"url":{"type":"string","format":"uri","description":"The short address, /l/<code>"}}},"LibraryPerson":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"role":{"type":"string"},"bio":{"type":"string"},"link":{"type":["string","null"]},"website":{"type":["string","null"]},"about":{"type":"string"},"photo_asset_id":{"type":["string","null"],"format":"uuid"},"photo":{"type":["string","null"]},"source_url":{"type":["string","null"]},"location":{"type":"string"},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]}},"topics":{"type":"array","items":{"type":"string"}},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"}}},"description":"Events they're on"},"updated_at":{"type":"string","format":"date-time"}}},"LibraryOrg":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"url":{"type":["string","null"]},"logo_asset_id":{"type":["string","null"],"format":"uuid"},"logo":{"type":["string","null"]},"about":{"type":"string"},"sells":{"type":"string"},"audience":{"type":"string"},"customers":{"type":"array","items":{"type":"string"}},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]}},"read_at":{"type":["string","null"],"format":"date-time"},"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"}}},"description":"Events they're on"},"updated_at":{"type":"string","format":"date-time"}}},"LibraryImage":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["logo","photo","cover"]},"width":{"type":"integer"},"height":{"type":"integer"},"url":{"type":"string"},"created_at":{"type":"string","format":"date-time"}}},"OrgRead":{"type":"object","properties":{"name":{"type":"string"},"url":{"type":"string"},"about":{"type":"string"},"sells":{"type":"string"},"audience":{"type":"string"},"customers":{"type":"array","items":{"type":"string"}},"socials":{"type":"object","properties":{},"additionalProperties":{"type":"string","format":"uri"},"description":"By site: linkedin, x, youtube, instagram, tiktok, github, threads, bluesky, facebook, substack, medium"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":120},"url":{"type":"string","format":"uri"},"kind":{"type":"string","enum":["case_study","talk","video","article","podcast","site","other"],"default":"other"}},"required":["label","url"]}},"logo_asset_id":{"type":["string","null"],"format":"uuid"},"ai":{"type":"boolean","description":"Read with the host's own AI key"}}},"ReviewSummary":{"type":"object","properties":{"attending":{"type":"integer"},"reviewed":{"type":"integer"},"waiting":{"type":"integer"},"failed":{"type":"integer"},"missing":{"type":"integer"},"average":{"type":["integer","null"]},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"average":{"type":"integer"},"reviewed":{"type":"integer"}}}},"common":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string"},"section":{"type":"string"},"count":{"type":"integer"}}}},"rereview":{"type":"object","properties":{"requested":{"type":"boolean"},"done":{"type":"integer"},"average":{"type":["integer","null"]}}},"people":{"type":"array","items":{"type":"object","properties":{"registrant_id":{"type":"string","format":"uuid"},"name":{"type":["string","null"]},"email":{"type":"string"},"domain":{"type":"string"},"status":{"type":"string"},"review_url":{"type":["string","null"]},"before":{"type":["integer","null"]},"after":{"type":["integer","null"]}}}}}},"RegistrantRow":{"allOf":[{"$ref":"#/components/schemas/Registrant"},{"type":"object","properties":{"source":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"kind":{"type":"string"},"code":{"type":"string"}}},"company":{"type":"object","properties":{"name":{"type":["string","null"]},"domain":{"type":["string","null"]}}},"event":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"starts_at":{"type":["string","null"],"format":"date-time"},"page_url":{"type":"string","format":"uri"}}},"updated_at":{"type":"string","format":"date-time","description":"When the row last changed (status, details, the push to the platform)"}}}],"description":"A registrant in a page: the per-event list's fields plus source, company and updated_at; account-wide rows also carry their event."},"RegistrantPage":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RegistrantRow"}},"next_cursor":{"type":["string","null"]}},"required":["data","next_cursor"]},"Subscription":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"url":{"type":"string","format":"uri"},"types":{"type":"array","items":{"type":"string","enum":["registration.created","registration.updated","registration.promoted","registration.cancelled","registration.attended","registration.no_show","registration.erased","invite.accepted","question.created","question.answered","research.completed","playbook.ready","event.created","event.published","event.updated","event.cancelled","event.outputs_received","match.completed","tournament.completed","push.failed","publish.failed","connection.failing"]},"description":"Empty: every type."},"event_id":{"type":["string","null"],"format":"uuid"},"label":{"type":["string","null"]},"active":{"type":"boolean","description":"Off after 410 Gone from the URL, or 20 failed deliveries in a row."},"last_error":{"type":["string","null"]},"created_at":{"type":"string","format":"date-time"}},"required":["id","url","types","active","created_at"]},"SubscriptionCreated":{"allOf":[{"$ref":"#/components/schemas/Subscription"},{"type":"object","properties":{"secret":{"type":"string","description":"The signing secret (whsec_…), shown only in this response."}},"required":["secret"]}]},"WebhookEnvelope":{"type":"object","properties":{"id":{"type":"string","description":"The event's id (evt_…, treat it as opaque): the same at every endpoint this event is sent to, and on every retry. The delivery's own id is in X-Programmable-Id."},"type":{"type":"string","enum":["registration.created","registration.updated","registration.promoted","registration.cancelled","registration.attended","registration.no_show","registration.erased","invite.accepted","question.created","question.answered","research.completed","playbook.ready","event.created","event.published","event.updated","event.cancelled","event.outputs_received","match.completed","tournament.completed","push.failed","publish.failed","connection.failing","test.ping"]},"created_at":{"type":"string","format":"date-time"},"data":{"type":"object","description":"Depends on type: see each webhook."}},"required":["id","type","created_at","data"]},"WebhookEvent":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"slug":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string"},"starts_at":{"type":["string","null"],"format":"date-time"},"ends_at":{"type":["string","null"],"format":"date-time"},"timezone":{"type":"string"},"location":{"type":"string"},"platform":{"type":"string"},"platform_url":{"type":["string","null"]},"status":{"type":"string"},"capacity":{"type":["integer","null"]},"series_id":{"type":["string","null"],"format":"uuid"},"page_url":{"type":"string","format":"uri"}}},"WebhookRegistrant":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string","format":"email"},"name":{"type":["string","null"]},"company_domain":{"type":["string","null"]},"company":{"type":"object","properties":{"name":{"type":["string","null"]},"domain":{"type":["string","null"]}}},"channel":{"type":"string"},"source_id":{"type":["string","null"],"format":"uuid"},"source":{"type":["object","null"],"properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"kind":{"type":"string"},"code":{"type":"string"}}},"status":{"type":"string"},"hope":{"type":["string","null"]},"utm":{"type":"object","properties":{},"additionalProperties":{"type":"string"}},"created_at":{"type":"string","format":"date-time"}}}}}}