Does anyone have experience making a GET request to the Knack API to find a record ID based on certain parameters within an object? I am trying to construct a GET request that will retrieve the record ID of the most recent record that matches the phone number field in that record. In other words, I need the record ID of the record that contains a matching field and I need the most recent record in its object. I am trying to code this in Node 10 with Twilio. Any help is greatly appreciated!
I'm going to to assume you have a field with the date in it that identifies most recent. Then all I'd do is run a search query on phone number that is sorted in descending order on the date field and take the first record.