- Data Connector (Detail)
Full detail view of a data connector, returned by GET /data_connectors/{id}, POST /data_connectors, and PATCH /data_connectors/{id}. Includes configuration, data inputs, response fields, and object mappings.
A description of what this data connector does.
The URL of the external API endpoint. Supports template variables like {{order_id}}.
The request body template. Supports template variables.
HTTP headers for the request. Header values are always redacted as "****" in responses.
[ { "name": "Authorization", "value": "****" } ]
The HTTP method used by the data connector.
The audience types this connector targets.
[ "users", "leads" ]
The expected response format from the connector.
The type of data transformation applied to the response.
The code block used to transform the connector's response. Present only when data_transformation_type is code_block_transformation and a code block exists; otherwise omitted.
{ "code": "def transform(response):\n return {\"status\": response[\"order_status\"]}\n\nreturn transform(inputs['data'])\n", "language": "python" }
Timeout in milliseconds for the client function, if applicable.
Whether OTP authentication is enabled for this connector.
The time the data connector was last updated.
{ "type": "data_connector", "id": "12345", "name": "Order Status Service", "description": "Fetches order status from external fulfillment API", "internal_description": "string", "state": "live", "url": "https://api.example.com/orders/{{order_id}}/status", "body": "{\"text\": \"{{message}}\"}", "headers": [ { … } ], "http_method": "post", "direct_fin_usage": false, "audiences": [ "users", "leads" ], "execution_type": "server_side", "configuration_response_type": "test_response_type", "data_transformation_type": "full_access", "transform_code_block": { "code": "def transform(response):\n return {\"status\": response[\"order_status\"]}\n\nreturn transform(inputs['data'])\n", "language": "python" }, "client_function_name": "string", "client_function_timeout_ms": 0, "data_inputs": [ { … } ], "response_fields": [ { … } ], "object_mappings": [ { … } ], "token_ids": [], "customer_authentication": false, "bypass_authentication": false, "enforce_auth": true, "validate_missing_attributes": true, "created_by_admin_id": "456", "updated_by_admin_id": "456", "created_at": "2025-11-15T09:30:00Z", "updated_at": "2026-01-20T14:22:15Z", "execution_results_url": "/data_connectors/12345/execution_results" }