Get Tasks for Collaborators using API with no project access

Hi,
Is there a way to get tasks using the personal access token of a Guest user when the user does not have access to project of the task. Also, the user is not assignee of the task, but a collaborator.

From the UI we can see such task in the Inbox. Is there a way to get that data using APIs/SDK.
Thanks

Yes, you should be able to retrieve those tasks. I think I would use the Search API to do that.

Thank you for your response.

Could you please help us with the filter parameters to apply in the search API?

Usecase - When the user does not have access to project of the task. Also, the user is not assignee of the task, but a collaborator.