diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index d8c1e78c..8b01351b 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -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 @@ -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: @@ -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: @@ -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": @@ -51358,7 +51376,7 @@ 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 @@ -51366,7 +51384,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`) 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. @@ -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. diff --git a/descriptions/2.16/api.intercom.io.yaml b/descriptions/2.16/api.intercom.io.yaml index 61057709..3fc0d5b6 100644 --- a/descriptions/2.16/api.intercom.io.yaml +++ b/descriptions/2.16/api.intercom.io.yaml @@ -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 @@ -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: @@ -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: @@ -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": @@ -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 @@ -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 diff --git a/descriptions/2.17/api.intercom.io.yaml b/descriptions/2.17/api.intercom.io.yaml index 7562e58d..3c67969a 100644 --- a/descriptions/2.17/api.intercom.io.yaml +++ b/descriptions/2.17/api.intercom.io.yaml @@ -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 @@ -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: @@ -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: @@ -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": @@ -44146,7 +44164,7 @@ 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 @@ -44154,7 +44172,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`) 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. @@ -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. diff --git a/descriptions/2.18/api.intercom.io.yaml b/descriptions/2.18/api.intercom.io.yaml index af23c3c1..b7f6eb7f 100644 --- a/descriptions/2.18/api.intercom.io.yaml +++ b/descriptions/2.18/api.intercom.io.yaml @@ -25284,6 +25284,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 @@ -25392,6 +25394,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: @@ -25676,6 +25685,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: @@ -25841,6 +25852,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": @@ -46212,7 +46230,7 @@ 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 @@ -46220,7 +46238,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`) 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. @@ -46361,7 +46379,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.