Events and invites (c3)
Availability, events and invites in the ChingChing.Club API.
This page is part of the c3 (ChingChing.Club) API reference.
Availability, booked events and invites.
GET /v1/me/availability#
List the dates the member marked as available.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/availability" \
-H "Authorization: Bearer <token>"
Response
{ "dates": [ { "date": "2026-12-05", "available": true } ] }
PUT /v1/me/availability/{date}#
Mark one date as available or not.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
date required | path | string | YYYY-MM-DD. |
available required | body | boolean | The new state. |
Request
curl -X PUT "https://c3.thought.bz/v1/me/availability/<date>" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"available": true}'
Response
{ "date": "2026-12-05", "available": true }
| Status | Meaning |
|---|---|
400 | The date is not valid. Code invalid_body. |
404 | Not found. Code not_found. |
PUT /v1/me/availability-week#
Set availability for 7 days in one call.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
start required | body | string | The first date, YYYY-MM-DD. |
days required | body | array of boolean | Seven values, one for each day from start. |
Request
curl -X PUT "https://c3.thought.bz/v1/me/availability-week" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"start": "2026-12-05", "days": [true, true, false, false, true, true, true]}'
Response
{ "dates": [ { "date": "2026-12-05", "available": true } ] }
GET /v1/availability#
See which members are available on a date.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
date required | query | string | YYYY-MM-DD. |
Request
curl "https://c3.thought.bz/v1/availability" \
-H "Authorization: Bearer <token>"
Response
{
"date": "2026-12-05",
"members": [
{ "memberId": "u12345abcde", "handle": "aquaone", "suburb": "Sandton", "venueId": "vn12345abcde", "venueName": "Mira Room", "costCents": 50000 }
]
}
Only dates today and up to 60 days ahead can be read.
GET /v1/me/events-settings#
Read the member's default event settings.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/events-settings" \
-H "Authorization: Bearer <token>"
Response
{ "venueId": "vn12345abcde", "venueName": "Mira Room", "suburb": "Sandton", "costCents": 50000 }
PUT /v1/me/events-settings#
Change the member's default event settings.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
venueId | body | string | The usual venue. |
suburb | body | string | The suburb to show on the map. |
costCents | body | integer | The usual cost, in cents. |
Request
curl -X PUT "https://c3.thought.bz/v1/me/events-settings" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"venueId": "vn12345abcde", "suburb": "Sandton", "costCents": 50000}'
Response
{ "venueId": "vn12345abcde", "venueName": "Mira Room", "suburb": "Sandton", "costCents": 50000 }
POST /v1/events#
Invite a member to an event on a date.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
memberId required | body | string | The member being invited. |
date required | body | string | YYYY-MM-DD. |
venueId | body | string | The venue. The member's default is used when left out. |
costCents | body | integer | The cost in cents. |
Request
curl -X POST "https://c3.thought.bz/v1/events" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"memberId": "u54321edcba", "date": "2026-12-05", "venueId": "vn12345abcde", "costCents": 50000}'
Response
{
"eventId": "ev12345abcde",
"inviteId": "iv12345abcde",
"status": "invited",
"date": "2026-12-05",
"hostId": "u12345abcde",
"guestId": "u54321edcba",
"venueId": "vn12345abcde",
"venueName": "Mira Room",
"suburb": "Sandton",
"costCents": 50000,
"charge": { "status": "stub", "provider": "stub", "charged": false, "costCents": 50000 }
}
| Status | Meaning |
|---|---|
403 | Not allowed to invite this member. Code forbidden. |
404 | No such member or venue. Code not_found. |
409 | The caller has no handle, the guest is not available that day, or one of them blocked the other. Codes no_handle, not_available and blocked_member. |
No card is charged. The charge object shows that nothing was taken.
GET /v1/events#
List the member's events, newest first.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/events" \
-H "Authorization: Bearer <token>"
Response
{ "events": [ {
"eventId": "ev12345abcde",
"inviteId": "iv12345abcde",
"status": "invited",
"date": "2026-12-05",
"hostId": "u12345abcde",
"guestId": "u54321edcba",
"venueId": "vn12345abcde",
"venueName": "Mira Room",
"suburb": "Sandton",
"costCents": 50000,
"charge": { "status": "stub", "provider": "stub", "charged": false, "costCents": 50000 },
"hostCheckedIn": false,
"guestCheckedIn": false,
"updates": []
} ] }
GET /v1/me/events#
List the member's events. Same result as GET /v1/events.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/events" \
-H "Authorization: Bearer <token>"
Response
{ "events": [ {
"eventId": "ev12345abcde",
"inviteId": "iv12345abcde",
"status": "invited",
"date": "2026-12-05",
"hostId": "u12345abcde",
"guestId": "u54321edcba",
"venueId": "vn12345abcde",
"venueName": "Mira Room",
"suburb": "Sandton",
"costCents": 50000,
"charge": { "status": "stub", "provider": "stub", "charged": false, "costCents": 50000 },
"hostCheckedIn": false,
"guestCheckedIn": false,
"updates": []
} ] }
GET /v1/events/{id}#
Read one event.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The event id. |
Request
curl "https://c3.thought.bz/v1/events/<id>" \
-H "Authorization: Bearer <token>"
Response
{
"eventId": "ev12345abcde",
"inviteId": "iv12345abcde",
"status": "invited",
"date": "2026-12-05",
"hostId": "u12345abcde",
"guestId": "u54321edcba",
"venueId": "vn12345abcde",
"venueName": "Mira Room",
"suburb": "Sandton",
"costCents": 50000,
"charge": { "status": "stub", "provider": "stub", "charged": false, "costCents": 50000 },
"hostCheckedIn": false,
"guestCheckedIn": false,
"updates": []
}
| Status | Meaning |
|---|---|
403 | The member is not part of this event. Code forbidden. |
404 | No such event. Code not_found. |
POST /v1/events/{id}/cancel#
Cancel an event.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The event id. |
Request
curl -X POST "https://c3.thought.bz/v1/events/<id>/cancel" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>"
Response
{ "eventId": "ev12345abcde", "status": "cancelled" }
| Status | Meaning |
|---|---|
403 | The event is not this member's. Code forbidden. |
409 | The event can no longer be cancelled. Code idempotency_conflict. |
Only an invited or confirmed event can be cancelled.
POST /v1/events/{id}/updates#
Add a short note to an event.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The event id. |
note required | body | string | The note. |
Request
curl -X POST "https://c3.thought.bz/v1/events/<id>/updates" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"note": "Running 10 minutes late."}'
Response
{
"eventId": "ev12345abcde",
"updates": [ { "at": "2026-12-05T18:00:00Z", "memberId": "u12345abcde", "note": "Running 10 minutes late." } ]
}
POST /v1/events/{id}/reports#
Report a problem with an event.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The event id. |
reason required | body | string | no_show, unsafe or other. |
note | body | string | More detail. |
Request
curl -X POST "https://c3.thought.bz/v1/events/<id>/reports" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"reason": "no_show", "note": "Did not arrive."}'
Response
{ "reportId": "rp12345abcde", "eventId": "ev12345abcde", "status": "open" }
| Status | Meaning |
|---|---|
400 | The reason is not one of the three allowed. Code invalid_body. |
POST /v1/events/{id}/check-in#
Check in to an event.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The event id. |
Request
curl -X POST "https://c3.thought.bz/v1/events/<id>/check-in" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>"
Response
{ "eventId": "ev12345abcde", "status": "checked_in", "youCheckedIn": true, "bothCheckedIn": false, "friends": false }
POST /v1/events/{id}/pings#
Send a ping to the other person at an event.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The event id. |
note | body | string | An optional note. |
Request
curl -X POST "https://c3.thought.bz/v1/events/<id>/pings" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"note": "I am at the bar."}'
Response
{ "eventId": "ev12345abcde", "pingCount": 1, "at": "2026-12-05T18:30:00Z", "by": "u12345abcde" }
GET /v1/me/invites#
List the invites sent to the member.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/invites" \
-H "Authorization: Bearer <token>"
Response
{
"invites": [
{ "inviteId": "iv12345abcde", "eventId": "ev12345abcde", "fromId": "u12345abcde", "status": "pending", "date": "2026-12-05", "venueId": "vn12345abcde", "venueName": "Mira Room", "suburb": "Sandton", "costCents": 50000 }
]
}
POST /v1/invites/{id}/accept#
Accept an invite.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The invite id. |
Request
curl -X POST "https://c3.thought.bz/v1/invites/<id>/accept" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>"
Response
{ "inviteId": "iv12345abcde", "eventId": "ev12345abcde", "status": "accepted" }
| Status | Meaning |
|---|---|
403 | The invite is not for this member. Code forbidden. |
404 | No such invite. Code not_found. |
409 | The invite was already answered. Code idempotency_conflict. |
POST /v1/invites/{id}/decline#
Decline an invite.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The invite id. |
Request
curl -X POST "https://c3.thought.bz/v1/invites/<id>/decline" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>"
Response
{ "inviteId": "iv12345abcde", "eventId": "ev12345abcde", "status": "declined" }
| Status | Meaning |
|---|---|
403 | The invite is not for this member. Code forbidden. |
404 | No such invite. Code not_found. |
Updated 2026-12-02