# Detalle de miembro del equipo

GET `https://api.bydomu.com/v1/team/{id}`

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

Un miembro de la organización por el ID de su usuario.

Permission required

`team:read`

Required header

`X-API-Key` · secret key

Access level

Level 2 · automatic on Inmobiliaria Pro

## Path parameters

1 · required

`id` string · **required**

ID del usuario

## 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
- **404** NOT_FOUND
- **429** RATE_LIMITED
- **500** INTERNAL_ERROR

cURL:

```bash
curl "https://api.bydomu.com/v1/team/clx1usr001" \
  -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.getMember("clx1usr001");
```

Python:

```python
import os, requests

r = requests.get(
    "https://api.bydomu.com/v1/team/clx1usr001",
    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"
  }
}
```
