Unable to retrieve 'not done' activities from API

Victor Thieu
Victor Thieu Member Posts: 1
edited July 2022 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 Product Manager Posts: 3,240
    2500 Comments 100 Likes Third Anniversary 5 Answers
    PRODUCT MANAGER
    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

    }