Profiles
The API uses Chainer for a person's profile. Public directory data is intentionally different from the signed-in user's own profile.
GET /chainers
List public profiles with claimed usernames. Authentication is not required, and adding a Bearer token does not turn this public response into a private identity directory.
Request
| Query parameter | Meaning |
|---|---|
limit | Page size; default 20. |
offset | Number of records to skip; default 0. |
q | Optional text search across public username, name, bio, and tagline. |
curl --fail-with-body -sS \
"https://api.chainabit.com/api/v1/chainers?limit=10&offset=0" | jq .Response
200 OK returns a data array and meta containing limit, offset, total, and hasNextPage. This is offset pagination, not a cursor contract.
Public profile fields are username, fullName, avatarUrl, bio, and tagline when present. The public projection does not disclose a person's private UUID, email address, workspace membership, or a visibility field.
GET /chainers/:username
Read the public profile for an actual username. Authentication is not required. A missing profile returns 404; a profile that is not public is refused.
curl --fail-with-body -sS \
"https://api.chainabit.com/api/v1/chainers/$USERNAME" | jq .The result is a public profile object under data. It does not grant authority to add that person to an account or workspace.
GET /chainers/me
Read your own profile using a JWT Bearer access token. The identity feature requires a claimed username; an account that has not claimed one can receive 403.
curl --fail-with-body -sS "https://api.chainabit.com/api/v1/chainers/me" \
-H "Authorization: Bearer $TOKEN" | jq .Use this authenticated contract when your application needs the current person's own profile. It is separate from the public username lookup above.
Learn by doing
Follow the profile tutorial, or see workspace membership for collaboration access.