Request
curl 'https://api.expiryedge.com/v1/getTeams' \
-H "Authorization: Bearer $EXPIRYEDGE_API_KEY"Response
{
"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.
200
Teams in the organization.
teamsarray of objectsrequiredmessagestringPresent when there are no teams.allow_createbooleanPresent (true) when the organization has no teams.
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. |
