ThoughtAPI

Docs c3

Stickers and public reads (c3)

Printed QR and NFC stickers, and public venue, event and profile reads in the ChingChing.Club API.

Base URL
https://c3.thought.bz/
Version
v1
Auth
Bearer session token in the Authorization header, except where an endpoint says None
Status
Beta

This page is part of the c3 (ChingChing.Club) API reference.

Stickers and codes#

Printed QR and NFC stickers. A sticker is a 12 digit number printed as https://chingching.club/qr/<number>.

GET /v1/qr/{number}#

Check a printed sticker number.

Auth None

NameInTypeDescription
number requiredpathstringThe 12 digit number printed on the sticker.

Request

bash
curl "https://c3.thought.bz/v1/qr/<number>"

Response

json
{ "number": "123456789012", "url": "https://chingching.club/qr/123456789012", "bound": true }
StatusMeaning
404No such sticker. Code not_found.

Needs no token and no app headers. It says whether the sticker is bound to a venue table or room, and nothing about the chip inside.

GET /v1/venues/{venueId}/stickers/{number}#

Read a sticker as venue staff.

Auth Member session token, venue owner or manager

NameInTypeDescription
venueId requiredpathstringThe venue id.
number requiredpathstringThe 12 digit sticker number.

Request

bash
curl "https://c3.thought.bz/v1/venues/<venueId>/stickers/<number>" \
  -H "Authorization: Bearer <token>"

Response

json
{ "number": "123456789012", "url": "https://chingching.club/qr/123456789012", "bound": true }
StatusMeaning
401No valid token. Code unauthorised.
403The caller may not bind stickers. Code forbidden.
404No such sticker. Code not_found.

The response can carry extra staff-only fields.

POST /v1/venues/{venueId}/stickers/{number}/bind#

Bind a sticker to a table or room.

Auth Member session token, venue owner or manager

NameInTypeDescription
venueId requiredpathstringThe venue id.
number requiredpathstringThe 12 digit sticker number.
spot requiredbodystringtable or room.
name requiredbodystringThe table or room name, 1 to 32 characters.

Request

bash
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/stickers/<number>/bind" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"spot": "table", "name": "T4"}'

Response

json
{ "number": "123456789012", "url": "https://chingching.club/qr/123456789012", "bound": true, "venueId": "vn12345abcde", "spot": "table", "name": "T4" }
StatusMeaning
400The spot or name is not valid. Code invalid_body.
403Only an owner or manager can bind stickers. Code forbidden.
404No such sticker. Code not_found.
409The sticker is already bound to another venue. Code sticker_bound.

GET /v1/venues/{venueId}/codes#

List the printed codes added to the venue.

Auth Member session token with a venue staff role

NameInTypeDescription
venueId requiredpathstringThe venue id.

Request

bash
curl "https://c3.thought.bz/v1/venues/<venueId>/codes" \
  -H "Authorization: Bearer <token>"

Response

json
{ "codes": [ {
    "code": "123456789012",
    "url": "https://chingching.club/qr/123456789012",
    "status": "init",
    "targetType": "table",
    "targetId": "T4",
    "label": "Table 4"
  } ] }
StatusMeaning
403The caller is not staff at this venue. Code forbidden.

Each code can carry more fields. Ignore the ones you do not use.

GET /v1/venues/{venueId}/codes/targets/{targetType}/{targetId}#

List the printed codes on one table, room, member or other target.

Auth Member session token with a venue staff role

NameInTypeDescription
venueId requiredpathstringThe venue id.
targetType requiredpathstringmember, table, room or other.
targetId requiredpathstringThe target id.

Request

bash
curl "https://c3.thought.bz/v1/venues/<venueId>/codes/targets/<targetType>/<targetId>" \
  -H "Authorization: Bearer <token>"

Response

json
{ "codes": [ {
    "code": "123456789012",
    "url": "https://chingching.club/qr/123456789012",
    "status": "init",
    "targetType": "table",
    "targetId": "T4",
    "label": "Table 4"
  } ] }
StatusMeaning
403The caller is not staff at this venue. Code forbidden.

POST /v1/venues/{venueId}/codes/{code}/attach#

Add an initialised printed code to a table, room or other target.

Auth Member session token, venue staff with attach_codes

