Skip to main content
GET
/
billing
/
is-owner
Check Team Ownership
curl --request GET \
  --url https://api.example.com/billing/is-owner
{
  "is_owner": true
}
Returns { is_owner: true } when the caller holds the owner role on the active team. Several billing actions (subscribing, cancelling, buying top-ups) are owner-only — clients use this to decide whether to show or disable those controls.

Response

200
{
  "is_owner": true
}

Fields

is_owner
boolean
true when the caller’s team_members.role is owner on the currently selected team, false otherwise.

Example

cURL
curl https://api.supapost.so/billing/is-owner \
  -H "Authorization: Bearer YOUR_API_KEY"