Skip to main content
GET
/
v1
/
orgs
List Organizations
curl --request GET \
  --url https://api.truthlocks.com/v1/orgs \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "org_7y8i2p_abc",
      "name": "Acme Corp",
      "slug": "acme-corp",
      "status": "ACTIVE",
      "created_at": "2026-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "cursor_xyz123"
}
Returns a list of organizations associated with the authenticated tenant. This endpoint is typically used by platform administrators to manage tenant structure.

Parameters

limit
number
Maximum number of items to return
cursor
string
Pagination cursor for the next page of results

Responses

{
  "items": [
    {
      "id": "org_7y8i2p_abc",
      "name": "Acme Corp",
      "slug": "acme-corp",
      "status": "ACTIVE",
      "created_at": "2026-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "cursor_xyz123"
}

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Response

200 - application/json

List of organizations

id
string<uuid>
tenant_id
string<uuid>
name
string
slug
string
status
enum<string>
Available options:
ACTIVE,
SUSPENDED
created_at
string<date-time>