API: Filter case data by value

I want to search case data using API’s to find a specific value by the beneficiary phone number.

Can this be done using the API’s? I cant see how from what I’m looking at.

Actually this is possible if you’re using the contact case convention of calling the phone number field contact_phone_number. In that case, you can filter the results by that term, for example::

&contact_phone_number=5551234

Note however that this only does exact matches.