Can't figure out how to create a report run with parameters through API

I have a report that has a parameter for client_id. I can create a new run with parameters from the web client, but I can't seem to find anywhere in the documentation that describes how to specify report parameters through the api.

Web form works fine when I fill out the form here:

https://modeanalytics.com/<my_account>/reports/<my_report>/

API endpoint used:

POST -> https://modeanalytics.com/api/<my_account>/reports/<my_report>/runs/

I have tried raw data of `{"parameters": {"client_id":"123"}}`, `{"client_id":"123"}`, `{"params":{"client_id":"123"}}`, etc. but when I query report runs, the parameter always has a value of null, and the ones created with the web form always have the value I entered.

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
reply to topic
Like Follow
  • 1 mth agoLast active
  • 90Views
  • 1 Following

Create A New Discussion

Share your thoughts