List teams
Any member. Empty on personal workspaces.
View as MarkdownAuthorization
bearer In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/workspaces/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", "is_default": true } ]}Accept an invitation
Full sessions only. Email invites are bound to the invited address. Idempotent for existing members (already_member true). Returns a new workspace-scoped access token; the refresh token is unchanged. The accepting user is also enrolled in the workspace's "General" team (as a member) in the same transaction, so the returned token's teams[] already carries it. Applied to existing members too, so anyone who joined before this behaviour existed is enrolled on their next accept.
Create a team
Team workspaces only; requires org.teams.manage (owner or admin) — the same permission as rename and delete. The creator becomes the team lead. Returns 200 (not 201) with member_count 1 and my_role lead.