Skip to content

Document read-only roles endpoints in the Preview spec - #672

Merged
robertlangner-fin merged 4 commits into
mainfrom
robert.langner/roles-read-endpoints
Sep 23, 2026
Merged

robertlangner-fin merged 4 commits into
mainfrom
robert.langner/roles-read-endpoints

Conversation

@robertlangner-fin

@robertlangner-fin robertlangner-fin commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Why?

The teammates endpoint returns the role a teammate holds, but only the roles someone currently holds, and only their id and name. There was no documented way to list a workspace's roles or read a role's description.

How?

Documents a list and a get-one endpoint for roles in the Preview spec, each returning a role's id, name and description, plus the matching schemas and a new tag.

Generated with Claude Code

robertlangner-fin and others added 4 commits September 22, 2026 10:58
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The teammates endpoint already returns a role's id and name, so saying
these endpoints resolve an id to a name overstated the gap. What they add
is the description and the ability to list every role in the workspace.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
They are gated on the Preview version only, so the general intercom_version
enum wrongly advertised them as callable on stable versions such as 2.16.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@robertlangner-fin
robertlangner-fin merged commit 9084f03 into main Sep 23, 2026
3 checks passed
@robertlangner-fin
robertlangner-fin deleted the robert.langner/roles-read-endpoints branch September 23, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants