Skip to main content
GET
Count the Team by tenure

Authorizations

Authorization
string
header
required

A member credential in the Authorization: Bearer header: a portal JWT whose login is linked to a membership in that company, or a member token. The credential alone identifies the member and company. A member session JWT, the kind order and subscription email links carry, is refused with 403, as legacy My Team needs a rep session. A customer or preferred-customer membership is refused with 403 too: legacy My Team (authorize_rep_tier) admits reps, company admins and root admins. A company admin's own credential is not a member credential and gets 401, so in practice a rep's or a root admin's membership reads the Team.

Headers

If-None-Match
string

A previously returned ETag. Authentication and the current Team read run before a 304 is considered.

Response

The member's Team by tenure.

The signed-in member's Team by tenure.

status
integer
required
data
object
required

The signed-in member's Team, over the same members and five levels as the Team list and summary, counted by how long each member has been one. Tenure is the whole UTC days from the member's joined_at to today. Counts only: no Team member is named.

meta
object
required

Envelope metadata present on every response.