Skip to content

Remove company_id from conversation response schema#390

Merged
adisan19 merged 3 commits intomainfrom
remove-conversation-company-id
Mar 3, 2026
Merged

Remove company_id from conversation response schema#390
adisan19 merged 3 commits intomainfrom
remove-conversation-company-id

Conversation

@adisan19
Copy link
Contributor

@adisan19 adisan19 commented Mar 3, 2026

http://github.com/intercom/intercom/issues/453311

Summary

Removes the company_id field from the conversation response schema across API versions 2.14, 2.15, and Unstable. This field is not actually returned by the API in conversation GET responses, so it should not be documented in the schema.

Changes

  • Removed company_id from conversation schema in:
    • descriptions/2.14/api.intercom.io.yaml
    • descriptions/2.15/api.intercom.io.yaml
    • descriptions/0/api.intercom.io.yaml (Unstable)

What's NOT Changed

  • The company_id field in update_conversation_request schema is preserved as it is correctly used in PUT request bodies to update company associations
  • The company field (object reference) in conversation schema remains unchanged

Impact

  • Generated SDKs (TypeScript, Java, Python, PHP) will no longer include company_id in the Conversation response type
  • This is a bug fix, not a breaking change, since the field was never returned by the API

Validation

fern check passed with 0 errors
✅ All YAML files remain valid
✅ Adjacent fields (team_assignee_id, company, tags) intact

Related

Companion PR in developer-docs: http://github.com/intercom/developer-docs/pull/752

adisan19 and others added 3 commits February 10, 2026 14:01
Enhance the description to clarify that:
- Deletion is permanent and cannot be reversed
- All sensitive data is removed (replies, attributes, uploads)
- Conversation still appears in reporting with incomplete data

This provides better clarity for API consumers about the implications
of deleting conversations.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The company_id field is not returned by the API in conversation
responses, so it should not be in the conversation schema.

Note: company_id in update_conversation_request schema is preserved
as it is correctly used in PUT request bodies.
@adisan19 adisan19 merged commit dd57037 into main Mar 3, 2026
3 checks passed
@adisan19 adisan19 deleted the remove-conversation-company-id branch March 3, 2026 15:57
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