Getting started
Choose the right path
Section titled “Choose the right path”| Use case | Use | Credential |
|---|---|---|
| Trusted backend creates or manages registrations | @wodira/sdk | Secret key wd_live_... |
| Public website lists events and creates checkout | @wodira/browser | Publishable key wpk_live_... |
| Public website without building UI from scratch | @wodira/browser/ui | Publishable key wpk_live_... |
| No SDK | Direct HTTP | Secret or publishable depending on endpoint |
Get your API keys in WODira
Section titled “Get your API keys in WODira”Keys are created from the private organizer dashboard under Organization profile → API.
Secret keyFor trusted backends with scopes and wd_live_....Publishable keyFor public websites with allowed origins and wpk_live_....- Sign in to WODira with an organizer account.
- Open your organization and go to Organization profile.
- Select the API tab. Example route:
/organizer/{organizationId}/profile?tab=api. - In New key, choose the type:
- Secret key (backend) for
@wodira/sdkor the Organizer API. - Publishable key (frontend) for
@wodira/browser,@wodira/browser/ui, or the Browser API.
- Secret key (backend) for
- Add a recognizable name, for example
official website,production backend, or2026 landing. - For publishable keys, add Allowed origins: one domain per line, such as
https://organizer.comandhttps://www.organizer.com. - For secret keys, select the minimum scopes needed.
- Optionally set an expiration date and click Create key.
- Copy the full key immediately: WODira only shows it once.
Recommended browser flow
Section titled “Recommended browser flow”- Create a publishable key with the external website domain in
allowedOrigins. - Install
@wodira/browseror@wodira/browser/ui. - Read the public event and categories with
getEventandgetPricingCards. - Create a Checkout Session with
createRegistrationCheckoutSession,termsAccepted, required waivers, andidempotencyKey. - Redirect to the Stripe Checkout
sessionUrl.