Skip to main content
GET
Count the Team's subscriptions due to renew soon

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.

Query Parameters

window
enum<string>
default:30d

How many UTC days after today the window reaches. Defaults to 30d.

Available options:
7d,
14d,
30d

Response

The Team's renewals due in the window, per level.

The signed-in member's Team renewals due in a window.

status
integer
required
data
object
required

The signed-in member's Team's active subscriptions due to bill within a window, per level. Counts only: no Team member or subscription is named.

meta
object
required

Envelope metadata present on every response.