# Listar miembros del equipo

GET `https://api.bydomu.com/v1/team`

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

Miembros de la organización, del más antiguo al más nuevo, con su rol en la organización.

Permission required

`team:read`

Required header

`X-API-Key` · secret key

Access level

Level 2 · automatic on Inmobiliaria Pro

## Response 200

`TeamMember[]` · 9 fields

**`data[]` id · firstName · lastName · name · avatarUrl · bio · phone · role · joinedAt**

`id` string ID del usuario

`firstName` string

`lastName` string

`name` string

`avatarUrl` string

`bio` string

`phone` string

`role` string Rol en la organización: `owner`, `admin` o `member`

`joinedAt` string

## Possible errors

shaped as `{ "error": { "code", "message" } }`

- **401** UNAUTHORIZED
- **403** FORBIDDEN
- **429** RATE_LIMITED
- **500** INTERNAL_ERROR

cURL:

```bash
curl "https://api.bydomu.com/v1/team" \
  -H "X-API-Key: $BYDOMU_API_KEY"
```

JavaScript:

```js
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.team.listMembers();
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.bydomu.com/v1/team",
    headers={"X-API-Key": os.environ["BYDOMU_API_KEY"]}
)
data = r.json()
```

**Response · 200 · example**

```json
{
  "data": [
    {
      "id": "clx1usr001",
      "firstName": "Carlos",
      "lastName": "Rodríguez",
      "name": "Carlos Rodríguez",
      "avatarUrl": "https://cdn.bydomu.com/avatars/carlos.jpg",
      "bio": "Asesor con 10 años en el mercado de Bogotá.",
      "phone": "+573001234567",
      "role": "member",
      "joinedAt": "2025-01-15T10:00:00.000Z"
    }
  ]
}
```
