Event as what you run (draft or publish)
create_eventMake an event for something the person runs (its channel's event: sign-ups, the waitlist, reminders — reach is measured in who comes). Free events only, in a public place or a venue (a café, a hall, a field) — never at someone's home. Only when they ask. Like create_post: a DRAFT card "Publish" in their Stream by default; published right away only with "May publish directly" for your app AND a channel no one under 18 can see. Followers are told about a new event once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Which of what the person runs to act as — a key from list_personas, e.g. "forening:a1b2c3d4e5" or "channel:Xy12Ab34Cd", or its name, e.g. "Löparklubben". May be left out when only one fits. | |
| mode | No | "publish" (default) publishes now only if the person turned on "May publish directly" for your app AND no one under 18 can see it — else it's a draft; "draft" always makes a draft they publish with one tap. | |
| text | No | A few words about it (≤ 1000 characters). | |
| place | Yes | ||
| title | Yes | 3–80 characters, e.g. "Höstloppet 5 km". | |
| endsAt | No | Optional, same format, within 12 hours of the start. | |
| capacity | No | How many may sign up (default 20). | |
| startsAt | Yes | ISO 8601 with the person's UTC offset, at least an hour ahead and within 6 months, e.g. 2026-10-18T10:00:00+02:00. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | Yes | ||
| url | Yes | ||
| why | Yes | ||
| note | Yes | ||
| itemId | Yes | ||
| postId | Yes | ||
| status | Yes | ||
| undoUntil | Yes |