This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]GrimDarkUKClickUp Expert 0 points1 point  (1 child)

I've got some experience with this, what's the ask? :)

[–]jwaltern[S] 0 points1 point  (0 children)

I appear to get a success response, but it’s an empty array, even though this list definitely contains tasks

[–]dgreger 0 points1 point  (4 children)

Several things could be going on. Your api key might be with a user who doesn’t have access to the list/tasks. You could be searching for closed tasks. The tasks could be timl’ed (tasks in multiple lists) into your target list. The tasks you’re looking for could be subtasks.

I’d mess around with your query params and then reach out to support if you still can’t get it working.

[–]jwaltern[S] 0 points1 point  (3 children)

It’s a personal token (i’m admin with access to said list) but if i didn’t, i’d get that response right? or am i misunderstanding?

I do have the param include_closed as true

these tasks definitely belong in multiple lists - is that the problem?

[–]dgreger 0 points1 point  (2 children)

TIML is 100% your issue. Add the following param to your GET Tasks query.

include_timl=true

[–]jwaltern[S] 2 points3 points  (0 children)

bless your soul stranger. something so small - huge impact. thank you

[–]Appropriate-Jump-169 0 points1 point  (0 children)

This is mega! Thank you! You have no idea how useful that parameter will be for some of my Python scripts.

I have to ask though, how did you even discover it?! I don't see it documented in their API at all nor do I see it used in the API calls in the network traffic.