You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Changed timestamp fields from integer/int64 to string/date-time format
- Updated all timestamp examples to ISO 8601 format
- Added body_text and visible_to_team_ids to required fields
- Clarified placeholder transformation behavior in documentation
- Regenerated Postman collection with corrected schema
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: descriptions/0/api.intercom.io.yaml
+29-24Lines changed: 29 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -9255,9 +9255,11 @@ paths:
9255
9255
9256
9256
**Placeholder Transformation**
9257
9257
9258
-
The API transforms Intercom placeholders to a more standard XML-like format:
9258
+
The API transforms Intercom placeholders in the `body` field to a more standard XML-like format:
9259
9259
- From: `{{user.name | fallback: 'there'}}`
9260
9260
- To: `<attribute key="user.name" default="there"/>`
9261
+
9262
+
Note: The `body_text` field retains the original Intercom placeholder format.
9261
9263
responses:
9262
9264
'200':
9263
9265
description: Successful response
@@ -9272,9 +9274,9 @@ paths:
9272
9274
id: "123"
9273
9275
name: "Order Status Update"
9274
9276
body: "<p>Hi <attribute key=\"user.name\" default=\"there\"/>, your order #<attribute key=\"order.number\"/> is ready!</p>"
9275
-
body_text: "Hi there, your order is ready!"
9276
-
created_at: 1719474966
9277
-
updated_at: 1719493757
9277
+
body_text: "Hi {{user.name|fallback:\"there\"}}, your order is ready!"
9278
+
created_at: "2025-07-17T11:18:08.000Z"
9279
+
updated_at: "2025-07-17T15:30:24.000Z"
9278
9280
visible_to: "everyone"
9279
9281
visible_to_team_ids: []
9280
9282
available_on: ["inbox", "messenger"]
@@ -9358,10 +9360,11 @@ paths:
9358
9360
9359
9361
**Placeholder Transformation**
9360
9362
9361
-
The API transforms Intercom placeholders to a more standard XML-like format in the `body` field:
9363
+
The API transforms Intercom placeholders in the `body` field to a more standard XML-like format:
9362
9364
- From: `{{user.name | fallback: 'there'}}`
9363
9365
- To: `<attribute key="user.name" default="there"/>`
9364
9366
9367
+
Note: The `body_text` field retains the original Intercom placeholder format.
9365
9368
Default values in placeholders are HTML-escaped for security.
9366
9369
responses:
9367
9370
'200':
@@ -9375,9 +9378,9 @@ paths:
9375
9378
id: "123"
9376
9379
name: "Order Status Update"
9377
9380
body: "<p>Hi <attribute key=\"user.name\" default=\"there\"/>, your order #<attribute key=\"order.number\"/> is ready for pickup!</p>"
9378
-
body_text: "Hi there, your order is ready for pickup!"
9379
-
created_at: 1719474966
9380
-
updated_at: 1719493757
9381
+
body_text: "Hi {{user.name|fallback:\"there\"}}, your order is ready for pickup!"
9382
+
created_at: "2025-07-17T11:18:08.000Z"
9383
+
updated_at: "2025-07-17T15:30:24.000Z"
9381
9384
visible_to: "everyone"
9382
9385
visible_to_team_ids: []
9383
9386
available_on: ["inbox", "messenger"]
@@ -9387,9 +9390,9 @@ paths:
9387
9390
id: "456"
9388
9391
name: "VIP Customer Support"
9389
9392
body: "<p>Dear <attribute key=\"user.name\" default=\"valued customer\"/>, we appreciate your VIP status. Your dedicated support team is here to help.</p>"
9390
-
body_text: "Dear valued customer, we appreciate your VIP status. Your dedicated support team is here to help."
9391
-
created_at: 1719474966
9392
-
updated_at: 1719493757
9393
+
body_text: "Dear {{user.name|fallback:\"valued customer\"}}, we appreciate your VIP status. Your dedicated support team is here to help."
body_text: "Hello there! Your account balance is not available. Last login: never"
9403
-
created_at: 1719474966
9404
-
updated_at: 1719493757
9405
+
body_text: "Hello {{user.name|fallback:\"there\"}}! Your account balance is {{account.balance|fallback:\"not available\"}}. Last login: {{user.last_login|fallback:\"never\"}}"
9406
+
created_at: "2025-07-17T11:18:08.000Z"
9407
+
updated_at: "2025-07-17T15:30:24.000Z"
9405
9408
visible_to: "everyone"
9406
9409
visible_to_team_ids: []
9407
9410
available_on: ["inbox", "messenger"]
@@ -18968,18 +18971,18 @@ components:
18968
18971
example: "<p>Hi <attribute key=\"user.name\" default=\"there\"/>, your order is ready!</p>"
18969
18972
body_text:
18970
18973
type: string
18971
-
description: The plain text version of the macro body.
18972
-
example: "Hi there, your order is ready!"
18974
+
description: The plain text version of the macro body with original Intercom placeholder format.
18975
+
example: "Hi {{user.name|fallback:\"there\"}}, your order is ready!"
18973
18976
created_at:
18974
-
type: integer
18975
-
format: int64
18976
-
description: The time the macro was created as a Unix timestamp.
18977
-
example: 1719474966
18977
+
type: string
18978
+
format: date-time
18979
+
description: The time the macro was created in ISO 8601 format.
18980
+
example: "2025-07-17T11:18:08.000Z"
18978
18981
updated_at:
18979
-
type: integer
18980
-
format: int64
18981
-
description: The time the macro was last updated as a Unix timestamp.
18982
-
example: 1719493757
18982
+
type: string
18983
+
format: date-time
18984
+
description: The time the macro was last updated in ISO 8601 format.
0 commit comments