Add POST /companies/{company_id}/notes to v2.15 spec#380
Open
Add POST /companies/{company_id}/notes to v2.15 spec#380
Conversation
The createCompanyNote endpoint was implemented in the intercom/intercom backend as part of version 2.15 (via AddCompanyNotesApi versioning change) but was only documented in the Unstable spec (descriptions/0/). This adds the POST endpoint to the versioned 2.15 spec to match what the backend actually supports, keeping OpenAPI and developer-docs in sync. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Why?
The
createCompanyNoteendpoint (POST /companies/{company_id}/notes) was shipped in the intercom/intercom backend gated behind theAddCompanyNotesApiversion change, making it available from v2.15 onwards. However, PR #374 only added it to the Unstable spec (descriptions/0/), leaving the v2.15 versioned spec incomplete.This was flagged in developer-docs PR #735 where the reviewer noted the docs and OpenAPI spec must match — the docs correctly document the endpoint at v2.15, but the spec didn't.
How?
Add the
post:operation block todescriptions/2.15/api.intercom.io.yamlat the existing/companies/{company_id}/notespath (which already had theget:operation). The block is identical to the Unstable spec but usescompany_idas the path parameter name to match the v2.15 naming convention.Generated with Claude Code