# Get voicemail by numeric ID or proxy legacy list selectors **GET /voicemail/list/{id}** When `id` is numeric, the middleware fetches the legacy voicemail list and filters it locally. When `id` is a legacy selector such as `all`, `old`, or `inbox`, the request is transparently proxied to the legacy V1 API path. ## Servers - Local development server: http://localhost:8080 (Local development server) - Production server: https://middleware.example.com/api (Production server) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **id** (string) ## Responses ### 200 Voicemail list or filtered voicemail item #### Body: application/json (object) - **count** (integer) - **rows** (array[object]) ### 400 Missing voicemail id #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** () - **error** (string) ### 401 Unauthorized #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** () - **error** (string) ### 502 Failed to fetch the legacy voicemail list #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** () - **error** (string) [Powered by Bump.sh](https://bump.sh)