---
name: spinitron-v2-api
description: "Spinitron v2 API skill. Use when working with Spinitron v2 for personas, shows, playlists. Covers 9 endpoints."
version: 1.0.0
generator: lapsh
---

# Spinitron v2 API
API version: 1.0.0

## Auth
Bearer bearer | ApiKey access-token in query

## Base URL
https://spinitron.com/api

## Setup
1. Set Authorization header with Bearer token
2. GET /personas -- get personas
3. POST /spins -- create first spin

## Endpoints
9 endpoints across 4 groups. See references/api-spec.lap for full details.

### Personas
| Method | Path | Description |
|--------|------|-------------|
| GET | /personas | Get Personas |
| GET | /personas/{id} | Get Persona by id |

### Shows
| Method | Path | Description |
|--------|------|-------------|
| GET | /shows | Returns scheduled shows optionally filtered by {start} and/or {end} datetimes |
| GET | /shows/{id} | Get a Show by id |

### Playlists
| Method | Path | Description |
|--------|------|-------------|
| GET | /playlists | Returns playlists optionally filtered by {start} and/or {end} datetimes |
| GET | /playlists/{id} | Get a Playlist by id |

### Spins
| Method | Path | Description |
|--------|------|-------------|
| GET | /spins | Returns spins optionally filtered by {start} and/or {end} datetimes |
| POST | /spins | Log a Spin |
| GET | /spins/{id} | Get a Spin by id |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all personas?" -> GET /personas
- "Get persona details?" -> GET /personas/{id}
- "List all shows?" -> GET /shows
- "Get show details?" -> GET /shows/{id}
- "List all playlists?" -> GET /playlists
- "Get playlist details?" -> GET /playlists/{id}
- "List all spins?" -> GET /spins
- "Create a spin?" -> POST /spins
- "Get spin details?" -> GET /spins/{id}
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Paginated endpoints accept limit/offset or cursor parameters
- Create/update endpoints return the modified resource on success
- Error responses include status codes and descriptions in the spec

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
