Updates an existing data connector's configuration. Supply only the fields to change; set state to live or draft to change the connector's state. Updating data_inputs replaces all existing inputs.
IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.
2 parameters · 15 body fields
idstringrequired
The unique identifier of the data connector to update.
Intercom-Versionstringoptional
The Intercom API version to use. Defaults to 2.17 when omitted.
The name of the client-side function, if applicable.
client_function_timeout_msintegeroptional
Timeout in milliseconds for the client function, if applicable.
data_inputsarray<object>optional
The input parameters accepted by this data connector.
response_fieldsarray<object>optional
The fields returned in the connector response.
object_mappingsarray<object>optional
Mappings from connector response objects to Intercom objects.
token_idsarray<string>optional
IDs of authentication tokens associated with this connector.
customer_authenticationbooleanoptional
Whether OTP authentication is enabled for this connector.
bypass_authenticationbooleanoptional
Whether authentication is bypassed for this connector.
validate_missing_attributesbooleanoptional
Whether to validate missing attributes before execution.
created_by_admin_idstringoptional
The ID of the admin who created this connector.
updated_by_admin_idstringoptional
The ID of the admin who last updated this connector.
created_atstringoptional
The time the data connector was created.
updated_atstringoptional
The time the data connector was last updated.
execution_results_urlstringoptional
The URL path to fetch execution results for this connector.
401Returned when the request is unauthorized.
One documented failure
unauthorized
Access Token Invalid
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
404Returned when the data connector is not found.
One documented failure
data_connector_not_found
Data connector not found
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
409Returned when the update conflicts with the current state.
One documented failure
data_connector_in_use
Data connector is in use by other resources and cannot be set to draft
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
422Returned when a parameter is invalid.
One documented failure
parameter_invalid
Invalid audiences. Must be a subset of: leads, users, visitors
typestringrequired
The type is error.list
request_idstringoptional
errorsarray<object>required
An array of one or more error objects
Error handling
A 401 is returned when the request is unauthorized, a 404 when the data connector is not found, a 409 when the update conflicts, and a 422 when a parameter is invalid. The id path parameter must identify a data connector; state must be draft or live, and http_method must be get, post, put, delete, or patch.