Skip to content

Document the granted companies endpoints in the Preview API - #659

Merged
laszlobogacsi-intercom merged 2 commits into
mainfrom
laszlobogacsi/document-granted-companies-endpoints
Sep 7, 2026
Merged

Document the granted companies endpoints in the Preview API#659
laszlobogacsi-intercom merged 2 commits into
mainfrom
laszlobogacsi/document-granted-companies-endpoints

Conversation

@laszlobogacsi-intercom

Copy link
Copy Markdown
Contributor

Why?

The granted companies endpoints are live on the Preview API version but missing from the spec, so they do not reach the generated SDKs, the Postman collections, or the API reference.

How?

Adds the list, replace and remove operations for a contact's granted companies, with request and response schemas and worked examples.

Generated with Claude Code

Adds GET/PUT/DELETE /contacts/{contact_id}/granted_companies to
descriptions/0/api.intercom.io.yaml, matching the Preview spec in
developer-docs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Drops the per_page maximum, since values above it are reduced rather than
rejected; makes pages nullable so the replace response validates; and
removes the omitted-field request example, which could not validate against
a schema that requires company_ids.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@laszlobogacsi-intercom
laszlobogacsi-intercom merged commit 3753385 into main Sep 7, 2026
3 checks passed
@laszlobogacsi-intercom
laszlobogacsi-intercom deleted the laszlobogacsi/document-granted-companies-endpoints branch September 7, 2026 12:00
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