Skip to content

Convert Contact.owner_id to string in unstable API#479

Open
dan0505 wants to merge 1 commit intomainfrom
dan0505/sync-pr-499855
Open

Convert Contact.owner_id to string in unstable API#479
dan0505 wants to merge 1 commit intomainfrom
dan0505/sync-pr-499855

Conversation

@dan0505
Copy link
Copy Markdown
Contributor

@dan0505 dan0505 commented Apr 24, 2026

Why?

Aligns the Contact.owner_id field type with Admin.id in the unstable API version. Both are now strings, improving type consistency across the API.

How?

Updated the Preview specification to reflect the unstable API's new string type for Contact.owner_id, while existing public versions (2.11–2.15) maintain integer type through versioning transformations.

Generated with Claude Code

Aligns Contact.owner_id field with Admin.id type (both now strings in Unstable version).
Existing public versions (2.11-2.15) maintain integer type via versioning transformations.

Updates Preview spec (descriptions/0/api.intercom.io.yaml):
- Change Contact schema owner_id from type: integer to type: string
- Update example from 123 to '123'

This matches PR intercom/intercom#499855.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@dan0505 dan0505 self-assigned this Apr 24, 2026
@VarshSuresh
Copy link
Copy Markdown
Contributor

2 more places to have this change:

  1. update_contact_request
  2. create_contact_request

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