Repository navigation
CP-9292: Document which endpoints an Organisation API key can call - #194
Open
mattkepple wants to merge 1 commit into
Open
mattkepple wants to merge 1 commit into
mattkepple wants to merge 1 commit into
Conversation
Integrators were surprised by 403 not_available_to_connected_apps on endpoints that work with a person's token (MC-2511, CP-9292). List the 74 endpoints an Organisation API key or connected app can call, and say on Story Category Response that a key can't use it yet and what to use instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1a5xqndA8DezGCVEArzG5
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 20, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & Why
CAPACITI (MC-2511) built an integration on an Organisation API key and got
403 not_available_to_connected_appsfromGET /stories/story_category_response. The docs said a key "can call the same endpoints as a connected app", but they never said which endpoints those are, so integrators (and their AI assistants) had no way of knowing.This PR:
OauthTokenAuthentication::OAUTH_ENDPOINTSondevelop(as of 20 Nov 2026) mapped to the Rails routes.403response to Get Stories with full survey response detail (/stories/story_category_response), in both the endpoint card andopenapi.yaml, saying a key can't use it yet and how to get the same answers with a key instead.openapi.yaml's intro.Only
openapi.yamland content inserver.jschange. No styles, head or assets.npm run checkpasses.Merge timing: this documents how production behaves today, so it can be merged as soon as it's reviewed. The Rails fix, CP-9292 (MakerbleDev/makerble branch
CP-9292-response-api-keys), makesstory_category_responsework with API keys. Once that is live in production, a follow-up docs PR removes the note and adds the endpoint to the list.Jira Issue & Video Reference
https://makerble.atlassian.net/browse/CP-9292 (from MC-2511). Slack thread: https://makerble.slack.com/archives/G08CBSX6V/p1795163302243599
Auto-fix may be enabled on this PR — replies to review comments could come from Claude rather than the named author.
Generated by Claude Code