DevelopersAPI referenceAuth & accountsTeams
List teams
Any member. Empty on personal orgs.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/teams"{ "teams": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "description": "string", "member_count": 0, "my_role": "string", "created_at": "2019-08-24T14:15:22Z" } ]}Accept an invitation
Full sessions only. Email invites are bound to the invited address. Idempotent for existing members (already_member true). Returns a new org-scoped access token; the refresh token is unchanged.
Create a team
Team orgs only; any org member — the creator becomes the team lead. Returns 200 (not 201) with member_count 1 and my_role lead.