# 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}/registrations

Create registration

Register a delegate. With ``invite_code`` → comped (code redeemed single-use,
confirmed); otherwise paid (captured immediately as ``pending`` so the lead isn't
lost, confirmed later via ``/payments/confirm``). Idempotent per (event, email).

Scope: prep_manage

Parameters:

- `event_id` (path, string, required)

Body (JSON):

- `email` (string, required): Email address.
- `name` (string): Display name.
- `first_name` (string): Given name.
- `last_name` (string): Family name.
- `job_title` (string): The person's job title.
- `company` (string): Name of the person's employer.
- `company_website` (string): The employer's website address; supplying it lets Audiobly fill in the company profile.
- `role` (string): The registrant's delegate type, such as Delegate or VIP.
- `honorific` (string): Title used before the name, such as Dr or Prof.
- `notes` (string): Free-text notes for your own team.
- `marketing_consent` (boolean): Whether the person agreed to receive marketing messages.
- `invite_code` (string): A code that lets the registrant claim an invitation or access; leave out if you have none.
- `payment_reference` (string): The payment provider's reference for the payment.
- `amount_paid` (integer): Amount, minor units (cents).
- `currency` (string): Three-letter currency code of the amount paid.
- `discount_code` (string): A promo or discount code the registrant used.
- `list_price` (integer): Price before any code, minor units.
- `channel` (string): How the person found or reached the registration, such as web or partner.
- `utm_source` (string): Marketing campaign source recorded with the registration.
- `utm_campaign` (string): Marketing campaign name recorded with the registration.
- `utm_medium` (string): Marketing campaign medium recorded with the registration.

Responses:

- 201: 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.
