Teams
List invites
List a team's pending invites.
GET /teams/{teamId}/invites
Returns the team's pending invites, newest first. Requires the owner role.
Authentication: Bearer token · Role: owner · Permission:
teams:read · Rate limit: default (120 / 60s)Path parameters
teamId
string · uuid v7 required
The ID of the team.
Request
curl https://api.twominutereports.com/v1/teams/0190f8b0-1a2b-7c3d-8e4f-5a6b7c8d9e0f/invites \
-H "Authorization: Bearer tmrc_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Response
{
"success": true,
"data": [
{
"id": 4821,
"email": "[email protected]",
"role": "viewer",
"status": "pending",
"createdAt": "2026-06-10T09:00:00.000Z"
}
]
}
{
"success": false,
"error": { "code": "BAD_REQUEST", "message": "Invalid UUID: \"abc\"" }
}
{
"success": false,
"error": { "code": "FORBIDDEN", "message": "You do not have permission to perform this action" }
}
The invite object
id
number
The invite's numeric identifier.
email
string
The invited email address.
role
string
The role the invitee will receive — one of
viewer, editor, owner.status
string
The invite status. Pending invites have
status of pending.createdAt
string
When the invite was created.