Unable to retrieve 'not done' activities from API

Victor Thieu
Victor Thieu Posts: 1
edited July 24 in Sales CRM #1

Hi all,

I'm trying to retrieve all activities from my PD, but I'm only getting the 'done' activities in return.

I have tried not specifiying the "done" parameter:

https://api.pipedrive.com/v1/activities?user_id=0&api_token=XXX&limit=500&tart=100000

 

I've also tried specifying "done=0":

https://api.pipedrive.com/v1/activities?user_id=0&done=0&api_token=XXX&limit=500&limit=100000

 

Any help is appreciated!

Cheers,

Vic

Tagged:

Comments

  • Mike van der Valk
    Mike van der Valk Posts: 4,389 PIPEDRIVE PRODUCT MANAGER
    2500 Comments Third Anniversary 25 Likes First Answer
    edited September 2020 #2

    Hi @Victor Thieu 

    The urls you try will give correctly “not done” activities (as well as “done”, it can be regulated with done GET param, as you're doing)

    Example returned activity (some fields only):

    {

    "id": 2210,

    "done": false,

    "user_id": xxxxxxx

    }