List a thread’s labels
GET
/threads/{id}/labelsReturns the labels on one conversation.
Needs the permissionthreads:read
Path parameters
idstringrequired- The thread.
Returns
A list of labels, each with:
idstring- The label.
namestring- Its name.
colourstring- A preset such as
blue-700.
Errors
401invalid_key- The key is wrong, expired or revoked. With no Authorization header at all, the code is
missing_credentials. 403missing_scope- The key doesn’t have
threads:read. TheX-Required-Scopeheader names what’s missing. 404not_found- There’s no such thread, or the key’s owner can’t see it.
429rate_limited- More than 120 requests a minute from this key. Wait for
Retry-Afterseconds.