# API /tasks

**URL:** <https://community.awork.com/t/api-tasks/4471>\
**Category:** Developer Forum\
**Tags:** api, tasks\
**Created:** [11. März 2026 um 11:34 UTC](https://community.awork.com/t/api-tasks/4471 "2026-03-11T11:34:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.munk](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@j.munk](https://community.awork.com/u/j.munk)\
**Post date:** [11. März 2026 um 11:34 UTC](https://community.awork.com/t/api-tasks/4471/1 "2026-03-11T11:34:19Z")

</div>

Hi there!

**Issue:** We get authentication errors when accessing /tasks API with any parameter.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/awork1/original/2X/a/a34d4e4c46016fb0711df0b8be330e2811bff262.png)

**What we want to achieve:**  
We want to find tasks in all projects containing a specific ID in a custom field using filterBy.

**What we tried:**

1. We could not find a setting to control the rights for the tasks endpoint.

2. We tried the search endpoint, but sadly search does not seem to look into custom fields.

Could you make the /tasks endpoint work as described in the docs?  
See: [Filtering | awork API | Documentation](https://developers.awork.com/filtering) =\> example for tasks.

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Nils](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/nils/32/96_2.png) [@Nils](https://community.awork.com/u/Nils)\
**Post date:** [11. März 2026 um 11:35 UTC](https://community.awork.com/t/api-tasks/4471/2 "2026-03-11T11:35:54Z")

</div>

Hi @j.munk ,

[Returns all tasks the current user is allowed to see. | awork API | Documentation](https://developers.awork.com/apiv1/assigned-tasks/get-me-all-available-tasks) please use this endpoint. api/v1/tasks is not a public endpoint but the me/allavailable tasks returns all tasks the api user has access to.

---

<div class="post-metadata">

**Author:** ![j.munk](https://avatars.discourse-cdn.com/v4/letter/j/e9bcb4/32.png) [@j.munk](https://community.awork.com/u/j.munk)\
**Post date:** [11. März 2026 um 11:55 UTC](https://community.awork.com/t/api-tasks/4471/3 "2026-03-11T11:55:30Z")

</div>

allavailabletasks works, thank you. Our final filterby expression:

customFields/any(c: c/customFieldDefinitionId eq guid’[GUID]’ and substringof(‚[value]‘,c/textValue))

But you should remove the /tasks example from the filtering documentation.

---

<div class="post-metadata">

**Author:** ![Nils](https://dub1.discourse-cdn.com/flex013/user_avatar/community.awork.com/nils/32/96_2.png) [@Nils](https://community.awork.com/u/Nils)\
**Post date:** [11. März 2026 um 11:56 UTC](https://community.awork.com/t/api-tasks/4471/4 "2026-03-11T11:56:25Z")

</div>

> [@j.munk](#):
>
> But you should remove the /tasks example from the filtering documentation.

ah good catch, i will fix that. Thank you!