NameInTypeDescription
venueId requiredpathstringThe venue id.
code requiredpathstringThe 12 digit printed code.
targetType requiredbodystringmember, table, room or other.
targetId requiredbodystringThe target id.
label requiredbodystringA short label.

Request

bash
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/codes/<code>/attach" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"targetType": "table", "targetId": "T4", "label": "Table 4"}'

Response

json
{ "sticker": "123456789012", "url": "https://chingching.club/qr/123456789012" }
StatusMeaning
403The caller may not attach codes. Code forbidden.
404The code is not valid. Code code_not_valid.
409The code is not initialised yet (tag_not_initialised, or init_required for staff who may initialise it), or it is taken by another target (code_taken).

Only available when printed codes are switched on, otherwise 404 not_found.

POST /v1/venues/{venueId}/codes/{code}/retire#

Retire a damaged printed code.

Auth Member session token, venue staff with attach_codes

NameInTypeDescription
venueId requiredpathstringThe venue id.
code requiredpathstringThe 12 digit printed code.

Request

bash
curl -X POST "https://c3.thought.bz/v1/venues/<venueId>/codes/<code>/retire" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>"

Response

json
{
  "code": "123456789012",
  "url": "https://chingching.club/qr/123456789012",
  "status": "retired",
  "targetType": "table",
  "targetId": "T4",
  "label": "Table 4"
}
StatusMeaning
403The caller may not retire codes. Code forbidden.
409The code is not at this venue or is already retired. Code code_taken.

POST /v1/preprinted/{code}/init/start#

Start initialising an NFC sticker.

Auth Member session token, venue staff with sticker_init

NameInTypeDescription
code requiredpathstringThe 12 digit printed code.
restartbodybooleanTrue to clear an earlier attempt and start again.

Request

bash
curl -X POST "https://c3.thought.bz/v1/preprinted/<code>/init/start" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

json
{ "code": "123456789012", "status": "ready", "url": "https://chingching.club/qr/123456789012", "step": "start", "initStartedAt": "2026-12-02T14:15:15Z" }
StatusMeaning
403The caller does not hold sticker_init. Code forbidden.
404The code is not valid. Code code_not_valid.
409Another person is initialising it (init_busy), the attempt expired (attempt_expired), the chip is locked or unsupported (chip_locked, chip_unsupported), the UID is already used (nfc_uid_in_use) or it is already initialised (already_initialised).

Initialising a sticker takes four calls in order: start, written, confirm-qr and locked. An attempt belongs to one staff member and expires after 10 minutes. A step that already succeeded can be repeated safely. Only available when printed codes are switched on, otherwise 404 not_found.

POST /v1/preprinted/{code}/init/written#

Report that the chip was written.

Auth Member session token, venue staff with sticker_init

NameInTypeDescription
code requiredpathstringThe 12 digit printed code.
nfcUid requiredbodystringThe chip UID as 8, 14 or 20 hex characters.
chipStatebodystringours, other, locked, unreadable or unsupported.
chipUrlbodystringWhat the chip held before, when chipState is other.
chipLockedbodybooleanWhether the chip was already locked.

Request

bash
curl -X POST "https://c3.thought.bz/v1/preprinted/<code>/init/written" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"nfcUid": "04A1B2C3D4E5F6"}'

Response

json
{ "code": "123456789012", "status": "ready", "nfcUid": "04A1B2C3D4E5F6", "step": "written", "initWrittenAt": "2026-12-02T14:16:00Z" }
StatusMeaning
403The caller does not hold sticker_init. Code forbidden.
404The code is not valid. Code code_not_valid.
409Another person is initialising it (init_busy), the attempt expired (attempt_expired), the chip is locked or unsupported (chip_locked, chip_unsupported), the UID is already used (nfc_uid_in_use) or it is already initialised (already_initialised).

POST /v1/preprinted/{code}/init/confirm-qr#

Confirm the QR half of the sticker was checked.

Auth Member session token, venue staff with sticker_init

NameInTypeDescription
code requiredpathstringThe 12 digit printed code.

Request

bash
curl -X POST "https://c3.thought.bz/v1/preprinted/<code>/init/confirm-qr" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

json
{ "code": "123456789012", "status": "ready", "step": "qr", "initQrAt": "2026-12-02T14:17:00Z" }
StatusMeaning
403The caller does not hold sticker_init. Code forbidden.
404The code is not valid. Code code_not_valid.
409Another person is initialising it (init_busy), the attempt expired (attempt_expired), the chip is locked or unsupported (chip_locked, chip_unsupported), the UID is already used (nfc_uid_in_use) or it is already initialised (already_initialised).

