GETBearer token
Get team details
/api/v1/team
Read every field of the authenticated user's fixed Team record, including its balance and spending total, without member records.
Request example
cURL
curl "https://tovahub.com/api/v1/team" \
-H "Authorization: Bearer $TOVAHUB_TOKEN"Examples only. No requests are sent from this page.
Illustrative response
JSON
{
"_id": "507f1f77bcf86cd799439013",
"name": "Example team",
"ownerId": "507f1f77bcf86cd799439012",
"balance": "12500",
"spent": "2500",
"createdAt": "2026-01-01T00:00:00.000Z"
}Parameters
No parameters.
Response
HTTP status 200
The authenticated user's fixed Team document, with every Team field and no member records.
_idstring (ObjectId)Team identifier.
namestringTeam name.
ownerIdstring (ObjectId)Current team owner identifier.
balancestringInteger USD cents, not a decimal dollar value.
spentstringNet USD spending in integer cents.
createdAtstring (ISO 8601)Team creation time.