List teams

gethttps://api.expiryedge.com/v1/getTeams
any role60/min
Anfrage
curl 'https://api.expiryedge.com/v1/getTeams' \
  -H "Authorization: Bearer $EXPIRYEDGE_API_KEY"
Antwort
{
  "teams": [
    {
      "team_id": "tm_3Fh8qLx",
      "team_name": "Front Desk",
      "created_at": "2026-09-27T14:05:00.000Z",
      "member_count": 4
    }
  ]
}

Returns every team in your organization with its member count. Returns all records; unbounded. Use POST with {"userTeamsOnly": true} to get only the teams you belong to.

Rückgabe

200
Teams in the organization.
  • teamsarray of objectserforderlich
  • messagestring
    Present when there are no teams.
  • allow_createboolean
    Present (true) when the organization has no teams.

Fehler

401
Missing, expired or invalid bearer token.
404
Your user profile was not found.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.
500
Unexpected server error. Retry later; quote requestId to support.