Skip to content

Commit bcd86eb

Browse files
markdennis22claude
andcommitted
Update company API response to include note body field
- Changed notes data schema from addressable_list to note schema - Updated description to clarify notes include full content with body text - Added example responses showing note body field with HTML content - Ensures API documentation reflects that notes body is included in company responses 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent b87005f commit bcd86eb

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,9 +2682,19 @@ paths:
26822682
creation_source: api
26832683
notes:
26842684
type: note.list
2685-
data: []
2685+
data:
2686+
- type: note
2687+
id: "17495962"
2688+
created_at: 1674589321
2689+
body: "<p>hi</p>"
2690+
author:
2691+
type: admin
2692+
id: "814865"
2693+
contact:
2694+
type: contact
2695+
id: "214656d0c743eafcfde7f248"
26862696
url: "/companies/6762f0761bb69f9f2193bae2/notes"
2687-
total_count: 0
2697+
total_count: 1
26882698
has_more: false
26892699
schema:
26902700
"$ref": "#/components/schemas/company"
@@ -2910,9 +2920,19 @@ paths:
29102920
custom_attributes: {}
29112921
notes:
29122922
type: note.list
2913-
data: []
2923+
data:
2924+
- type: note
2925+
id: "17495963"
2926+
created_at: 1674589322
2927+
body: "<p>hi</p>"
2928+
author:
2929+
type: admin
2930+
id: "814866"
2931+
contact:
2932+
type: contact
2933+
id: "214656d0c743eafcfde7f249"
29142934
url: "/companies/6762f07f1bb69f9f2193baf5/notes"
2915-
total_count: 0
2935+
total_count: 1
29162936
has_more: false
29172937
schema:
29182938
"$ref": "#/components/schemas/company"
@@ -16500,9 +16520,9 @@ components:
1650016520
- note.list
1650116521
data:
1650216522
type: array
16503-
description: This object represents the notes attached to a company.
16523+
description: This object represents the notes attached to a company. Each note includes its full content including the body text.
1650416524
items:
16505-
"$ref": "#/components/schemas/addressable_list"
16525+
"$ref": "#/components/schemas/note"
1650616526
url:
1650716527
type: string
1650816528
format: uri

0 commit comments

Comments
 (0)