# Attendees and ticketing

Attendees, registrations, session sign-up, ticket types, orders and check-in.

Base URL: https://api.audiobly.com

### POST /v1/events/{event_id}/promo-codes/validate

Validate promo code

Price a code WITHOUT spending it — for showing "50% applied, EUR 199.50" before pay.

Deliberately not a redemption: a shopper who types a code and then abandons checkout
must not burn it. The spend happens in /promo-codes/redeem once money is confirmed.

Scope: prep_manage

Parameters:

- `event_id` (path, string, required)

Body (JSON):

- `code` (string, required): The code to check.
- `amount` (number, required): The amount to price the code against, in major units.
- `ticket_type_id` (string (uuid)): The ticket type this applies to; leave out for all ticket types.

Responses:

- 200: Successful Response
- 422: The request did not validate.
- 401: The key is missing, unknown, revoked or expired.
- 403: The key lacks the scope this call needs, or the organisation is not on Enterprise.
- 429: Over the request rate. Wait for Retry-After seconds.
