shadwshadw/Docs
GuidesAPIGetting Started
Dashboard
shadw REST APIOverviewErrors
  • GETList teams
  • GETGet a team
  • POSTAdd a team member
  • DELRemove a team member
APIs & SDKs/shadw REST API/Get a team

Get a team

GEThttps://api.shadw.cloud/v1/teams/{slug}

Get a team's details, members and plan.

Authentication

AuthorizationbearerToken

A platform API key (hive_…, created under Settings → API Keys) or a short-lived JWT minted with POST /v1/token. An API key scopes the request to the team it was created under.

Path parameters

slugstringRequired

The team slug.

ts
const response = await fetch('https://api.shadw.cloud/v1/teams/{slug}', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY', // hive_… (Settings → API Keys)
  },
});

const data = await response.json();
console.log(data);
Response
json
{ "slug": "acme", "name": "Acme", "plan": "pro", "members": [] }