I am trying to figure out how to write an API call that gets the information on a specific list on a specific day.
For instance if you navigate to the Lists under Contacts and click performance, you'll get the number of contacts in the list over time. I would like to be able to make a call and retrieve that information. It seems as though I can only get the current value through the /contacts/v1/lists call or through the "/contacts/v1/lists/{list_id}/contacts/all" call.
Hey, @gbultman👋 Great question. You are not missing an available endpoint. The endpoints you found are designed to give you the current state of the list, such as its current size and the contacts that are currently members of the list.
To track the list size, you'll need to look at alternatives, such as setting up a cron job to call the API daily and store the data in an external DB, for example.
Hello, hope you are doing well and that you were able to acomplish your goal. Coincidentally I am now running into the same problem. Were you ever able to figure out the API call workaround or did you turn to cron? If the later, do you have any reasources you recommend? Thanks for your time! 😁
Unfortunately, I was not able to solve this through the API. Right now, I'm downloading the data on a weekly basis and storing the information in a separate place. It's definitely not ideal.
Wow! Thank you for your super fast reply. Sorry to hear you were not able to find a solution. If I find/make a script that works good I'll make sure to send it over 🖱. Until then, I will probably do the same thing. I really appreciate your response and hope you have a great day 👍