- Update Data Connector Request
Update an existing data connector. All fields are optional — only provided fields will be updated. Set state to live or draft to change the connector's state.
The internal description of the data connector. If omitted, it keeps its current value, unless the connector has no internal description yet, in which case it is set to the connector's description.
The HTTP method used by the data connector.
The URL of the external API endpoint. Supports template variables like {{order_id}}.
The audience types this connector targets.
[ "leads", "users" ]
The input parameters accepted by this data connector. Replaces all existing inputs.
Whether OTP authentication is enabled for this connector.
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.
Whether to validate missing attributes before execution.
A sample JSON response from the external API. Auto-generates response_fields and sets configuration_response_type to mock_response_type.
{ "order": { "id": 12345, "status": "shipped" } }
{ "name": "Updated Connector Name", "description": "Updated description", "internal_description": "string", "state": "draft", "http_method": "post", "url": "https://api.example.com/orders/{{order_id}}/status", "body": "string", "direct_fin_usage": false, "audiences": [ "leads", "users" ], "headers": [ { … } ], "data_inputs": [ { … } ], "customer_authentication": false, "bypass_authentication": false, "enforce_auth": true, "validate_missing_attributes": true, "mock_response": { "order": { … } }, "token_ids": [ "1234", "5678" ] }