Method Community


Filters not working with API Key

Last post 04-04-2023 4:34 PM by Method_Inderdeep. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-04-2023 3:45 PM

    Filters not working with API Key


    I am trying to pull invoices between a range of dates using the API, but when I add the filter parameter to the url receive curl error #3 indicating the the url is a bad format or is missing.  Should I be able to use an API key get filtered results? 

    Here is an example of the URL I am trying to use" ge '2023-03-01T00:00-04:00' and TimeCreated lt '2023-03-20T00:00-04:00'"

    I am able to pull invoices if I leave the filter parameter blank, but if I add anything to it I get the curl error.



  • 04-04-2023 4:34 PM In reply to

    Re: Filters not working with API Key

    Hi Bradvb123,

    Thanks for reaching out to Method!

    I was able to use the same query and able to fetch the desired results. One thing to make sure to add APIKey in front of your key. Below is a screenshot of what it looks like:

    Please try that and let me know if you are still running into the issue. You can email me the error at


Page 1 of 1 (2 items)