ThoughtAPI

Docs c3

Friends and chats (c3)

Friends, blocks, chat, profiles and nearby members 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.

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

bash
curl "https://c3.thought.bz/v1/me/friends" \
  -H "Authorization: Bearer <token>"

Response

json
{ "friends": [ { "memberId": "u54321edcba", "handle": "bluetwo", "chatId": "<chat id>" } ] }

POST /v1/me/friends#

Add a friend by phone number.

Auth Member session token

NameInTypeDescription
e164 requiredbodystringThe friend's phone number.

Request

bash
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

json
{ "memberId": "u54321edcba", "handle": "bluetwo", "chatId": "<chat id>", "status": "friends" }
StatusMeaning
404No member with that number. Code not_found.

DELETE /v1/me/friends/{id}#

Remove a friend.

Auth Member session token

NameInTypeDescription
id requiredpathstringThe friend's member id.

Request

bash
curl -X DELETE "https://c3.thought.bz/v1/me/friends/<id>" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>"

Response

json
{ "memberId": "u54321edcba", "status": "removed" }
StatusMeaning
404Not a friend. Code not_found.

GET /v1/me/blocks#

List the members the caller has blocked.

Auth Member session token

Request

bash
curl "https://c3.thought.bz/v1/me/blocks" \
  -H "Authorization: Bearer <token>"

Response

json
{ "memberId": "u12345abcde", "items": [] }

POST /v1/me/blocks#

Block a member.

Auth Member session token

NameInTypeDescription
memberId requiredbodystringThe member to block.

Request

bash
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

json
{ "memberId": "u54321edcba", "blocked": true }

DELETE /v1/me/blocks/{id}#

Unblock a member.

Auth Member session token

NameInTypeDescription
id requiredpathstringThe blocked member's id.

Request

bash
curl -X DELETE "https://c3.thought.bz/v1/me/blocks/<id>" \
  -H "Authorization: Bearer <token>" \
  -H "Idempotency-Key: <16 to 128 characters>"

Response

json
{ "memberId": "u54321edcba", "blocked": false }
StatusMeaning
404That 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

bash
curl "https://c3.thought.bz/v1/me/chats" \
  -H "Authorization: Bearer <token>"

Response

json
{
  "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

NameInTypeDescription
id requiredpathstringThe chat id from the chat list.
text requiredbodystringThe message, up to 1000 characters.

Request

bash
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

json
{ "id": "mg12345abcde", "chatId": "<chat id>", "from": "u12345abcde", "text": "See you there", "createdAt": "2026-12-05T18:30:00Z" }
StatusMeaning
403The member is not in this chat. Code forbidden.
404No such chat. Code not_found.

GET /v1/profiles/{handle}#

Read another member's profile card.

Auth Member session token

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

Request

bash
curl "https://c3.thought.bz/v1/profiles/<handle>" \
  -H "Authorization: Bearer <token>"

Response

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

GET /v1/search/handles#

Find a member by exact handle.

Auth Member session token

NameInTypeDescription
q requiredquerystringThe handle, with or without the at sign.

Request

bash
curl "https://c3.thought.bz/v1/search/handles" \
  -H "Authorization: Bearer <token>"

Response

json
{ "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

bash
curl "https://c3.thought.bz/v1/me/nearby" \
  -H "Authorization: Bearer <token>"

Response

json
{ "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