Retrieve contact by phone number

I’d like to retrieve a contact using the API, using the phone number (Phone3) as the lookup. The Retrieve contact function requires the contact id, which I don’t know until I look it up based on the phone number. Does anyone have a solution to this?

@ZCH_kORWIN,

There’s a find by field method in the xml-rpc.