Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions descriptions/0/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25482,6 +25482,8 @@ paths:
Create a new data connector. The connector is created in `draft` state. Configure its URL, headers, data inputs, and other settings, then set it to `live` when ready.

OAuth tokens must have the `read_write_data_connectors` scope.

To create a connector with customer authentication turned off, the access token must also have the `write_data_connector_security_settings` scope. Customer authentication is turned off by `enforce_auth: false`, or, when `enforce_auth` isn't sent, by the legacy `bypass_authentication: true` without `customer_authentication: true`; `customer_authentication: false` on its own leaves it on. Turning it off needs an access token from an app owned by this workspace. Apps owned by another workspace (for example, third-party apps) and legacy credentials can create and update secured connectors only, with customer authentication on; a teammate can turn it off in Intercom if needed. After adding the scope to your app, regenerate its access token.
responses:
'201':
description: Data connector created
Expand Down Expand Up @@ -25618,6 +25620,13 @@ paths:
errors:
- code: token_unauthorized
message: Not authorized to access resource
Turning off customer authentication not permitted:
value:
type: error.list
request_id: test-uuid-replacement
errors:
- code: token_unauthorized
message: Turning off customer authentication needs an access token from an app in this workspace with the write_data_connector_security_settings scope. If your app already has this scope, regenerate its access token.
schema:
"$ref": "#/components/schemas/error"
requestBody:
Expand Down Expand Up @@ -25909,6 +25918,8 @@ paths:
Update an existing data connector. Only provided fields are changed. Set `state` to `live` or `draft` to change the connector's state.

OAuth tokens must have the `read_write_data_connectors` scope.

Turning customer authentication off on a connector that currently has it on needs an access token that also has the `write_data_connector_security_settings` scope. Customer authentication is turned off by `enforce_auth: false`, or, when `enforce_auth` isn't sent, by the legacy `bypass_authentication: true` without `customer_authentication: true`; `customer_authentication: false` on its own leaves it on. Turning it off needs an access token from an app owned by this workspace. Apps owned by another workspace (for example, third-party apps) and legacy credentials can create and update secured connectors only, with customer authentication on; a teammate can turn it off in Intercom if needed. After adding the scope to your app, regenerate its access token. Updates to a connector that already has customer authentication off are not affected.
requestBody:
content:
application/json:
Expand Down Expand Up @@ -26126,6 +26137,13 @@ paths:
errors:
- code: token_unauthorized
message: Not authorized to access resource
Turning off customer authentication not permitted:
value:
type: error.list
request_id: test-uuid-replacement
errors:
- code: token_unauthorized
message: Turning off customer authentication needs an access token from an app in this workspace with the write_data_connector_security_settings scope. If your app already has this scope, regenerate its access token.
schema:
"$ref": "#/components/schemas/error"
"/data_connectors/{data_connector_id}/execution_results":
Expand Down Expand Up @@ -51358,15 +51376,15 @@ components:
- required
customer_authentication:
type: boolean
description: Whether the connector requires customer authentication before executing. Defaults to false.
description: Whether the connector requires OTP verification before executing. Defaults to false.
example: false
bypass_authentication:
type: boolean
description: Whether authentication is bypassed entirely (public endpoint). Defaults to false.
example: false
enforce_auth:
type: boolean
description: Whether authentication is enforced. On workspaces where this is supported, it takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP.
description: "Whether authentication is enforced. It takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP. Turning customer authentication off (this field `false`, or, when it isn't sent, `bypass_authentication: true` without `customer_authentication: true`) needs an access token from an app owned by this workspace with the `write_data_connector_security_settings` scope."
validate_missing_attributes:
type: boolean
description: Whether to validate that all required data inputs have values before executing.
Expand Down Expand Up @@ -51545,7 +51563,7 @@ components:
example: false
enforce_auth:
type: boolean
description: Whether authentication is enforced. On workspaces where this is supported, it takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP.
description: "Whether authentication is enforced. It takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP. Turning customer authentication off (this field `false`, or, when it isn't sent, `bypass_authentication: true` without `customer_authentication: true`) on a connector that has it on needs an access token from an app owned by this workspace with the `write_data_connector_security_settings` scope."
validate_missing_attributes:
type: boolean
description: Whether to validate missing attributes before execution.
Expand Down
24 changes: 21 additions & 3 deletions descriptions/2.16/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16337,6 +16337,8 @@ paths:
operationId: createDataConnector
description: |
Create a new data connector. The connector is created in `draft` state. Configure its URL, headers, data inputs, and other settings, then set it to `live` when ready.

