Skip to content

Commit b30d38d

Browse files
efassorclaude
andcommitted
Move company notes API to Unstable: fix path params and add company property to note schema
- Fix path parameter: {id} → {company_id} to match Rails route - Add company property to note schema (mirrors contact property) - Update note schema description to mention companies Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0bb613c commit b30d38d

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3683,11 +3683,11 @@ paths:
36833683
message: Access Token Invalid
36843684
schema:
36853685
"$ref": "#/components/schemas/error"
3686-
"/companies/{id}/notes":
3686+
"/companies/{company_id}/notes":
36873687
get:
36883688
summary: List all company notes
36893689
parameters:
3690-
- name: id
3690+
- name: company_id
36913691
in: path
36923692
required: true
36933693
description: The unique identifier for the company which is given by Intercom
@@ -3793,7 +3793,7 @@ paths:
37933793
in: header
37943794
schema:
37953795
"$ref": "#/components/schemas/intercom_version"
3796-
- name: id
3796+
- name: company_id
37973797
in: path
37983798
required: true
37993799
description: The unique identifier for the company which is given by Intercom
@@ -25021,7 +25021,8 @@ components:
2502125021
type: object
2502225022
x-tags:
2502325023
- Notes
25024-
description: Notes allow you to annotate and comment on your contacts.
25024+
description: Notes allow you to annotate and comment on your contacts and companies.
25025+
A note is attached to either a contact or a company, never both.
2502525026
properties:
2502625027
type:
2502725028
type: string
@@ -25050,6 +25051,19 @@ components:
2505025051
type: string
2505125052
description: The id of the contact.
2505225053
example: 214656d0c743eafcfde7f248
25054+
company:
25055+
type: object
25056+
description: Represents the company that the note was created about.
25057+
nullable: true
25058+
properties:
25059+
type:
25060+
type: string
25061+
description: String representing the object's type. Always has the value
25062+
`company`.
25063+
id:
25064+
type: string
25065+
description: The id of the company.
25066+
example: 5f4d3c1c-7b1b-4d7d-a97e-6095715c6632
2505325067
author:
2505425068
"$ref": "#/components/schemas/admin"
2505525069
description: Optional. Represents the Admin that created the note.

0 commit comments

Comments
 (0)