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)
| Name | In | Type | Notes |
|---|---|---|---|
| since | query | string | Only leads changed since this time |
| limit | query | integer | |
| cursor | query | string |
- 200
- data: Lead[]; meta: { next_cursor, has_more }
GET
/leads/{lead}
One lead
| Name | In | Type | Notes |
|---|---|---|---|
| lead * | path | string |
- 200
- data: Lead
- 404
- Error envelope
PATCH
/leads/{lead}
Set rating, follow-up status or qualifying answers
| Name | In | Type | Notes |
|---|---|---|---|
| lead * | path | string |
| Field | Type | Notes |
|---|---|---|
| rating | integer | |
| follow_up_status | string | |
| qualifying | object |
- 200
- data: Lead
GET
/leads/{lead}/notes
Notes on a lead
| Name | In | Type | Notes |
|---|---|---|---|
| lead * | path | string |
- 200
- data: Note[]
POST
/leads/{lead}/notes
Add a note (send your own uuid to make retries safe)
| Name | In | Type | Notes |
|---|---|---|---|
| lead * | path | string |
| Field | Type | Notes |
|---|---|---|
| body * | string | |
| uuid | string |
- 201
- data: Note
- 422
- Error envelope
scans
POST
/scans
Capture leads from badge credentials (up to 100; idempotent per operation_id)
| Field | Type | Notes |
|---|---|---|
| scans * | object[] |
- 200
- data: [{ operation_id, result, lead: Lead|null }]
Objects
Note
| Field | Type | Notes |
|---|---|---|
| uuid | string | |
| body | string | |
| author | string | |
| edited_at | string |
Lead
Shared profile fields and answers depend on the event's lead-sharing settings.
| Field | Type | Notes |
|---|---|---|
| uuid | string | |
| rating | integer | null | |
| follow_up_status | string | |
| qualifying | object | |
| captured_at | string | |
| notes | Note[] | |
| updated_at | string |