# Asterisk Project : Asterisk 12 Playback REST API

Added by dlee , edited by dlee on Jul 29, 2013

# Playback

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

## GET /playback/{playbackId}

Get a playback's details.

### Path parameters

- playbackId: string - Playback's id

## DELETE /playback/{playbackId}

Stop a playback.

### Path parameters

- playbackId: string - Playback's id

## POST /playback/{playbackId}/control

Get a playback's details.

### 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