Friends and chats (c3)
Friends, blocks, chat, profiles and nearby members in the ChingChing.Club API.
This page is part of the c3 (ChingChing.Club) API reference.
Friends, blocks, chat, and finding other members. Members only see each other by handle.
GET /v1/me/friends#
List the member's friends.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/friends" \
-H "Authorization: Bearer <token>"
Response
{ "friends": [ { "memberId": "u54321edcba", "handle": "bluetwo", "chatId": "<chat id>" } ] }
POST /v1/me/friends#
Add a friend by phone number.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
e164 required | body | string | The friend's phone number. |
Request
curl -X POST "https://c3.thought.bz/v1/me/friends" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"e164": "+27821234567"}'
Response
{ "memberId": "u54321edcba", "handle": "bluetwo", "chatId": "<chat id>", "status": "friends" }
| Status | Meaning |
|---|---|
404 | No member with that number. Code not_found. |
DELETE /v1/me/friends/{id}#
Remove a friend.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The friend's member id. |
Request
curl -X DELETE "https://c3.thought.bz/v1/me/friends/<id>" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>"
Response
{ "memberId": "u54321edcba", "status": "removed" }
| Status | Meaning |
|---|---|
404 | Not a friend. Code not_found. |
GET /v1/me/blocks#
List the members the caller has blocked.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/blocks" \
-H "Authorization: Bearer <token>"
Response
{ "memberId": "u12345abcde", "items": [] }
POST /v1/me/blocks#
Block a member.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
memberId required | body | string | The member to block. |
Request
curl -X POST "https://c3.thought.bz/v1/me/blocks" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"memberId": "u54321edcba"}'
Response
{ "memberId": "u54321edcba", "blocked": true }
DELETE /v1/me/blocks/{id}#
Unblock a member.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The blocked member's id. |
Request
curl -X DELETE "https://c3.thought.bz/v1/me/blocks/<id>" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>"
Response
{ "memberId": "u54321edcba", "blocked": false }
| Status | Meaning |
|---|---|
404 | That member is not blocked. Code not_found. |
GET /v1/me/chats#
List the member's chats with their latest messages.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/chats" \
-H "Authorization: Bearer <token>"
Response
{
"chats": [
{
"id": "<chat id>",
"memberId": "u54321edcba",
"handle": "bluetwo",
"lastText": "See you there",
"updatedAt": "2026-12-05T18:30:00Z",
"messages": [ { "id": "mg12345abcde", "from": "u54321edcba", "text": "See you there", "createdAt": "2026-12-05T18:30:00Z" } ]
}
]
}
POST /v1/me/chats/{id}/messages#
Send a chat message.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
id required | path | string | The chat id from the chat list. |
text required | body | string | The message, up to 1000 characters. |
Request
curl -X POST "https://c3.thought.bz/v1/me/chats/<id>/messages" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <16 to 128 characters>" \
-H "Content-Type: application/json" \
-d '{"text": "See you there"}'
Response
{ "id": "mg12345abcde", "chatId": "<chat id>", "from": "u12345abcde", "text": "See you there", "createdAt": "2026-12-05T18:30:00Z" }
| Status | Meaning |
|---|---|
403 | The member is not in this chat. Code forbidden. |
404 | No such chat. Code not_found. |
GET /v1/profiles/{handle}#
Read another member's profile card.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
handle required | path | string | The handle, with or without the at sign. |
Request
curl "https://c3.thought.bz/v1/profiles/<handle>" \
-H "Authorization: Bearer <token>"
Response
{
"memberId": "u54321edcba",
"handle": "bluetwo",
"level": 2,
"levelIconId": "level.2",
"photoKey": null
}
| Status | Meaning |
|---|---|
404 | No such handle. Code not_found. |
GET /v1/search/handles#
Find a member by exact handle.
Auth Member session token
| Name | In | Type | Description |
|---|---|---|---|
q required | query | string | The handle, with or without the at sign. |
Request
curl "https://c3.thought.bz/v1/search/handles" \
-H "Authorization: Bearer <token>"
Response
{ "handles": [ { "handle": "bluetwo", "memberId": "u54321edcba" } ] }
The list is empty when nothing matches. Only an exact match is returned.
GET /v1/me/nearby#
List members nearby in the same suburb.
Auth Member session token
Request
curl "https://c3.thought.bz/v1/me/nearby" \
-H "Authorization: Bearer <token>"
Response
{ "suburb": "Sandton", "members": [ { "memberId": "u54321edcba", "handle": "bluetwo", "suburb": "Sandton" } ] }
Only members who turned nearby on and share the caller's suburb are listed, and blocked members are left out. A caller with nearby off or no suburb gets an empty list and a null suburb.
Updated 2026-12-02