List user's families

GET/families

Returns every family the authenticated user belongs to, with the caller's role in each. Families are the top-level container for children and policies.

Auth:Bearer

Response

id

Unique identifier for this resource.

uuid
name

Human-readable display name.

string
created_at

RFC 3339 timestamp of when the resource was created.

datetime
Request
bash
curl -sS "https://phosra-api-sandbox-production.up.railway.app/api/v1/families" \
  -H "Authorization: Bearer $PHOSRA_API_KEY"
Response
json
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "string",
    "created_at": "2025-01-15T09:30:00Z"
  }
]