From c085c09fd5d13a0087dc389e13d05e816f8c4c34 Mon Sep 17 00:00:00 2001 From: Marvin Bitterlich Date: Tue, 24 Nov 2026 22:00:08 +0000 Subject: [PATCH] Document that Fin Voice call data accepts a string or an object The register endpoint already accepts data as a string or an object and echoes it back unchanged on register and collect. Describe both shapes on the request and response schemas in 2.15 to 2.18 and Preview. Co-Authored-By: Claude Opus 5.5 --- descriptions/0/api.intercom.io.yaml | 16 +++++++++++----- descriptions/2.15/api.intercom.io.yaml | 16 +++++++++++----- descriptions/2.16/api.intercom.io.yaml | 16 +++++++++++----- descriptions/2.17/api.intercom.io.yaml | 16 +++++++++++----- descriptions/2.18/api.intercom.io.yaml | 16 +++++++++++----- 5 files changed, 55 insertions(+), 25 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index cc21ab29..7b0aa1d2 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -60085,8 +60085,11 @@ components: description: How long the most recent AI Agent (Fin) part of the call lasted, in seconds, returned as a string. Null until the call is matched and that part has ended, or when the call has no AI Agent part. example: '45' data: - type: object - description: The metadata object supplied when the call was registered, returned verbatim. Empty object when none was supplied. + oneOf: + - type: object + - type: string + example: 'abc123' + description: The customer-defined data supplied when the call was registered, returned unchanged as an object or a string. Empty object when none was supplied. example: masterContactID: 'abc123' DNIS: '+18005551212' @@ -60130,9 +60133,12 @@ components: maxLength: 191 example: 'vendor-internal-abc-123' data: - type: object - description: Additional metadata about the call - nullable: true + oneOf: + - type: object + nullable: true + - type: string + example: 'abc123' + description: Customer-defined data about the call, as an object or a string. Stored as sent and returned unchanged in the register and collect responses. example: key: value securitySchemes: diff --git a/descriptions/2.15/api.intercom.io.yaml b/descriptions/2.15/api.intercom.io.yaml index 540c8a7e..7833209d 100644 --- a/descriptions/2.15/api.intercom.io.yaml +++ b/descriptions/2.15/api.intercom.io.yaml @@ -16694,8 +16694,11 @@ components: type: object example: [] data: - type: object - description: The metadata object supplied when the call was registered, returned verbatim. Empty object when none was supplied. + oneOf: + - type: object + - type: string + example: 'abc123' + description: The customer-defined data supplied when the call was registered, returned unchanged as an object or a string. Empty object when none was supplied. example: masterContactID: 'abc123' DNIS: '+18005551212' @@ -23120,9 +23123,12 @@ components: - aws_connect example: 'aws_connect' data: - type: object - description: Additional metadata about the call - nullable: true + oneOf: + - type: object + nullable: true + - type: string + example: 'abc123' + description: Customer-defined data about the call, as an object or a string. Stored as sent and returned unchanged in the register and collect responses. example: key: value redact_conversation_request: diff --git a/descriptions/2.16/api.intercom.io.yaml b/descriptions/2.16/api.intercom.io.yaml index 25802ddd..cab9e4f9 100644 --- a/descriptions/2.16/api.intercom.io.yaml +++ b/descriptions/2.16/api.intercom.io.yaml @@ -24483,8 +24483,11 @@ components: type: object example: [] data: - type: object - description: The metadata object supplied when the call was registered, returned verbatim. Empty object when none was supplied. + oneOf: + - type: object + - type: string + example: 'abc123' + description: The customer-defined data supplied when the call was registered, returned unchanged as an object or a string. Empty object when none was supplied. example: masterContactID: 'abc123' DNIS: '+18005551212' @@ -34582,9 +34585,12 @@ components: - aws_connect example: 'aws_connect' data: - type: object - description: Additional metadata about the call - nullable: true + oneOf: + - type: object + nullable: true + - type: string + example: 'abc123' + description: Customer-defined data about the call, as an object or a string. Stored as sent and returned unchanged in the register and collect responses. example: key: value redact_conversation_request: diff --git a/descriptions/2.17/api.intercom.io.yaml b/descriptions/2.17/api.intercom.io.yaml index d44c30a7..ab32cb28 100644 --- a/descriptions/2.17/api.intercom.io.yaml +++ b/descriptions/2.17/api.intercom.io.yaml @@ -35348,8 +35348,11 @@ components: description: How long the most recent AI Agent (Fin) part of the call lasted, in seconds, returned as a string. Null until the call is matched and that part has ended, or when the call has no AI Agent part. example: '45' data: - type: object - description: The metadata object supplied when the call was registered, returned verbatim. Empty object when none was supplied. + oneOf: + - type: object + - type: string + example: 'abc123' + description: The customer-defined data supplied when the call was registered, returned unchanged as an object or a string. Empty object when none was supplied. example: masterContactID: 'abc123' DNIS: '+18005551212' @@ -48305,9 +48308,12 @@ components: maxLength: 191 example: 'vendor-internal-abc-123' data: - type: object - description: Additional metadata about the call - nullable: true + oneOf: + - type: object + nullable: true + - type: string + example: 'abc123' + description: Customer-defined data about the call, as an object or a string. Stored as sent and returned unchanged in the register and collect responses. example: key: value redact_conversation_request: diff --git a/descriptions/2.18/api.intercom.io.yaml b/descriptions/2.18/api.intercom.io.yaml index fc0c35ba..81778bc9 100644 --- a/descriptions/2.18/api.intercom.io.yaml +++ b/descriptions/2.18/api.intercom.io.yaml @@ -37090,8 +37090,11 @@ components: description: How long the most recent AI Agent (Fin) part of the call lasted, in seconds, returned as a string. Null until the call is matched and that part has ended, or when the call has no AI Agent part. example: '45' data: - type: object - description: The metadata object supplied when the call was registered, returned verbatim. Empty object when none was supplied. + oneOf: + - type: object + - type: string + example: 'abc123' + description: The customer-defined data supplied when the call was registered, returned unchanged as an object or a string. Empty object when none was supplied. example: masterContactID: 'abc123' DNIS: '+18005551212' @@ -50782,9 +50785,12 @@ components: maxLength: 191 example: 'vendor-internal-abc-123' data: - type: object - description: Additional metadata about the call - nullable: true + oneOf: + - type: object + nullable: true + - type: string + example: 'abc123' + description: Customer-defined data about the call, as an object or a string. Stored as sent and returned unchanged in the register and collect responses. example: key: value redact_conversation_request: