Get tasks assigned to a contact through API method

I need generate a report with the tasks assigned to a contact. I tried a request with the method “tasks_get”, but the response only has the tasks from a deal. How can I get the tasks assigned to a contact through the API?

1 Like

Hi reportspruebas,

Biannca here from our CX team, sorry we missed this when it was originally published.

In the spirit of providing insight on this question, the api endpoint tasks_get is used to get tasks for a given deal.

If you want to get a list of tasks associated to a contact you can run this api endpoint " List all tasks" and you can filter Subscriber under the filters[reltype]to return tasks associated to contacts.

Please don’t hesitate to reply back out or email us at help@activecampaign.com if you have any further questions.