Skip to content

Commit ecdd1a1

Browse files
ellicenelsonclaude
andauthored
docs: Add cursor pagination to Data Connectors list endpoint (#401)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d4b26c5 commit ecdd1a1

File tree

1 file changed

+59
-1
lines changed

1 file changed

+59
-1
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10278,6 +10278,21 @@ paths:
1027810278
in: header
1027910279
schema:
1028010280
"$ref": "#/components/schemas/intercom_version"
10281+
- name: per_page
10282+
in: query
10283+
required: false
10284+
description: The number of results to return per page. Defaults to 20, minimum 1, maximum 50.
10285+
schema:
10286+
type: integer
10287+
default: 20
10288+
minimum: 1
10289+
maximum: 50
10290+
- name: starting_after
10291+
in: query
10292+
required: false
10293+
description: The cursor value from `pages.next.starting_after` in a previous response. Used to paginate through results.
10294+
schema:
10295+
type: string
1028110296
tags:
1028210297
- Data Connectors
1028310298
operationId: listDataConnectors
@@ -10286,6 +10301,8 @@ paths:
1028610301

1028710302
Data connectors allow you to make HTTP requests to external APIs from Intercom workflows and AI agents.
1028810303
Each connector in the response includes an `execution_results_url` for navigating to its execution logs.
10304+
10305+
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.
1028910306
responses:
1029010307
'200':
1029110308
description: successful
@@ -10308,8 +10325,27 @@ paths:
1030810325
created_at: '2025-11-15T09:30:00Z'
1030910326
updated_at: '2026-01-20T14:22:15Z'
1031010327
execution_results_url: "/data_connectors/12345/execution_results"
10328+
pages:
10329+
type: pages
10330+
per_page: 20
10331+
next:
10332+
starting_after: WzE3MDc1OTQ3MTUuMCwxMjM0NV0=
1031110333
schema:
1031210334
"$ref": "#/components/schemas/data_connector_list"
10335+
'400':
10336+
description: Bad Request
10337+
content:
10338+
application/json:
10339+
examples:
10340+
Invalid cursor:
10341+
value:
10342+
type: error.list
10343+
request_id: test-uuid-replacement
10344+
errors:
10345+
- code: client_error
10346+
message: Invalid starting_after param. Please try again using a starting_after value from a paginated response
10347+
schema:
10348+
"$ref": "#/components/schemas/error"
1031310349
'401':
1031410350
description: Unauthorized
1031510351
content:
@@ -22596,7 +22632,7 @@ components:
2259622632
data_connector_list:
2259722633
title: Data Connector List
2259822634
type: object
22599-
description: A list of data connectors.
22635+
description: A paginated list of data connectors.
2260022636
properties:
2260122637
type:
2260222638
type: string
@@ -22609,6 +22645,28 @@ components:
2260922645
description: An array of data connector objects.
2261022646
items:
2261122647
"$ref": "#/components/schemas/data_connector"
22648+
pages:
22649+
type: object
22650+
description: Pagination information.
22651+
properties:
22652+
type:
22653+
type: string
22654+
example: pages
22655+
enum:
22656+
- pages
22657+
per_page:
22658+
type: integer
22659+
description: The number of results per page.
22660+
example: 20
22661+
next:
22662+
type: object
22663+
nullable: true
22664+
description: Cursor for the next page of results.
22665+
properties:
22666+
starting_after:
22667+
type: string
22668+
description: The cursor value to use for the next page.
22669+
example: WzE3MDc1OTQ3MTUuMCwxMjM0NV0=
2261222670
deleted_data_connector_object:
2261322671
title: Deleted Data Connector Object
2261422672
type: object

0 commit comments

Comments
 (0)