From 57e6a875e1d1dfbc1425d518b703fa8a8ddc22cb Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Fri, 24 Apr 2026 15:30:21 +0100 Subject: [PATCH 1/2] Convert Contact.owner_id to string in unstable API version 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 --- descriptions/0/api.intercom.io.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 3f64864b..80ff5d0a 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -20271,11 +20271,11 @@ components: description: The contacts name. example: John Doe owner_id: - type: integer + type: string nullable: true description: The id of an admin that has been assigned account ownership of the contact. - example: 123 + example: '123' has_hard_bounced: type: boolean description: Whether the contact has had an email sent to them hard bounce. From 152c73379658ec105d1038d65f7b737f8e6c6b9e Mon Sep 17 00:00:00 2001 From: Daniel Qian Date: Mon, 27 Apr 2026 09:29:10 +0100 Subject: [PATCH 2/2] Add owner_id string conversion to create_contact_request and update_contact_request MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the request body schemas to reflect the new string type for owner_id field in the Unstable API version, matching the Contact response schema change. - create_contact_request: owner_id type integer → string, example 123 → '123' - update_contact_request: owner_id type integer → string, example 123 → '123' Co-Authored-By: Claude Haiku 4.5 --- descriptions/0/api.intercom.io.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 80ff5d0a..1e55d409 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -22227,11 +22227,11 @@ components: Messenger was installed or when specified manually) example: 1571672154 owner_id: - type: integer + type: string nullable: true description: The id of an admin that has been assigned account ownership of the contact - example: 123 + example: '123' unsubscribed_from_emails: type: boolean nullable: true @@ -28353,11 +28353,11 @@ components: Messenger was installed or when specified manually) example: 1571672154 owner_id: - type: integer + type: string nullable: true description: The id of an admin that has been assigned account ownership of the contact - example: 123 + example: '123' unsubscribed_from_emails: type: boolean nullable: true