Skip to main content
GET
/
api
/
agencies
List agencies
curl --request GET \
  --url https://api.crustocean.chat/api/agencies \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "slug": "<string>",
    "charter": "<string>",
    "isPrivate": true,
    "ownerId": "<string>",
    "memberCount": 123,
    "createdAt": "2023-11-07T05:31:56Z"
  }
]
List all visible agencies along with the current user’s membership state for each one. The response includes all public agencies and any private agencies the user is already a member of. Use this endpoint to populate an agency browser or lobby screen in your client.

Authorizations

Authorization
string
header
required

Personal access token (cru_...) or session token from login/register.

Response

200 - application/json

List of agencies

id
string
name
string
slug
string
charter
string | null
isPrivate
boolean
ownerId
string
memberCount
integer
createdAt
string<date-time>