Skip to content
TierBook

API reference · version 1.0

TierBook Cloud Lead API

A sponsor's own system reads and captures the leads of the one sponsorship its key belongs to. Keys are created in the sponsor portal (Leads → API keys) when the organizer sells Lead API access. Shared attendee fields follow the event's lead-sharing settings for the API. Envelope { ok, data, meta, error }; anything outside the key's sponsorship is 404.

Base URL https://app.tierbook.com/api/lead/v1

context

GET /context

The key, event, sponsorship, shared fields, ratings and follow-up statuses

200
data: { key{name,prefix}, event, sponsorship{id,code,name}, shared{profile,questions}, ratings, follow_up_statuses }
401
Error envelope

leads

GET /leads

Leads, oldest change first (cursor pages)

Parameters
NameInTypeNotes
sincequerystringOnly leads changed since this time
limitqueryinteger
cursorquerystring
200
data: Lead[]; meta: { next_cursor, has_more }

GET /leads/{lead}

One lead

Parameters
NameInTypeNotes
lead *pathstring
200
data: Lead
404
Error envelope

PATCH /leads/{lead}

Set rating, follow-up status or qualifying answers

Parameters
NameInTypeNotes
lead *pathstring
JSON body
FieldTypeNotes
ratinginteger
follow_up_statusstring
qualifyingobject
200
data: Lead

GET /leads/{lead}/notes

Notes on a lead

Parameters
NameInTypeNotes
lead *pathstring
200
data: Note[]

POST /leads/{lead}/notes

Add a note (send your own uuid to make retries safe)

Parameters
NameInTypeNotes
lead *pathstring
JSON body
FieldTypeNotes
body *string
uuidstring
201
data: Note
422
Error envelope

scans

POST /scans

Capture leads from badge credentials (up to 100; idempotent per operation_id)

JSON body
FieldTypeNotes
scans *object[]
200
data: [{ operation_id, result, lead: Lead|null }]

Objects

Note

Note fields
FieldTypeNotes
uuidstring
bodystring
authorstring
edited_atstring

Lead

Shared profile fields and answers depend on the event's lead-sharing settings.

Lead fields
FieldTypeNotes
uuidstring
ratinginteger | null
follow_up_statusstring
qualifyingobject
captured_atstring
notesNote[]
updated_atstring