Skip to content

Comments

Add POST /companies/{company_id}/notes to v2.15 spec#380

Open
efassor wants to merge 1 commit intomainfrom
diane.gordon/add-create-company-note-to-v2-15
Open

Add POST /companies/{company_id}/notes to v2.15 spec#380
efassor wants to merge 1 commit intomainfrom
diane.gordon/add-create-company-note-to-v2-15

Conversation

@efassor
Copy link
Contributor

@efassor efassor commented Feb 24, 2026

Why?

The createCompanyNote endpoint (POST /companies/{company_id}/notes) was shipped in the intercom/intercom backend gated behind the AddCompanyNotesApi version 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 to descriptions/2.15/api.intercom.io.yaml at the existing /companies/{company_id}/notes path (which already had the get: operation). The block is identical to the Unstable spec but uses company_id as the path parameter name to match the v2.15 naming convention.

Generated with Claude Code

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>
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.

1 participant