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
docs: Refactor folder endpoints to top-level /folders
Update OpenAPI specification to reflect folder endpoints moving from
/internal_articles/folders to top-level /folders resource.
Changes:
- Update paths: /internal_articles/folders → /folders
- Update operation IDs: Remove "InternalArticle" prefix
- Change tags: "Internal Articles" → "Folders"
- Update descriptions: Remove "for internal articles" references
- Remove bulk move endpoint /internal_articles/move_to_folder
This makes folders a first-class organizational structure that can be
used across multiple content types, not just internal articles.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: descriptions/0/api.intercom.io.yaml
+17-92Lines changed: 17 additions & 92 deletions
Original file line number
Diff line number
Diff line change
@@ -2637,7 +2637,7 @@ paths:
2637
2637
message: Access Token Invalid
2638
2638
schema:
2639
2639
"$ref": "#/components/schemas/error"
2640
-
"/internal_articles/folders":
2640
+
"/folders":
2641
2641
get:
2642
2642
summary: List all folders
2643
2643
parameters:
@@ -2659,9 +2659,9 @@ paths:
2659
2659
example: 50
2660
2660
maximum: 150
2661
2661
tags:
2662
-
- Internal Articles
2663
-
operationId: listInternalArticleFolders
2664
-
description: "You can fetch a list of all folders for internal articles by making a GET request to `https://api.intercom.io/internal_articles/folders`."
2662
+
- Folders
2663
+
operationId: listFolders
2664
+
description: "You can fetch a list of all folders for organizing content by making a GET request to `https://api.intercom.io/folders`."
2665
2665
responses:
2666
2666
'200':
2667
2667
description: successful
@@ -2700,9 +2700,9 @@ paths:
2700
2700
schema:
2701
2701
"$ref": "#/components/schemas/intercom_version"
2702
2702
tags:
2703
-
- Internal Articles
2704
-
operationId: createInternalArticleFolder
2705
-
description: "You can create a new folder for internal articles by making a POST request to `https://api.intercom.io/internal_articles/folders`."
2703
+
- Folders
2704
+
operationId: createFolder
2705
+
description: "You can create a new folder for organizing content by making a POST request to `https://api.intercom.io/folders`."
2706
2706
requestBody:
2707
2707
content:
2708
2708
application/json:
@@ -2735,7 +2735,7 @@ paths:
2735
2735
application/json:
2736
2736
schema:
2737
2737
"$ref": "#/components/schemas/error"
2738
-
"/internal_articles/folders/{id}":
2738
+
"/folders/{id}":
2739
2739
get:
2740
2740
summary: Retrieve a folder
2741
2741
parameters:
@@ -2751,9 +2751,9 @@ paths:
2751
2751
type: integer
2752
2752
example: 6
2753
2753
tags:
2754
-
- Internal Articles
2755
-
operationId: retrieveInternalArticleFolder
2756
-
description: "You can fetch the details of a single folder by making a GET request to `https://api.intercom.io/internal_articles/folders/<id>`."
2754
+
- Folders
2755
+
operationId: retrieveFolder
2756
+
description: "You can fetch the details of a single folder by making a GET request to `https://api.intercom.io/folders/<id>`."
2757
2757
responses:
2758
2758
'200':
2759
2759
description: folder found
@@ -2791,9 +2791,9 @@ paths:
2791
2791
type: integer
2792
2792
example: 6
2793
2793
tags:
2794
-
- Internal Articles
2795
-
operationId: updateInternalArticleFolder
2796
-
description: "You can update a folder by making a PUT request to `https://api.intercom.io/internal_articles/folders/<id>`."
2794
+
- Folders
2795
+
operationId: updateFolder
2796
+
description: "You can update a folder by making a PUT request to `https://api.intercom.io/folders/<id>`."
2797
2797
requestBody:
2798
2798
content:
2799
2799
application/json:
@@ -2840,9 +2840,9 @@ paths:
2840
2840
type: integer
2841
2841
example: 6
2842
2842
tags:
2843
-
- Internal Articles
2844
-
operationId: deleteInternalArticleFolder
2845
-
description: "You can delete a folder (if it contains no articles) by making a DELETE request to `https://api.intercom.io/internal_articles/folders/<id>`."
2843
+
- Folders
2844
+
operationId: deleteFolder
2845
+
description: "You can delete a folder (if it contains no articles) by making a DELETE request to `https://api.intercom.io/folders/<id>`."
2846
2846
responses:
2847
2847
'200':
2848
2848
description: folder deleted
@@ -2864,81 +2864,6 @@ paths:
2864
2864
application/json:
2865
2865
schema:
2866
2866
"$ref": "#/components/schemas/error"
2867
-
"/internal_articles/move_to_folder":
2868
-
post:
2869
-
summary: Bulk move articles to folder
2870
-
parameters:
2871
-
- name: Intercom-Version
2872
-
in: header
2873
-
schema:
2874
-
"$ref": "#/components/schemas/intercom_version"
2875
-
tags:
2876
-
- Internal Articles
2877
-
operationId: moveInternalArticlesToFolder
2878
-
description: "You can move multiple articles to a folder (or remove them from folders) by making a POST request to `https://api.intercom.io/internal_articles/move_to_folder`."
2879
-
requestBody:
2880
-
content:
2881
-
application/json:
2882
-
schema:
2883
-
type: object
2884
-
required:
2885
-
- article_ids
2886
-
- destination_folder_id
2887
-
properties:
2888
-
article_ids:
2889
-
type: array
2890
-
items:
2891
-
type: integer
2892
-
description: Array of article IDs to move
2893
-
example: [123, 124, 125]
2894
-
destination_folder_id:
2895
-
oneOf:
2896
-
- type: integer
2897
-
- type: string
2898
-
enum: ["root"]
2899
-
description: Target folder ID, or "root" to remove from folders
2900
-
example: 6
2901
-
examples:
2902
-
move_to_folder:
2903
-
summary: Move articles to folder
2904
-
value:
2905
-
article_ids: [123, 124]
2906
-
destination_folder_id: 6
2907
-
move_to_root:
2908
-
summary: Move articles to root
2909
-
value:
2910
-
article_ids: [123, 124]
2911
-
destination_folder_id: "root"
2912
-
responses:
2913
-
'200':
2914
-
description: articles moved
2915
-
content:
2916
-
application/json:
2917
-
example:
2918
-
moved_count: 2
2919
-
destination_folder_id: 6
2920
-
schema:
2921
-
type: object
2922
-
properties:
2923
-
moved_count:
2924
-
type: integer
2925
-
description: Number of articles successfully moved
2926
-
destination_folder_id:
2927
-
type: integer
2928
-
nullable: true
2929
-
description: Target folder ID, or null if moved to root
0 commit comments