To create a connector with customer authentication turned off, the access token must also have the `write_data_connector_security_settings` scope. Customer authentication is turned off by `bypass_authentication: true` without `customer_authentication: true`; `customer_authentication: false` on its own leaves it on. Turning it off needs an access token from an app owned by this workspace. Apps owned by another workspace (for example, third-party apps) and legacy credentials can create and update secured connectors only, with customer authentication on; a teammate can turn it off in Intercom if needed. After adding the scope to your app, regenerate its access token.
responses:
'201':
description: Data connector created
Expand Down Expand Up @@ -16411,6 +16413,13 @@ paths:
errors:
- code: unauthorized
message: Access Token Invalid
Turning off customer authentication not permitted:
value:
type: error.list
request_id: test-uuid-replacement
errors:
- code: token_unauthorized
message: Turning off customer authentication needs an access token from an app in this workspace with the write_data_connector_security_settings scope. If your app already has this scope, regenerate its access token.
schema:
"$ref": "#/components/schemas/error"
requestBody:
Expand Down Expand Up @@ -16674,6 +16683,8 @@ paths:
operationId: updateDataConnector
description: |
Update an existing data connector. Only provided fields are changed. Set `state` to `live` or `draft` to change the connector's state.

Turning customer authentication off on a connector that currently has it on needs an access token that also has the `write_data_connector_security_settings` scope. Customer authentication is turned off by `bypass_authentication: true` without `customer_authentication: true`; `customer_authentication: false` on its own leaves it on. Turning it off needs an access token from an app owned by this workspace. Apps owned by another workspace (for example, third-party apps) and legacy credentials can create and update secured connectors only, with customer authentication on; a teammate can turn it off in Intercom if needed. After adding the scope to your app, regenerate its access token. Updates to a connector that already has customer authentication off are not affected.
requestBody:
content:
application/json:
Expand Down Expand Up @@ -16810,6 +16821,13 @@ paths:
errors:
- code: unauthorized
message: Access Token Invalid
Turning off customer authentication not permitted:
value:
type: error.list
request_id: test-uuid-replacement
errors:
- code: token_unauthorized
message: Turning off customer authentication needs an access token from an app in this workspace with the write_data_connector_security_settings scope. If your app already has this scope, regenerate its access token.
schema:
"$ref": "#/components/schemas/error"
"/data_connectors/{data_connector_id}/execution_results":
Expand Down Expand Up @@ -31368,11 +31386,11 @@ components:
description: The default value for the parameter. Defaults to an empty string if omitted.
customer_authentication:
type: boolean
description: Whether the connector requires customer authentication before executing. Defaults to false.
description: Whether the connector requires OTP verification before executing. Defaults to false.
example: false
bypass_authentication:
type: boolean
description: Whether authentication is bypassed entirely (public endpoint). Defaults to false.
description: "Whether authentication is bypassed entirely (public endpoint). Defaults to false. Setting it to `true` without `customer_authentication: true` turns customer authentication off, which needs an access token from an app owned by this workspace with the `write_data_connector_security_settings` scope."
example: false
validate_missing_attributes:
type: boolean
Expand Down Expand Up @@ -31499,7 +31517,7 @@ components:
example: false
bypass_authentication:
type: boolean
description: Whether authentication is bypassed for this connector.
description: "Whether authentication is bypassed for this connector. Setting it to `true` without `customer_authentication: true` on a connector that has customer authentication on needs an access token from an app owned by this workspace with the `write_data_connector_security_settings` scope."
example: false
validate_missing_attributes:
type: boolean
Expand Down
24 changes: 21 additions & 3 deletions descriptions/2.17/api.intercom.io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24279,6 +24279,8 @@ paths:
Create a new data connector. The connector is created in `draft` state. Configure its URL, headers, data inputs, and other settings, then set it to `live` when ready.

