Skip to content
TierBook

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 of A-Za-z0-9._:-) and X-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)

Parameters
NameInTypeNotes
cursorquerystring
per_pagequeryinteger
updated_sincequerystringISO 8601; only records updated at or after.
statusquerystringComma-separated
parent_idqueryinteger
top_levelqueryboolean
200
Page of events (without parent/children)

GET /events/{event}

One event with parent and children (scope events:read)

Parameters
NameInTypeNotes
event *pathstringEvent 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}).

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
visibilityquerystring (public)Only public items (default includes attendee-only)
typequerystringSession type slug
datequerystringEvent-local date
since_versionqueryinteger
200
data: ProgramItem[]

GET /events/{event}/program/{item}

One published item or segment (scope program:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
item *pathinteger
200
data: ProgramItem
404
Error envelope

speakers

GET /events/{event}/speakers

Speakers appearing in published items (scope program:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
200
data: Speaker[]

rooms

GET /events/{event}/rooms

Rooms (scope program:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
200
data: Room[]

ticket types

GET /events/{event}/ticket-types

Ticket types (scope registrations:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
200
data: TicketType[]

registrations

GET /events/{event}/registrations

Registrations (scope registrations:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
cursorquerystring
per_pagequeryinteger
updated_sincequerystringISO 8601; only records updated at or after.
statusquerystringComma-separated
ticket_type_idqueryinteger
emailquerystring
attendee_idqueryinteger
200
data: Registration[]

GET /registrations/{registration}

One registration by id or uuid (scope registrations:read)

Parameters
NameInTypeNotes
registration *pathstring
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)

Parameters
NameInTypeNotes
cursorquerystring
per_pagequeryinteger
updated_sincequerystringISO 8601; only records updated at or after.
emailquerystring
event_idqueryintegerRegistered 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)

Parameters
NameInTypeNotes
person *pathstring
200
data: Person
404
Error envelope

check ins

GET /events/{event}/check-ins

Accepted entry and session scans (scope attendance:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
cursorquerystring
per_pagequeryinteger
registrationquerystringRegistration id or uuid
contextquerystringComma-separated scan contexts
resultquerystring
sincequerystring
200
data: CheckIn[]

attendance

GET /events/{event}/attendance

Attendance intervals built from scans (scope attendance:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
cursorquerystring
per_pagequeryinteger
registrationquerystring
program_item_idqueryinteger
scopequerystring (event, sessions)
200
data: Attendance[]

sponsors

GET /events/{event}/sponsors

Confirmed sponsors (scope sponsors:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
200
data: Sponsor[]

GET /events/{event}/sponsors/{sponsor}

One confirmed sponsor (scope sponsors:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
sponsor *pathinteger
200
data: Sponsor
404
Error envelope

fulfillment

POST /fulfillment/{item}/deliveries

Report deliverable delivery (signed; scope fulfillment:write)

Parameters
NameInTypeNotes
item *pathinteger
201
Delivery recorded

deals

GET /events/{event}/deals

Deals for an event (scope deals:read)

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
cursorquerystring
per_pagequeryinteger
source_typequerystring
source_idquerystring
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.

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
JSON body
FieldTypeNotes
company_idinteger
company_namestringMatched by normalized name; created when new
titlestring
stagestring
probabilityinteger
expected_close_onstring
notesstring
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)

Parameters
NameInTypeNotes
deal *pathinteger
200
data: Deal
404
Error envelope

PATCH /deals/{deal}

Update title, probability, expected close or notes (scope deals:write)

Parameters
NameInTypeNotes
deal *pathinteger
200
data: Deal

POST /deals/{deal}/stage

Move a deal to a stage by key (scope deals:write)

Parameters
NameInTypeNotes
deal *pathinteger
JSON body
FieldTypeNotes
stage *string
lost_reasonstring
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).

Parameters
NameInTypeNotes
deal *pathinteger
JSON body
FieldTypeNotes
source_type *string
source_id *string
package_idinteger
descriptionstring
skustring
quantityinteger
unit_price_minorinteger
201
data: DealLine (created)
200
data: DealLine (updated)

DELETE /deals/{deal}/lines/{line}

Remove a line from an open deal (scope deals:write)

Parameters
NameInTypeNotes
deal *pathinteger
line *pathinteger
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)

Parameters
NameInTypeNotes
deal *pathinteger
JSON body
FieldTypeNotes
type *string (image, file, text, textarea, url, email, number, date, select, multiselect, contact, confirmation)
title *string
instructionsstring
due_onstring
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.

Parameters
NameInTypeNotes
event *pathstringEvent id or event code (e.g. ASM27).
JSON body
FieldTypeNotes
name *string
type *string
price_minor *integer
descriptionstring
skustring
statusstring (draft, published)
inventory_modestring (unlimited, limited)
inventory_limitinteger
benefitsobject[]
201
data: Package

PATCH /packages/{package}

Update a package; omitted fields keep their values (scope packages:write)

Parameters
NameInTypeNotes
package *pathinteger
200
data: Package

POST /packages/{package}/publish

Publish a package, or unpublish with `unpublish=true` (scope packages:write)

Parameters
NameInTypeNotes
package *pathinteger
200
data: Package
422
Error envelope

Objects

ErrorEnvelope

ErrorEnvelope fields
FieldTypeNotes
okobject
datanull
metaobject
errorobject

PageMeta

PageMeta fields
FieldTypeNotes
per_pageinteger
next_cursorstring | null
prev_cursorstring | null
has_moreboolean

EventRef

EventRef fields
FieldTypeNotes
idinteger
codestring
namestring
statusstring
starts_at_utcstring | null
ends_at_utcstring | null

Event

Event fields
FieldTypeNotes
idinteger
uuidstring
codestring
slugstring
namestring
short_namestring | null
statusstring (draft, published, live, completed, archived, cancelled)
formatstring (in_person, virtual, hybrid)
timezonestring
starts_atstring | nullEvent-local ISO 8601
ends_atstring | null
starts_at_utcstring | null
ends_at_utcstring | null
local_start_datestring | null
local_end_datestring | null
date_labelstring
venueobject
brandobject | null
brand_colorstring | null
descriptionstring | null
image_urlstring | null
capacityinteger | null
currencystring
parent_idinteger | null
external_idsobjecte.g. {"wordpress": 42} for imported events
updated_atstring
parentobjectDetail only
childrenEventRef[]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

Speaker fields
FieldTypeNotes
idinteger
first_namestring
last_namestring | null
full_namestring
credentialsstring | null
titlestring | null
organizationstring | null
biostring | null
photo_urlstring | null
websitestring | null
emailstring | nullOnly for keys with people:read
program_item_idsinteger[]

Room

Room fields
FieldTypeNotes
idinteger
event_idinteger
namestring
slugstring
capacityinteger | null
locationstring | null
positioninteger

TicketType

TicketType fields
FieldTypeNotes
idinteger
event_idinteger
namestring
slugstring
descriptionstring | null
attendance_modestring (in_person, virtual)
statusstring
price_minorinteger
currencystring

Person

Person fields
FieldTypeNotes
idinteger
uuidstring
emailstring
first_namestring | null
last_namestring | null
full_namestring
credentialsstring | null
titlestring | null
organizationstring | null
occupationstring | null
phonestring | null
citystring | null
regionstring | null
countrystring | null
profileobjectOrganization-defined profile fields
updated_atstring
registrationsRegistration[]Detail only, with registrations:read

Registration

Registration fields
FieldTypeNotes
idinteger
uuidstring
codestring
event_idinteger
statusstring (active, pending_payment, cancelled, refunded, void)
status_reasonstring | null
details_statusstring (pending, complete)
sourcestring
attendance_modestring
ticket_typeobject | null
attendeeobject
purchaserobject
order_idinteger | null
sponsorship_idinteger | null
answersobjectCustom registration answers keyed by field
completed_atstring | null
checked_in_atstring | null
created_atstring
updated_atstring

CheckIn

CheckIn fields
FieldTypeNotes
idinteger
uuidstring
event_idinteger
registration_idinteger
registration_uuidstring | null
contextstring (event_entry, event_exit, session_checkin, session_checkout, workshop, sponsored_session)
program_item_idinteger | null
directionstring | null
resultstring
sourcestring
scanned_atstring

Attendance

Attendance fields
FieldTypeNotes
idinteger
event_idinteger
registration_idinteger
registration_uuidstring | null
program_item_idinteger | nullnull = at the event
in_atstring
out_atstring | null
minutesinteger | null
verificationstring

Sponsor

Confirmed sponsors only; no contacts, deal values or notes.

Sponsor fields
FieldTypeNotes
idinteger
codestring
event_idinteger
namestring
display_namestring
logo_urlstring | null
websitestring | null
categorystring | null
tierobject | null
statusstring

DealLine

DealLine fields
FieldTypeNotes
idinteger
package_idinteger | null
descriptionstring
skustring | null
quantityinteger
unit_price_minorintegerInteger minor units in the deal currency
total_minorinteger
source_typestring | null
source_idstring | null

Deal

Deal fields
FieldTypeNotes
idinteger
codestring
event_idinteger
titlestring
statusstring (open, won, lost)
stageobject | null
companyobject
amount_minorinteger
currencystring
probabilityinteger | null
expected_close_onstring | null
sponsorship_idinteger | nullSet once the deal is won
source_typestring | null
source_idstring | null
linesDealLine[]
updated_atstring

Package

Package fields
FieldTypeNotes
idinteger
event_idinteger
namestring
typestring
statusstring (draft, published, archived)
price_minorinteger
currencystring
skustring | null
benefitsobject[]

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