Create a family
POST
/familiesCreates a new family owned by the authenticated user and returns the created resource. The creator is added as the first member with the `owner` role.
Auth:
BearerRequest body
namestringrequired
Response
idUnique identifier for this resource.
uuid
nameHuman-readable display name.
string
created_atRFC 3339 timestamp of when the resource was created.
datetime
Request
bash
curl -sS -X POST "https://phosra-api-sandbox-production.up.railway.app/api/v1/families" \
-H "Authorization: Bearer $PHOSRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "The Chen Family"
}'Response
json
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "string",
"created_at": "2025-01-15T09:30:00Z"
}