Skip to content

Commit 45591e9

Browse files
committed
feat: Add token_ids, url, body, and headers fields to data connector schema
1 parent d25d9e2 commit 45591e9

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22655,6 +22655,14 @@ components:
2265522655
order:
2265622656
id: 12345
2265722657
status: shipped
22658+
token_ids:
22659+
type: array
22660+
description: IDs of authentication tokens to attach to this data connector.
22661+
items:
22662+
type: string
22663+
example:
22664+
- '1234'
22665+
- '5678'
2265822666
required:
2265922667
- name
2266022668
update_data_connector_request:
@@ -22774,6 +22782,14 @@ components:
2277422782
order:
2277522783
id: 12345
2277622784
status: shipped
22785+
token_ids:
22786+
type: array
22787+
description: IDs of authentication tokens to attach to this data connector. An empty array removes all tokens.
22788+
items:
22789+
type: string
22790+
example:
22791+
- '1234'
22792+
- '5678'
2277722793
data_connector:
2277822794
title: Data Connector
2277922795
type: object
@@ -22879,6 +22895,33 @@ components:
2287922895
- draft
2288022896
- live
2288122897
example: live
22898+
url:
22899+
type: string
22900+
nullable: true
22901+
description: The URL of the external API endpoint. Supports template variables like `{{order_id}}`.
22902+
example: "https://api.example.com/orders/{{order_id}}/status"
22903+
body:
22904+
type: string
22905+
nullable: true
22906+
description: The request body template. Supports template variables.
22907+
example: '{"text": "{{message}}"}'
22908+
headers:
22909+
type: array
22910+
description: HTTP headers for the request. Header values are always redacted as `"****"` in responses.
22911+
items:
22912+
type: object
22913+
properties:
22914+
name:
22915+
type: string
22916+
description: The header name.
22917+
example: Authorization
22918+
value:
22919+
type: string
22920+
description: Always `"****"` in responses.
22921+
example: "****"
22922+
example:
22923+
- name: Authorization
22924+
value: "****"
2288222925
http_method:
2288322926
type: string
2288422927
description: The HTTP method used by the data connector.

0 commit comments

Comments
 (0)