Skip to content

Get teams

Request

Get teams

Query
allowAssigmentboolean

Only return teams that allow work assignment

Default: False

Default:false
const resp = await fetch(
  `https://api-sandbox.lawvu.com/account-apis/v1/teams`,
  {method: 'GET'}
);

const data = await resp.text();
console.log(data);

Responses

OK

Body
Array [
idinteger, (int32)
namestring or null
]
Response
[
  {
    "id": 1,
    "name": "Team 1"
  },
  {
    "id": 2,
    "name": "Team 2"
  }
]