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
The unique identifier for the proxy agent within the Fivetran system
If not specified, Fivetran will use the user's default role
Connection method. Default value: Directly.
Password-based or key-based authentication type
Private access key. The field should be specified if authentication type is KEY_PAIR.
Database name
Database user password. The field should be specified if authentication type is PASSWORD.
Indicates that a private key is encrypted. The default value: false. The field can be specified if authentication type is KEY_PAIR.
Server port number
Server name
In case private key is encrypted, you are required to enter passphrase that was used to encrypt the private key. The field can be specified if authentication type is KEY_PAIR.
Database user name
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: 1103
{
"group_id": "group_id",
"service": "snowflake",
"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",
"proxy_agent_id": "proxy_agent_id",
"config": {
"role": "string",
"connection_type": "Directly | PrivateLink | SshTunnel | ProxyAgent",
"auth": "KEY_PAIR | PASSWORD | OAUTH",
"private_key": "string",
"external_storage_integration": "string",
"database": "fivetran",
"password": "123456",
"is_private_key_encrypted": true,
"port": 443,
"enable_external_storage_for_unstructured_files": true,
"host": "your-account.snowflakecomputing.com",
"passphrase": "string",
"external_stage_storage_provider": "S3 | GCS | AZURE | INTERNAL",
"user": "fivetran_user",
"external_storage_parent_folder_uri": "string"
}
}
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 proxy agent within the Fivetran system
The unique identifier for the hybrid deployment agent within the Fivetran system
If not specified, Fivetran will use the user's default role
Connection method. Default value: Directly.
Password-based or key-based authentication type
Private access key. The field should be specified if authentication type is KEY_PAIR.
Database name
Database user password. The field should be specified if authentication type is PASSWORD.
Indicates that a private key is encrypted. The default value: false. The field can be specified if authentication type is KEY_PAIR.
Server port number
Server name
In case private key is encrypted, you are required to enter passphrase that was used to encrypt the private key. The field can be specified if authentication type is KEY_PAIR.
Database user name
{
"code": "Created",
"message": "Operation performed.",
"data": {
"id": "destination_id",
"service": "snowflake",
"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",
"proxy_agent_id": "proxy_agent_id",
"hybrid_deployment_agent_id": "hybrid_deployment_agent_id",
"config": {
"role": "string",
"connection_type": "Directly | PrivateLink | SshTunnel | ProxyAgent",
"auth": "KEY_PAIR | PASSWORD | OAUTH",
"private_key": "string",
"external_storage_integration": "string",
"database": "fivetran",
"password": "123456",
"is_private_key_encrypted": true,
"port": 443,
"enable_external_storage_for_unstructured_files": true,
"host": "your-account.snowflakecomputing.com",
"passphrase": "string",
"external_stage_storage_provider": "S3 | GCS | AZURE | INTERNAL",
"user": "fivetran_user",
"external_storage_parent_folder_uri": "string"
}
}
}