Create destination
Creates a new destination within a specified group in your Fivetran account. IMPORTANT: Groups and destinations are mapped 1:1 to each other. We do this mapping using the group's id
value that we automatically generate when you create a group, and the destination's group_id
value that you specify when you create a destination. This means that you must create a group in your Fivetran account before you can create a destination in it.
Request schema
Header parameters
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Request
The unique identifier for the group within the Fivetran system.
The name for the destination type within the Fivetran system.
Data processing location. This is where Fivetran will operate and run computation on data.
Determines the time zone for the Fivetran sync schedule.
Specifies whether we should trust the certificate automatically. The default value is FALSE. If a certificate is not trusted automatically, it has to be approved with Certificates Management API Approve a destination certificate.
Specifies whether we should trust the SSH fingerprint automatically. The default value is FALSE. If a fingerprint is not trusted automatically, it has to be approved with Certificates Management API Approve a destination fingerprint.
Specifies whether setup tests should be run automatically.
Shift my UTC offset with daylight savings time (US Only)
(Deprecated) The unique identifier for the hybrid deployment agent within the Fivetran system
The unique identifier for the hybrid deployment agent within the Fivetran system
The unique identifier for the self-served private link that is used by the connection
Schema registry API secret.
Schema Registry
Confluent Cloud message format.
Replication factor.
Schema registry API key.
Confluent Cloud SASL secret.
Comma-separated list of Confluent Cloud servers in the server:port format.
Schema registry URL.
Populate all tables in a single topic.
Confluent Cloud SASL key.
Security protocol for Confluent Cloud interaction.
Security protocol for Confluent Cloud interaction.
Number of partitions per topic.
POST /v1/destinations HTTP/1.1
Accept: application/json;version=2
Authorization: Basic REPLACE_BASIC_AUTH
Content-Type: application/json
Host: api.fivetran.com
Content-Length: 1125
{
"group_id": "group_id",
"service": "confluent_cloud_wh",
"region": "GCP_US_WEST1",
"time_zone_offset": "+3",
"trust_certificates": true,
"trust_fingerprints": true,
"run_setup_tests": true,
"daylight_saving_time_enabled": true,
"local_processing_agent_id": "local_processing_agent_id",
"hybrid_deployment_agent_id": "hybrid_deployment_agent_id",
"private_link_id": "private_link_id",
"networking_method": "Directly",
"config": {
"schema_registry_api_secret": "your_schema_registry_API_secret",
"schema_registry": "CONFLUENT_CLOUD | AWS_GLUE | AIVEN_KARAPACE",
"data_format": "JSON | AVRO",
"replication_factor": 3,
"schema_registry_api_key": "your_schema_registry_API_key",
"sasl_plain_secret": "your_API_secret",
"bootstrap_servers": [
"string"
],
"connection_method": "direct | privatelink",
"schema_registry_url": "http",
"enable_single_topic": true,
"sasl_plain_key": "your_API_key",
"sasl_mechanism": "PLAIN | SCRAM_SHA_512 | SCRAM_SHA_256 | AWS_IAM",
"security_protocol": "SASL | SASL_PLAINTEXT",
"num_of_partitions": 4
}
}
Responses
Successful response schema
Response status code
Response status text
The unique identifier for the destination within the Fivetran system
The name for the destination type within the Fivetran system.
Data processing location. This is where Fivetran will operate and run computation on data.
Destination setup status
Shift my UTC offset with daylight savings time (US Only)
The unique identifier for the group within the Fivetran system.
Determines the time zone for the Fivetran sync schedule.
Setup tests results for this destination
Setup test title
Setup test status
Setup test message
Setup test details
(Deprecated) The unique identifier for the hybrid deployment agent within the Fivetran system
The unique identifier for the self-served private link that is used by the connection
The unique identifier for the hybrid deployment agent within the Fivetran system
Schema registry API secret.
Schema Registry
Confluent Cloud message format.
Replication factor.
Schema registry API key.
Confluent Cloud SASL secret.
Comma-separated list of Confluent Cloud servers in the server:port format.
Schema registry URL.
Populate all tables in a single topic.
Confluent Cloud SASL key.
Security protocol for Confluent Cloud interaction.
Security protocol for Confluent Cloud interaction.
Number of partitions per topic.
{
"code": "Created",
"message": "Operation performed.",
"data": {
"id": "destination_id",
"service": "confluent_cloud_wh",
"region": "GCP_US_EAST4",
"networking_method": "Directly",
"setup_status": "CONNECTED",
"daylight_saving_time_enabled": true,
"group_id": "group_id",
"time_zone_offset": "+3",
"setup_tests": [
{
"title": "Test Title",
"status": "FAILED",
"message": "Test Message",
"details": "..."
}
],
"local_processing_agent_id": "local_processing_agent_id",
"private_link_id": "private_link_id",
"hybrid_deployment_agent_id": "hybrid_deployment_agent_id",
"config": {
"schema_registry_api_secret": "your_schema_registry_API_secret",
"schema_registry": "CONFLUENT_CLOUD | AWS_GLUE | AIVEN_KARAPACE",
"data_format": "JSON | AVRO",
"replication_factor": 3,
"schema_registry_api_key": "your_schema_registry_API_key",
"sasl_plain_secret": "your_API_secret",
"bootstrap_servers": [
"string"
],
"connection_method": "direct | privatelink",
"schema_registry_url": "http",
"enable_single_topic": true,
"sasl_plain_key": "your_API_key",
"sasl_mechanism": "PLAIN | SCRAM_SHA_512 | SCRAM_SHA_256 | AWS_IAM",
"security_protocol": "SASL | SASL_PLAINTEXT",
"num_of_partitions": 4
}
}
}