Skip to content

Commit 7afb9fa

Browse files
ellicenelsonclaude
andcommitted
docs: Add cursor pagination to Data Connectors list endpoint
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 35a19b9 commit 7afb9fa

File tree

1 file changed

+73
-9
lines changed

1 file changed

+73
-9
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 73 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10046,6 +10046,21 @@ paths:
1004610046
in: header
1004710047
schema:
1004810048
"$ref": "#/components/schemas/intercom_version"
10049+
- name: per_page
10050+
in: query
10051+
required: false
10052+
description: The number of results to return per page. Defaults to 20, minimum 1, maximum 50.
10053+
schema:
10054+
type: integer
10055+
default: 20
10056+
minimum: 1
10057+
maximum: 50
10058+
- name: starting_after
10059+
in: query
10060+
required: false
10061+
description: The cursor value from `pages.next.starting_after` in a previous response. Used to paginate through results.
10062+
schema:
10063+
type: string
1004910064
tags:
1005010065
- Data Connectors
1005110066
operationId: listDataConnectors
@@ -10054,6 +10069,8 @@ paths:
1005410069

1005510070
Data connectors allow you to make HTTP requests to external APIs from Intercom workflows and AI agents.
1005610071
Each connector in the response includes an `execution_results_url` for navigating to its execution logs.
10072+
10073+
Results are ordered by `updated_at` descending and paginated using cursor-based pagination. Use the `starting_after` cursor from `pages.next` to fetch the next page. When `pages.next` is absent, you have reached the last page.
1005710074
responses:
1005810075
'200':
1005910076
description: successful
@@ -10070,12 +10087,33 @@ paths:
1007010087
description: Posts conversation updates to Slack channel
1007110088
state: live
1007210089
http_method: post
10073-
usage: workflow_and_inbox
10090+
direct_fin_usage: false
10091+
created_by_admin_id: '128'
10092+
updated_by_admin_id: '128'
1007410093
created_at: '2025-11-15T09:30:00Z'
1007510094
updated_at: '2026-01-20T14:22:15Z'
1007610095
execution_results_url: "/data_connectors/12345/execution_results"
10096+
pages:
10097+
type: pages
10098+
per_page: 20
10099+
next:
10100+
starting_after: WzE3MDc1OTQ3MTUuMCwxMjM0NV0=
1007710101
schema:
1007810102
"$ref": "#/components/schemas/data_connector_list"
10103+
'400':
10104+
description: Bad Request
10105+
content:
10106+
application/json:
10107+
examples:
10108+
Invalid cursor:
10109+
value:
10110+
type: error.list
10111+
request_id: test-uuid-replacement
10112+
errors:
10113+
- code: client_error
10114+
message: Invalid starting_after param. Please try again using a starting_after value from a paginated response
10115+
schema:
10116+
"$ref": "#/components/schemas/error"
1007910117
'401':
1008010118
description: Unauthorized
1008110119
content:
@@ -21350,14 +21388,18 @@ components:
2135021388
- delete
2135121389
- patch
2135221390
example: post
21353-
usage:
21391+
direct_fin_usage:
21392+
type: boolean
21393+
description: Whether this data connector is assigned to Fin for direct usage.
21394+
example: false
21395+
created_by_admin_id:
2135421396
type: string
21355-
description: Where this data connector can be used.
21356-
enum:
21357-
- workflow_and_inbox
21358-
- fin
21359-
- fin_voice
21360-
example: workflow_and_inbox
21397+
description: The ID of the admin who created this data connector.
21398+
example: '12345'
21399+
updated_by_admin_id:
21400+
type: string
21401+
description: The ID of the admin who last updated this data connector.
21402+
example: '12345'
2136121403
created_at:
2136221404
type: string
2136321405
format: date-time
@@ -21530,7 +21572,7 @@ components:
2153021572
data_connector_list:
2153121573
title: Data Connector List
2153221574
type: object
21533-
description: A list of data connectors.
21575+
description: A paginated list of data connectors.
2153421576
properties:
2153521577
type:
2153621578
type: string
@@ -21543,6 +21585,28 @@ components:
2154321585
description: An array of data connector objects.
2154421586
items:
2154521587
"$ref": "#/components/schemas/data_connector"
21588+
pages:
21589+
type: object
21590+
description: Pagination information.
21591+
properties:
21592+
type:
21593+
type: string
21594+
example: pages
21595+
enum:
21596+
- pages
21597+
per_page:
21598+
type: integer
21599+
description: The number of results per page.
21600+
example: 20
21601+
next:
21602+
type: object
21603+
nullable: true
21604+
description: Cursor for the next page of results.
21605+
properties:
21606+
starting_after:
21607+
type: string
21608+
description: The cursor value to use for the next page.
21609+
example: WzE3MDc1OTQ3MTUuMCwxMjM0NV0=
2154621610
data_event:
2154721611
title: Data Event
2154821612
type: object

0 commit comments

Comments
 (0)