PlanIt Demo — REST API (preview + RSVP check-in)

PlanIt REST helpers (Premium)

Availability: Premium — REST routes (recurrence preview, RSVP check-in, tokens, `/rsvp-scan` alias, rate limiting) ship with PlanIt Premium and require appropriate capabilities plus REST nonces.

Shortcodes: (none on this demo page.)

This demo page intentionally has no frontend shortcodes. Premium exposes REST endpoints for recurrence RRULE previews, RSVP check-in/token flows, aliases, and more — see REST-API.md in the repository for full JSON shapes.

Common paths (replace your site hostname): POST /wp-json/planit/v1/recurrence/preview validates RRULE + EXDATE before save; RSVP staff routes include /planit/v1/rsvp/checkin plus the /planit/v1/rsvp-scan alias.

Heavy check-in testers can throttle via the twec_rsvp_checkin_rate_limit_per_minute filter; expect HTTP 429 with code rate_limit after the nonce is accepted.

How to try it

  • Authenticate as a privileged user when testing privileged routes; reuse the wp_rest nonce emitted for logged-in staff.
  • POST preview JSON using the seeded RRULE Wednesdays event ID and compare timestamps with the RSVP lunch event for RSVP payloads.
  • (Optional) Use curl or Postman to hit aliases with identical bodies to prove /rsvp-scan matches /rsvp/checkin.