OAuth tokens must have the `read_write_data_connectors` scope.

To create a connector with customer authentication turned off, the access token must also have the `write_data_connector_security_settings` scope. Customer authentication is turned off by `enforce_auth: false`, or, when `enforce_auth` isn't sent, by the legacy `bypass_authentication: true` without `customer_authentication: true`; `customer_authentication: false` on its own leaves it on. Turning it off needs an access token from an app owned by this workspace. Apps owned by another workspace (for example, third-party apps) and legacy credentials can create and update secured connectors only, with customer authentication on; a teammate can turn it off in Intercom if needed. After adding the scope to your app, regenerate its access token.
responses:
'201':
description: Data connector created
Expand Down Expand Up @@ -24387,6 +24389,13 @@ paths:
errors:
- code: token_unauthorized
message: Not authorized to access resource
Turning off customer authentication not permitted:
value:
type: error.list
request_id: test-uuid-replacement
errors:
- code: token_unauthorized
message: Turning off customer authentication needs an access token from an app in this workspace with the write_data_connector_security_settings scope. If your app already has this scope, regenerate its access token.
schema:
"$ref": "#/components/schemas/error"
requestBody:
Expand Down Expand Up @@ -24671,6 +24680,8 @@ paths:
Update an existing data connector. Only provided fields are changed. Set `state` to `live` or `draft` to change the connector's state.

OAuth tokens must have the `read_write_data_connectors` scope.

Turning customer authentication off on a connector that currently has it on needs an access token that also has the `write_data_connector_security_settings` scope. Customer authentication is turned off by `enforce_auth: false`, or, when `enforce_auth` isn't sent, by the legacy `bypass_authentication: true` without `customer_authentication: true`; `customer_authentication: false` on its own leaves it on. Turning it off needs an access token from an app owned by this workspace. Apps owned by another workspace (for example, third-party apps) and legacy credentials can create and update secured connectors only, with customer authentication on; a teammate can turn it off in Intercom if needed. After adding the scope to your app, regenerate its access token. Updates to a connector that already has customer authentication off are not affected.
requestBody:
content:
application/json:
Expand Down Expand Up @@ -24836,6 +24847,13 @@ paths:
errors:
- code: token_unauthorized
message: Not authorized to access resource
Turning off customer authentication not permitted:
value:
type: error.list
request_id: test-uuid-replacement
errors:
- code: token_unauthorized
message: Turning off customer authentication needs an access token from an app in this workspace with the write_data_connector_security_settings scope. If your app already has this scope, regenerate its access token.
schema:
"$ref": "#/components/schemas/error"
"/data_connectors/{data_connector_id}/execution_results":
Expand Down Expand Up @@ -44146,15 +44164,15 @@ components:
- required
customer_authentication:
type: boolean
description: Whether the connector requires customer authentication before executing. Defaults to false.
description: Whether the connector requires OTP verification before executing. Defaults to false.
example: false
bypass_authentication:
type: boolean
description: Whether authentication is bypassed entirely (public endpoint). Defaults to false.
example: false
enforce_auth:
type: boolean
description: Whether authentication is enforced. On workspaces where this is supported, it takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP.
description: "Whether authentication is enforced. It takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP. Turning customer authentication off (this field `false`, or, when it isn't sent, `bypass_authentication: true` without `customer_authentication: true`) needs an access token from an app owned by this workspace with the `write_data_connector_security_settings` scope."
validate_missing_attributes:
type: boolean
description: Whether to validate that all required data inputs have values before executing.
Expand Down Expand Up @@ -44295,7 +44313,7 @@ components:
example: false
enforce_auth:
type: boolean
description: Whether authentication is enforced. On workspaces where this is supported, it takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP.
description: "Whether authentication is enforced. It takes precedence over `customer_authentication` and `bypass_authentication` when sent together, and setting it to false disables OTP. Turning customer authentication off (this field `false`, or, when it isn't sent, `bypass_authentication: true` without `customer_authentication: true`) on a connector that has it on needs an access token from an app owned by this workspace with the `write_data_connector_security_settings` scope."
validate_missing_attributes:
type: boolean
description: Whether to validate missing attributes before execution.
Expand Down
Loading