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.
GET
/voicemail/list/{id}
curl \
--request GET 'http://localhost:8080/voicemail/list/{id}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"count": 42,
"rows": [
{}
]
}
Response examples (400)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (401)
{
"code": 42,
"message": "string",
"error": "string"
}
Response examples (502)
{
"code": 42,
"message": "string",
"error": "string"
}