From 0c5f97b58b01cc4e254d40d883f64b28240c3b94 Mon Sep 17 00:00:00 2001 From: ellicenelson Date: Mon, 16 Mar 2026 12:41:47 +0000 Subject: [PATCH] docs: Add cursor pagination to Data Connectors list endpoint Co-Authored-By: Claude Opus 4.6 (1M context) --- descriptions/0/api.intercom.io.yaml | 60 ++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 854f7c7..f506759 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -10046,6 +10046,21 @@ paths: in: header schema: "$ref": "#/components/schemas/intercom_version" + - name: per_page + in: query + required: false + description: The number of results to return per page. Defaults to 20, minimum 1, maximum 50. + schema: + type: integer + default: 20 + minimum: 1 + maximum: 50 + - name: starting_after + in: query + required: false + description: The cursor value from `pages.next.starting_after` in a previous response. Used to paginate through results. + schema: + type: string tags: - Data Connectors operationId: listDataConnectors @@ -10054,6 +10069,8 @@ paths: Data connectors allow you to make HTTP requests to external APIs from Intercom workflows and AI agents. Each connector in the response includes an `execution_results_url` for navigating to its execution logs. + + 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. responses: '200': description: successful @@ -10074,8 +10091,27 @@ paths: created_at: '2025-11-15T09:30:00Z' updated_at: '2026-01-20T14:22:15Z' execution_results_url: "/data_connectors/12345/execution_results" + pages: + type: pages + per_page: 20 + next: + starting_after: WzE3MDc1OTQ3MTUuMCwxMjM0NV0= schema: "$ref": "#/components/schemas/data_connector_list" + '400': + description: Bad Request + content: + application/json: + examples: + Invalid cursor: + value: + type: error.list + request_id: test-uuid-replacement + errors: + - code: client_error + message: Invalid starting_after param. Please try again using a starting_after value from a paginated response + schema: + "$ref": "#/components/schemas/error" '401': description: Unauthorized content: @@ -21530,7 +21566,7 @@ components: data_connector_list: title: Data Connector List type: object - description: A list of data connectors. + description: A paginated list of data connectors. properties: type: type: string @@ -21543,6 +21579,28 @@ components: description: An array of data connector objects. items: "$ref": "#/components/schemas/data_connector" + pages: + type: object + description: Pagination information. + properties: + type: + type: string + example: pages + enum: + - pages + per_page: + type: integer + description: The number of results per page. + example: 20 + next: + type: object + nullable: true + description: Cursor for the next page of results. + properties: + starting_after: + type: string + description: The cursor value to use for the next page. + example: WzE3MDc1OTQ3MTUuMCwxMjM0NV0= data_event: title: Data Event type: object