Skip to content

Read 'Inbox' tasks #57

Answered by olsh
Heiinz asked this question in Q&A
Aug 5, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Items.GetAsync accepts an item ID, not a project ID. Here's how you can get the list of items from the Inbox.

var items = await client.Items.GetAsync();
var currentUser = await client.Users.GetCurrentAsync();
var inboxItems = items.Where(i => i.ProjectId == currentUser.InboxProjectId);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Heiinz
Comment options

@olsh
Comment options

Answer selected by olsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants