# Access activities through API

**URL:** <https://community.awork.com/t/access-activities-through-api/3536>\
**Category:** Developer Forum\
**Created:** [28. Mai 2025 um 15:46 UTC](https://community.awork.com/t/access-activities-through-api/3536 "2025-05-28T15:46:52Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian9](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/christian9/32/883_2.png) [@Christian9](https://community.awork.com/u/Christian9)\
**Post date:** [28. Mai 2025 um 15:46 UTC](https://community.awork.com/t/access-activities-through-api/3536/1 "2025-05-28T15:46:52Z")

</div>

Hi!  
For a stakeholder, I need a list of all open tasks in a project sorted by latest activity (as shown at the bottom of the task detail view). We tried accessing this data via API but failed. See also support ticket #8855832 for this. I am not sure if the /timeline endpoint is the correct one. How would you address this requirement?  
Cheers,  
Christian

---

<div class="post-metadata">

**Author:** ![Sebastian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/sebastian/32/89_2.png) [@Sebastian](https://community.awork.com/u/Sebastian)\
**Post date:** [30. Mai 2025 um 08:20 UTC](https://community.awork.com/t/access-activities-through-api/3536/2 "2025-05-30T08:20:16Z")

</div>

Hi @Christian9,

if you need the tasks of a project sorted by latest activity, you could try to get the tasks using ordering from the API.

For example, the following request should give you all tasks of a project ordered by latest updated date descending.  
`/projects/:projectId/projecttasks?orderby=updatedOn desc`

Let me know if you need more help.

---

<div class="post-metadata">

**Author:** ![Christian9](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/christian9/32/883_2.png) [@Christian9](https://community.awork.com/u/Christian9)\
**Post date:** [30. Mai 2025 um 08:32 UTC](https://community.awork.com/t/access-activities-through-api/3536/3 "2025-05-30T08:32:12Z")

</div>

the problem with that is that the last updated field contains internal/system changes as well so it is not identical to the activity list that you can see in the task.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/sebastian/32/89_2.png) [@Sebastian](https://community.awork.com/u/Sebastian)\
**Post date:** [30. Mai 2025 um 08:36 UTC](https://community.awork.com/t/access-activities-through-api/3536/4 "2025-05-30T08:36:36Z")

</div>

We don’t have an endpoint that returns all user activities of all related entities of a project unfortunately. One option I could think of is that you would have to calculate this latest task activity from the changes you are interested in, for example creating a comment, which you could fetch from the API.

---

<div class="post-metadata">

**Author:** ![Christian9](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/christian9/32/883_2.png) [@Christian9](https://community.awork.com/u/Christian9)\
**Post date:** [30. Mai 2025 um 09:45 UTC](https://community.awork.com/t/access-activities-through-api/3536/5 "2025-05-30T09:45:56Z")

</div>

interesting - the logic what to show in the activities section of the task details is doing the same thing, right?

 ![Ohne Titel](https://europe1.discourse-cdn.com/flex013/uploads/awork1/original/1X/29e52508a577df8660dda50fa96034d154ea9aeb.jpeg)

Are you willing to share how you are doing that so we can replicate it with our custom view?

---

<div class="post-metadata">

**Author:** ![Sebastian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/sebastian/32/89_2.png) [@Sebastian](https://community.awork.com/u/Sebastian)\
**Post date:** [30. Mai 2025 um 09:51 UTC](https://community.awork.com/t/access-activities-through-api/3536/6 "2025-05-30T09:51:29Z")

</div>

We use serval internal endpoints to aggregate this which are currently not exposed. We have this on our API improvement list though.

---

<div class="post-metadata">

**Author:** ![Christian9](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/christian9/32/883_2.png) [@Christian9](https://community.awork.com/u/Christian9)\
**Post date:** [30. Mai 2025 um 10:00 UTC](https://community.awork.com/t/access-activities-through-api/3536/7 "2025-05-30T10:00:22Z")

</div>

Allright, sounds like a plan. Can you share an expected release quarter or at least year? In the mean time, we are sorting by last comment and ask our colleagues to write a short comment into a task whenever they do a change.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/sebastian/32/89_2.png) [@Sebastian](https://community.awork.com/u/Sebastian)\
**Post date:** [30. Mai 2025 um 10:43 UTC](https://community.awork.com/t/access-activities-through-api/3536/8 "2025-05-30T10:43:43Z")

</div>

I’ll ask the team responsible for this area to see if they have this on their roadmap already.

---

<div class="post-metadata">

**Author:** ![Sebastian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/sebastian/32/89_2.png) [@Sebastian](https://community.awork.com/u/Sebastian)\
**Post date:** [12. Juni 2025 um 12:42 UTC](https://community.awork.com/t/access-activities-through-api/3536/9 "2025-06-12T12:42:45Z")

</div>

Hi @Christian9, the activities endpoint for tasks and projects is now available. [Returns all activities of the task with the specified id. | awork API | Documentation](https://developers.awork.com/apiv1/task-activities/returns-all-activities-of-the-task-with-the-specified-id)

I hope this helps.

---

<div class="post-metadata">

**Author:** ![Christian9](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/christian9/32/883_2.png) [@Christian9](https://community.awork.com/u/Christian9)\
**Post date:** [12. Juni 2025 um 14:16 UTC](https://community.awork.com/t/access-activities-through-api/3536/10 "2025-06-12T14:16:28Z")

</div>

Awesome! Thanks for letting me know!
