# Retrieve All Teams

## List all teams

<mark style="color:blue;">`GET`</mark> `https://api.xenia.team/v1/teams`

Get a list of all teams

#### Headers

| Name                                            | Type      | Description  |
| ----------------------------------------------- | --------- | ------------ |
| Authorization<mark style="color:red;">\*</mark> | JWT Token | Access Token |

{% tabs %}
{% tab title="200 Success" %}
```javascript
{
    teams: [{
    "id": "e77b6442-de60-401c-a173-0afc84a5747e",
    "name": "Admins",
    "members" [{
    "id": "e77b6442-de60-401c-a173-0afc84a5747f",
    "firstName": "John",
    "lastName" "Wick",
    "email": "john@company.com",
    "phone": "+14844608118",
    "photo": "https://cdn.xenia.team/images/e77b6442.png",
    "status": "active",
    "workspaceId": "e77b6442-de60-401c-a173-0afc84a5747q",
    "locations": ["e77b6442-de60-401c-a173-0afc84a5747h"],
    "createdAt": 1701743645
    "updatedAt": 2001743645
}],
    "createdAt": 1701743645
    "updatedAt": 2001743645
    }]
}
```
{% endtab %}

{% tab title="401 Permission denied" %}

{% endtab %}
{% endtabs %}
