Events

Create Event

Create a new event (market, workshop, tour, etc.). Supports recurring events with iCal recurrence rules.

post/events

Request

  • Base URL: https://piknik.spot/api
  • URL: https://piknik.spot/api/events
  • Auth: one of:
    • HTTP bearer
    • API key in cookie next-auth.session-token

Request body

participant_idstring required

ID of the business creating the event

titlestring required
descriptionstring required
start_datestring date-time required

ISO 8601 format

end_datestring date-time required

ISO 8601 format

addressstring required
location_namestring nullable
event_type'market' | 'workshop' | 'tour' | 'festival' | 'meeting' | 'other'
is_recurringboolean
recurrence_rulestring nullable

iCal recurrence rule (e.g., FREQ=WEEKLY;BYDAY=SA)

registration_urlstring uri nullable

Changes

No recorded changes to this operation across all 1 revision of this API.