API reference · version 1.0
TierBook Cloud organization API
Server-to-server API for one organization. Every response uses the envelope
{ ok, data, meta, error }. Lists are cursor-paginated: pass meta.next_cursor back as cursor
(per_page 1–200). A key limited to some events only ever sees those events, on every endpoint.
Authentication — either
Authorization: Bearer {key}.{secret}(the "API token" shown once when a key is created), or- signed headers
X-Tierbook-Key,X-Tierbook-Timestamp(unix seconds, ±5 min),X-Tierbook-Request-Id(8–160 ofA-Za-z0-9._:-) andX-Tierbook-Signature: v1=+ hex HMAC-SHA256(secret, "{timestamp}\n{request id}\n{sha256 hex of body}"). Writes must be signed; the request id makes them idempotent.
Webhooks are documented at the end of this file (x-webhooks).
Base URL https://app.tierbook.com/api/v1
me
GET
/me
The calling key (no scope needed)
- 200
- data: { organization{id,slug,name,timezone}, client{name,key,scopes,event_ids}, api_version }
- 401
- Error envelope
events
GET
/events
Events (scope events:read)
| Name | In | Type | Notes |
|---|---|---|---|
| cursor | query | string | |
| per_page | query | integer | |
| updated_since | query | string | ISO 8601; only records updated at or after. |
| status | query | string | Comma-separated |
| parent_id | query | integer | |
| top_level | query | boolean |
- 200
- Page of events (without parent/children)
GET
/events/{event}
One event with parent and children (scope events:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
- 200
- data: Event
- 404
- Error envelope
program
GET
/events/{event}/program
Published program (scope program:read)
Top-level items in time order with segments nested. meta.version is the program version. With since_version, returns the change list instead ({item_id, action, item}).
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| visibility | query | string (public) | Only public items (default includes attendee-only) |
| type | query | string | Session type slug |
| date | query | string | Event-local date |
| since_version | query | integer |
- 200
- data: ProgramItem[]
GET
/events/{event}/program/{item}
One published item or segment (scope program:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| item * | path | integer |
- 200
- data: ProgramItem
- 404
- Error envelope
speakers
GET
/events/{event}/speakers
Speakers appearing in published items (scope program:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
- 200
- data: Speaker[]
rooms
GET
/events/{event}/rooms
Rooms (scope program:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
- 200
- data: Room[]
ticket types
GET
/events/{event}/ticket-types
Ticket types (scope registrations:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
- 200
- data: TicketType[]
registrations
GET
/events/{event}/registrations
Registrations (scope registrations:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| cursor | query | string | |
| per_page | query | integer | |
| updated_since | query | string | ISO 8601; only records updated at or after. |
| status | query | string | Comma-separated |
| ticket_type_id | query | integer | |
| query | string | ||
| attendee_id | query | integer |
- 200
- data: Registration[]
GET
/registrations/{registration}
One registration by id or uuid (scope registrations:read)
| Name | In | Type | Notes |
|---|---|---|---|
| registration * | path | string |
- 200
- data: Registration
- 404
- Error envelope
POST
/registrations/complimentary
Issue complimentary registrations (signed; scope registrations:comp)
- 201
- data: { idempotent, order, registrations[{uuid, code, email, status}] }
people
GET
/people
Attendee profiles (scope people:read)
| Name | In | Type | Notes |
|---|---|---|---|
| cursor | query | string | |
| per_page | query | integer | |
| updated_since | query | string | ISO 8601; only records updated at or after. |
| query | string | ||
| event_id | query | integer | Registered for this event |
- 200
- data: Person[]
GET
/people/{person}
One person by id or uuid, with registrations when the key has registrations:read (scope people:read)
| Name | In | Type | Notes |
|---|---|---|---|
| person * | path | string |
- 200
- data: Person
- 404
- Error envelope
check ins
GET
/events/{event}/check-ins
Accepted entry and session scans (scope attendance:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| cursor | query | string | |
| per_page | query | integer | |
| registration | query | string | Registration id or uuid |
| context | query | string | Comma-separated scan contexts |
| result | query | string | |
| since | query | string |
- 200
- data: CheckIn[]
attendance
GET
/events/{event}/attendance
Attendance intervals built from scans (scope attendance:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| cursor | query | string | |
| per_page | query | integer | |
| registration | query | string | |
| program_item_id | query | integer | |
| scope | query | string (event, sessions) |
- 200
- data: Attendance[]
sponsors
GET
/events/{event}/sponsors
Confirmed sponsors (scope sponsors:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
- 200
- data: Sponsor[]
GET
/events/{event}/sponsors/{sponsor}
One confirmed sponsor (scope sponsors:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| sponsor * | path | integer |
- 200
- data: Sponsor
- 404
- Error envelope
fulfillment
POST
/fulfillment/{item}/deliveries
Report deliverable delivery (signed; scope fulfillment:write)
| Name | In | Type | Notes |
|---|---|---|---|
| item * | path | integer |
- 201
- Delivery recorded
deals
GET
/events/{event}/deals
Deals for an event (scope deals:read)
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| cursor | query | string | |
| per_page | query | integer | |
| source_type | query | string | |
| source_id | query | string |
- 200
- data: Deal[] (page)
PUT
/events/{event}/deals
Create or update a deal by your source_type + source_id (scope deals:write)
Idempotent: the same source_type + source_id always updates the same deal. stage is a pipeline stage key
(lead, qualified, proposal, negotiation, won, lost by default); moving to won books the sponsorship and
raises deal.stage_changed and deal.won webhooks. Won needs at least one line.
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| Field | Type | Notes |
|---|---|---|
| company_id | integer | |
| company_name | string | Matched by normalized name; created when new |
| title | string | |
| stage | string | |
| probability | integer | |
| expected_close_on | string | |
| notes | string | |
| source_type * | string | |
| source_id * | string |
- 201
- data: Deal (created)
- 200
- data: Deal (updated)
- 422
- Error envelope
GET
/deals/{deal}
One deal with lines (scope deals:read)
| Name | In | Type | Notes |
|---|---|---|---|
| deal * | path | integer |
- 200
- data: Deal
- 404
- Error envelope
PATCH
/deals/{deal}
Update title, probability, expected close or notes (scope deals:write)
| Name | In | Type | Notes |
|---|---|---|---|
| deal * | path | integer |
- 200
- data: Deal
POST
/deals/{deal}/stage
Move a deal to a stage by key (scope deals:write)
| Name | In | Type | Notes |
|---|---|---|---|
| deal * | path | integer |
| Field | Type | Notes |
|---|---|---|
| stage * | string | |
| lost_reason | string |
- 200
- data: Deal
- 422
- Error envelope
PUT
/deals/{deal}/lines
Create or update a line by your source_type + source_id (scope deals:write)
A package line takes the package's name, SKU and price unless you send them. Won deals keep their lines (422).
| Name | In | Type | Notes |
|---|---|---|---|
| deal * | path | integer |
| Field | Type | Notes |
|---|---|---|
| source_type * | string | |
| source_id * | string | |
| package_id | integer | |
| description | string | |
| sku | string | |
| quantity | integer | |
| unit_price_minor | integer |
- 201
- data: DealLine (created)
- 200
- data: DealLine (updated)
DELETE
/deals/{deal}/lines/{line}
Remove a line from an open deal (scope deals:write)
| Name | In | Type | Notes |
|---|---|---|---|
| deal * | path | integer | |
| line * | path | integer |
- 200
- data: { deleted: true }
- 409
- Error envelope
POST
/deals/{deal}/deliverables
Add a deliverable to a won deal's sponsorship, idempotent on source ids (scope deals:write)
| Name | In | Type | Notes |
|---|---|---|---|
| deal * | path | integer |
| Field | Type | Notes |
|---|---|---|
| type * | string (image, file, text, textarea, url, email, number, date, select, multiselect, contact, confirmation) | |
| title * | string | |
| instructions | string | |
| due_on | string | |
| source_type * | string | |
| source_id * | string |
- 201
- data: { id, code, title, type, status }
packages
POST
/events/{event}/packages
Create a sponsorship package (scope packages:write)
Money is integer minor units. A package without benefits stays a draft.
| Name | In | Type | Notes |
|---|---|---|---|
| event * | path | string | Event id or event code (e.g. ASM27). |
| Field | Type | Notes |
|---|---|---|
| name * | string | |
| type * | string | |
| price_minor * | integer | |
| description | string | |
| sku | string | |
| status | string (draft, published) | |
| inventory_mode | string (unlimited, limited) | |
| inventory_limit | integer | |
| benefits | object[] |
- 201
- data: Package
PATCH
/packages/{package}
Update a package; omitted fields keep their values (scope packages:write)
| Name | In | Type | Notes |
|---|---|---|---|
| package * | path | integer |
- 200
- data: Package
POST
/packages/{package}/publish
Publish a package, or unpublish with `unpublish=true` (scope packages:write)
| Name | In | Type | Notes |
|---|---|---|---|
| package * | path | integer |
- 200
- data: Package
- 422
- Error envelope
Objects
ErrorEnvelope
| Field | Type | Notes |
|---|---|---|
| ok | object | |
| data | null | |
| meta | object | |
| error | object |
PageMeta
| Field | Type | Notes |
|---|---|---|
| per_page | integer | |
| next_cursor | string | null | |
| prev_cursor | string | null | |
| has_more | boolean |
EventRef
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| code | string | |
| name | string | |
| status | string | |
| starts_at_utc | string | null | |
| ends_at_utc | string | null |
Event
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| uuid | string | |
| code | string | |
| slug | string | |
| name | string | |
| short_name | string | null | |
| status | string (draft, published, live, completed, archived, cancelled) | |
| format | string (in_person, virtual, hybrid) | |
| timezone | string | |
| starts_at | string | null | Event-local ISO 8601 |
| ends_at | string | null | |
| starts_at_utc | string | null | |
| ends_at_utc | string | null | |
| local_start_date | string | null | |
| local_end_date | string | null | |
| date_label | string | |
| venue | object | |
| brand | object | null | |
| brand_color | string | null | |
| description | string | null | |
| image_url | string | null | |
| capacity | integer | null | |
| currency | string | |
| parent_id | integer | null | |
| external_ids | object | e.g. {"wordpress": 42} for imported events |
| updated_at | string | |
| parent | object | Detail only |
| children | EventRef[] | Detail only |
ProgramItem
The published snapshot, identical to the mobile app's AgendaItem (docs/api/mobile.md): id, event_id, parent_id, type, title, subtitle, summary, content, timezone, starts_at, ends_at, starts_at_utc, ends_at_utc, local_date, local_start_time, local_end_time, duration_minutes, room, location_text, capacity, access_level, credits[], tracks[], labels[], participants[], sponsors[], is_cancelled, segments[], attachments[], has_stream, has_replay, resources[], status, visibility, version, updated_at. Stream URLs are never included.
Speaker
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| first_name | string | |
| last_name | string | null | |
| full_name | string | |
| credentials | string | null | |
| title | string | null | |
| organization | string | null | |
| bio | string | null | |
| photo_url | string | null | |
| website | string | null | |
| string | null | Only for keys with people:read | |
| program_item_ids | integer[] |
Room
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| event_id | integer | |
| name | string | |
| slug | string | |
| capacity | integer | null | |
| location | string | null | |
| position | integer |
TicketType
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| event_id | integer | |
| name | string | |
| slug | string | |
| description | string | null | |
| attendance_mode | string (in_person, virtual) | |
| status | string | |
| price_minor | integer | |
| currency | string |
Person
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| uuid | string | |
| string | ||
| first_name | string | null | |
| last_name | string | null | |
| full_name | string | |
| credentials | string | null | |
| title | string | null | |
| organization | string | null | |
| occupation | string | null | |
| phone | string | null | |
| city | string | null | |
| region | string | null | |
| country | string | null | |
| profile | object | Organization-defined profile fields |
| updated_at | string | |
| registrations | Registration[] | Detail only, with registrations:read |
Registration
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| uuid | string | |
| code | string | |
| event_id | integer | |
| status | string (active, pending_payment, cancelled, refunded, void) | |
| status_reason | string | null | |
| details_status | string (pending, complete) | |
| source | string | |
| attendance_mode | string | |
| ticket_type | object | null | |
| attendee | object | |
| purchaser | object | |
| order_id | integer | null | |
| sponsorship_id | integer | null | |
| answers | object | Custom registration answers keyed by field |
| completed_at | string | null | |
| checked_in_at | string | null | |
| created_at | string | |
| updated_at | string |
CheckIn
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| uuid | string | |
| event_id | integer | |
| registration_id | integer | |
| registration_uuid | string | null | |
| context | string (event_entry, event_exit, session_checkin, session_checkout, workshop, sponsored_session) | |
| program_item_id | integer | null | |
| direction | string | null | |
| result | string | |
| source | string | |
| scanned_at | string |
Attendance
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| event_id | integer | |
| registration_id | integer | |
| registration_uuid | string | null | |
| program_item_id | integer | null | null = at the event |
| in_at | string | |
| out_at | string | null | |
| minutes | integer | null | |
| verification | string |
Sponsor
Confirmed sponsors only; no contacts, deal values or notes.
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| code | string | |
| event_id | integer | |
| name | string | |
| display_name | string | |
| logo_url | string | null | |
| website | string | null | |
| category | string | null | |
| tier | object | null | |
| status | string |
DealLine
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| package_id | integer | null | |
| description | string | |
| sku | string | null | |
| quantity | integer | |
| unit_price_minor | integer | Integer minor units in the deal currency |
| total_minor | integer | |
| source_type | string | null | |
| source_id | string | null |
Deal
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| code | string | |
| event_id | integer | |
| title | string | |
| status | string (open, won, lost) | |
| stage | object | null | |
| company | object | |
| amount_minor | integer | |
| currency | string | |
| probability | integer | null | |
| expected_close_on | string | null | |
| sponsorship_id | integer | null | Set once the deal is won |
| source_type | string | null | |
| source_id | string | null | |
| lines | DealLine[] | |
| updated_at | string |
Package
| Field | Type | Notes |
|---|---|---|
| id | integer | |
| event_id | integer | |
| name | string | |
| type | string | |
| status | string (draft, published, archived) | |
| price_minor | integer | |
| currency | string | |
| sku | string | null | |
| benefits | object[] |
Webhooks
Configure endpoints in Settings → Integrations & API → Webhooks. Each notification is an HTTPS POST of JSON, never following redirects, to public addresses only.
Headers: X-TierBook-Event (type), X-TierBook-Delivery (message id, stable across retries — deduplicate
on it), X-TierBook-Timestamp (unix seconds), X-TierBook-Signature-V2: v1= + hex HMAC-SHA256(secret,
"{timestamp}.{raw body}") (preferred; reject timestamps more than 5 minutes off) and
X-TierBook-Signature: sha256= + hex HMAC-SHA256(secret, raw body) (WordPress TierBook scheme).
Body: { id, event, created_at, site_url, organization, api_version, data }.
Any 2xx is success. Otherwise retried after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h, then given up;
an endpoint is switched off after 20 failed attempts in a row. Redeliver or send a test (ping) from the
endpoint page.
- attendee.registration.*
- created, assigned, completed, updated, status_changed, cancelled, ticket_changed, transferred. data = { registration_id, registration_uuid, registration_instance_id, registration_code, event_id, event_title, registration_type, registration_type_label, ticket_type_id, status, details_status, details_source, source, order_id, purchaser_email, attendee_id, attendee{id,uuid,first_name,last_name, email,organization}|null, responses, registration (Registration) } plus: created/completed/updated `channel`; status_changed/cancelled `previous_status`; ticket_changed `previous_ticket_type_id`, `previous_registration_type`, `previous_registration_type_label`; transferred `from_attendee_id`, `to_attendee_id`.
- attendee.checked_in / attendee.session_checked_in
- Registration data plus scan_id, context, result, scanned_at, program_item_id (accepted event_entry / session_checkin scans).
- attendee.profile_updated
- { attendee_id, attendee_uuid, changed[], before (Person), after (Person) }
- attendee.email_changed
- { attendee_id, attendee_uuid, old_email, new_email }
- event.created / event.updated
- { event (Event), changed[] } — updated only when public fields change
- program.changed
- { event_id, version, action: published, item_ids: [], feed_url }
- order.paid / order.refunded
- { order{id,uuid,code,event_id,status,source,currency,customer{name,email,company},subtotal_minor,discount_minor,tax_minor,total_minor,paid_minor,refunded_minor,placed_at,paid_at}, refund{id,amount_minor,currency,status,reason} (refunded) }
- deal.stage_changed
- { id, from_stage, to_stage (stage keys), event_id, status }
- deal.won
- { id, code, event_id, company_id, sponsorship_id, title, amount_minor, currency, won_at }
- fulfillment.status_changed / fulfillment.submitted / fulfillment.approved
- { item_id, code, event_id, sponsorship_id, title, status }
- ping
- { message, endpoint_id } — test notification