POST /v1/preprinted/{code}/init/locked#

Report that the chip was locked and finish initialising.

Auth Member session token, venue staff with sticker_init

NameInTypeDescription
code requiredpathstringThe 12 digit printed code.
nfcUid requiredbodystringThe chip UID. It must match the one reported earlier.
chipStatebodystringours, other, locked, unreadable or unsupported.
chipLockedbodybooleanWhether the chip is now locked.

Request

bash
curl -X POST "https://c3.thought.bz/v1/preprinted/<code>/init/locked" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>" \
  -H "Content-Type: application/json" \
  -d '{"nfcUid": "04A1B2C3D4E5F6"}'

Response

json
{ "code": "123456789012", "status": "init", "nfcUid": "04A1B2C3D4E5F6", "initAt": "2026-12-02T14:18:00Z", "initBy": "u12345abcde", "step": "locked" }
StatusMeaning
403The caller does not hold sticker_init. Code forbidden.
404The code is not valid. Code code_not_valid.
409Another person is initialising it (init_busy), the attempt expired (attempt_expired), the chip is locked or unsupported (chip_locked, chip_unsupported), the UID is already used (nfc_uid_in_use) or it is already initialised (already_initialised).

A chip locked with the wrong content, or with a UID that does not match, makes the code invalid for good. The code can then never be used.

Public reads#

Read-only calls that need no sign-in. They still need the app headers, and a website can send x-c3-platform: web.

GET /v1/public/venues#

List venues for the public map.

Auth None

Request

bash
curl "https://c3.thought.bz/v1/public/venues"

Response

json
{
  "venues": [
    { "venueId": "vn12345abcde", "venueName": "Mira Room", "slug": "mira-room", "status": "active", "suburb": "Sandton" }
  ]
}

The owner, staff and street address are never included. suburb appears when one was set.

GET /v1/public/venues/{slug}#

Read one public venue by its slug.

Auth None

NameInTypeDescription
slug requiredpathstringThe venue slug, for example mira-room.

Request

bash
curl "https://c3.thought.bz/v1/public/venues/<slug>"

Response

json
{ "venueId": "vn12345abcde", "venueName": "Mira Room", "slug": "mira-room", "status": "active", "suburb": "Sandton" }
StatusMeaning
404No such venue. Code not_found.

GET /v1/public/slug-redirects/{variant}#

Find the current slug for an older spelling of a venue name.

Auth None

NameInTypeDescription
variant requiredpathstringThe older, hyphenated form of the name.

Request

bash
curl "https://c3.thought.bz/v1/public/slug-redirects/<variant>"

Response

json
{ "variant": "mira-room-2", "slug": "mira-room", "venueId": "vn12345abcde" }
StatusMeaning
404No venue was stored under that spelling. Code not_found.

GET /v1/public/events#

List upcoming public events.

Auth None

Request

bash
curl "https://c3.thought.bz/v1/public/events"

Response

json
{
  "events": [
    { "eventId": "ev12345abcde", "date": "2026-12-05", "venueId": "vn12345abcde", "venueName": "Mira Room", "status": "confirmed", "suburb": "Sandton" }
  ]
}

Up to 50 events that are invited, confirmed or checked in. No member is named.

GET /v1/public/profiles/{handle}#

Read the public card for a handle.

Auth None

NameInTypeDescription
handle requiredpathstringThe handle, with or without the at sign.

Request

bash
curl "https://c3.thought.bz/v1/public/profiles/<handle>"

Response

json
{ "handle": "bluetwo", "level": 2, "levelIconId": "level.2" }
StatusMeaning
404No such handle. Code not_found.

GET /v1/public/resolve/{path}#

Work out whether a path is a profile or a venue.

Auth None

NameInTypeDescription
path requiredpathstringA handle with an at sign, a venue slug, or an older slug spelling.

Request

bash
curl "https://c3.thought.bz/v1/public/resolve/<path>"

Response

json
{ "kind": "profile", "handle": "bluetwo", "level": 2, "levelIconId": "level.2" }
StatusMeaning
404Nothing matches. Code not_found.

A venue answers with the same fields as GET /v1/public/venues/{slug}.

Updated 2026-12-02