Skip to content

Say listing a contact's banners needs the read_write_users scope - #831

Merged
geetikabagga merged 1 commit into
mainfrom
geetikabagga/banners-index-write-scope-docs
Dec 1, 2026
Merged

geetikabagga merged 1 commit into
mainfrom
geetikabagga/banners-index-write-scope-docs

Conversation

@geetikabagga

Copy link
Copy Markdown
Contributor

Why?

Listing a contact's banners records an impression for each banner returned, so it changes data as well as reading it. The API now requires the read_write_users scope for it, but the spec still says a read-only scope works.

How?

Updates the endpoint's scope note in the 2.17, 2.18 and Preview descriptions.

Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @geetikabagga.

I checked the 2.17, 2.18 and Preview edits against the API's current behaviour. This is a description-only change with no shape change. Listing a contact's banners now needs read_write_users on every version where the endpoint exists, the same scope as dismissing a banner, and a token with only read_users_companies gets a 401 with token_unauthorized. The 2.16 description has no scope line, so nothing to change there.

Approving.

~ Automated via Claude

@geetikabagga
geetikabagga merged commit a013758 into main Dec 1, 2026
4 checks passed
@geetikabagga
geetikabagga deleted the geetikabagga/banners-index-write-scope-docs branch December 1, 2026 14:01
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