# Asterisk Project : Asterisk 12 Playbacks REST API

Added by wikibot , edited by wikibot on Nov 09, 2013

# Playbacks

Method | Path | Return Model | Summary
--- | --- | --- | ---
GET | /playbacks/{playbackId} | Playback | Get a playback's details.
DELETE | /playbacks/{playbackId} | void | Stop a playback.
POST | /playbacks/{playbackId}/control | void | Control a playback.

## GET /playbacks/{playbackId}

Get a playback's details.

### Path parameters

- playbackId: string - Playback's id

### Error Responses

- 404 - The playback cannot be found

## DELETE /playbacks/{playbackId}

Stop a playback.

### Path parameters

- playbackId: string - Playback's id

### Error Responses

- 404 - The playback cannot be found

## POST /playbacks/{playbackId}/control

Control a playback.

### Path parameters

- playbackId: string - Playback's id

### Query parameters

- operation: string - (required) Operation to perform on the playback.

### Error Responses

- 400 - The provided operation parameter was invalid
- 404 - The playback cannot be found
- 409 - The operation cannot be performed in the playback's current state