Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

342
Vistas
How do I get all closed tasks from a list using the ClickUp API?

I'm trying to get a list of completed tasks from a given list in a folder from the ClickUp API. I want tasks that have a status called complete.

The problem is, one task is being returned, but I know there are 40.

I know I have the right list ID because I've verified that it:

  • Is returned as a list with the correct name if I query /api/v2/space/${space_id_where_the_list_lives}/folder?archived=true;
  • Is the list ID I see when I just open ClickUp and go to that folder/list in my browser.

Here's my query string:

https://api.clickup.com/api/v2/list/${id}/task?archived=true&include_closed=true&statuses%5B%5D=complete

For debugging, I've tried varying the statuses, etc, and other things mentioned in this similar question. That gave me some insights to debug, but my problem is I seem to be scoping what I want correctly, but ClickUp is just not returning all of the results.

Am I using the wrong route altogether?

The way it's organized, we have:

(space)
   \----(folder)
            \--- List 1
            \--- List 2
            \--- List 3 (ID of 12345)
   \----(folder1)
            \--- List 1
            \--- List 2
            \--- List 3 (ID of 67890)

I want to get all tasks from List 3, after getting its ID from querying the space ID.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Have you actually archived your completed tasks? Your GET request is only going to include archived tasks. Archiving does not mean the same as complete or closed. Archiving in ClickUp kind of hides tasks away and I think you would have to make separate GET requests to access archived and non-archived tasks.

Try this to get the other 39 tasks:

https://api.clickup.com/api/v2/list/${id}/task?archived=false&include_closed=true&statuses%5B%5D=complete

Another possibility is if the tasks you are trying to access are actually generated in a different list and then being added by an automation to the list to which you are making the request. So the tasks are in multiple lists, perhaps in different folders and/or spaces even. I recently noticed I would have to make a request to the original list to access these tasks.

Otherwise, do not be afraid to ask ClickUp directly. They are actually incredibly quick at responding and very helpful.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda