Reputation: 5233
In the gmail api, I have a label id. How can I get the list of threads that are under that label id without getting all of the threads and then parsing?
Upvotes: 0
Views: 151
Reputation: 13528
You can use threads.list() and set the labelIds attribute to the label you wish to narrow the threads down to. Here's what it would look like in API Explorer.
Upvotes: 1