# Spotify · `get_recently_played_tracks`

Get recently played Spotify tracks for the authenticated user.

- **Service**: `spotify`
- **Action**: `get_recently_played_tracks`
- **Action id**: `spotify.get_recently_played_tracks`
- **Required scopes**: spotify.recent.read

## Inspect the schema

Always fetch the authoritative input/output schema before building a payload — fields and defaults can change upstream:

```bash
oo connector schema "spotify" --action "get_recently_played_tracks"
```

## Run

```bash
oo connector run "spotify" --action "get_recently_played_tracks" --data '{}' --json
```

Replace `{}` with a JSON object that matches the input schema. The response is `{ "data": ..., "meta": { "executionId": "..." } }`.
