Organization API › Teams
List teams
GET/api/v1/teams
Every team in the organization. Without identity:team:read, only the key's
own team (an organization key scoped to a team), so a key can always see the
team it belongs to.
Permission: none — any valid API key of the organization. With identity:team:read, every team.
Authorization
Responses
200
The teams.
dataarray of Team requiredShow Team properties
idstring requirednamestring requiredslugstringdescriptionstringorg_idstring requiredmember_countinteger requiredmember_idsarray of string requiredcreated_atstring (date-time) requiredupdated_atstring (date-time) required
successboolean required
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe response'sX-Request-ID; quote it to support.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe response'sX-Request-ID; quote it to support.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.request_idstringThe response'sX-Request-ID; quote it to support.
Example request
curl -X GET 'https://evohub.io/api/v1/teams' \
-H 'Authorization: Bearer <TOKEN>'