We are experiencing failures when calling the POST https://api.retellai.com/v2/list-calls endpoint. The API is returning a 400 Bad Request when we include "registered" as a value in the filter_criteria.call_status array.
Request Body:
{
"filter_criteria": {
"call_status": ["registered", "ongoing"]
}
}
Error:
{
"error_message": "request/body/filter_criteria/call_status/1 must be equal to one of the allowed values: not_connected, ongoing, ended, error"
}
Expected Behavior
According to your public API documentation, registered is a valid call_status value. The API should accept "registered" as a filter criteria, consistent with what the docs describe.
Could you please confirm whether this is an unintended regression in the API’s request validation schema? It appears the allowed values for the `call_status` filter may have fallen out of sync with the actual call statuses the API returns and documents.