Documentation

Documentation

  • Getting Started
  • Core Concepts
  • Using Fivetran
  • Usage-Based Pricing
  • Connectors
  • Applications
  • Databases
  • Files
  • Events
  • Functions
  • Destinations
  • Partner-Built
  • Transformations
  • Logs
  • Security
  • REST API
    • Getting Started
    • Powered by Fivetran
    • API Tools
    • Interactive API Reference
    • User Management
    • Role Management
    • Team Management
    • Group Management
    • Destination Management
    • Connector Management
    • Certificate Management
    • Webhook Management
    • Transformations for dbt Core Management
    • Log Service Management
    • Private Links Management
    • Pagination
    • Rate Limiting
    • REST API FAQ
    • REST API Troubleshooting
    • Release Notes
  • Local Data Processing (HVR 6)
  • Release Notes
RSS
Release notes RSS
HVR 5 Documentation
HVR 5 Documentation
  • Support
  • Sign In
Try our new Interactive API Reference!
Edit on GitHub

Private Links Management BETAlink

Updated November 21, 2023

Our REST API supports the following private links management actions:

  • Create a Private Link
  • List all Private Links within Group
  • Retrieve Private Link Details
  • Update a Private Link
  • Delete a Private Link

Create a Private Linklink

Creates a new private link within your Fivetran account.

Requestlink

POST https://api.fivetran.com/v1/private-links

{
  "name": "string",
  "group_id": "string",
  "service": "string",
  "config": {
    ...
  }
}
content_copy

Payload parameterslink

NameDescription
name (required)The private link name within the account. The name must start with a letter or underscore and can only contain letters, numbers, or underscores.
group_id (required)The unique identifier for the group within the Fivetran system.
service (required)Service name. We support the following services: redshift, databricks, source, snowflake.
config (required)The private link setup configuration. The format is specific for each service.

Responselink

HTTP 201 Created

{
    "code": "Success",
    "data": {
        "id": long,
        "name": "string",
        "group_id": "string",
        "cloud_provider": "string",
        "service": "string",
        "region": "string",
        "state": "string",
        "state_summary": "string",
        "created_at": "2022-04-29T09:41:08.583Z",
        "created_by": "string",
        "config": {
          ...
        }
    }
}

content_copy
NameDescription
idThe unique identifier for the private link within the Fivetran system.
nameThe private link name within the account.
group_idThe unique identifier for the group within the Fivetran system.
cloud_providerThe cloud provider name.
serviceThe service name. We support the following services: redshift, databricks, source, snowflake.
regionThe data processing location.
stateThe state of the private link. Possible values: CREATING, UPDATING, DESTROYING, OK, FAIL.
state_summaryThe state details.
created_atThe date and time the membership was created.
created_byThe unique identifier for the User within the Fivetran system.
configThe private link setup configuration. The format is specific for each service.

HTTP 404 NOT_FOUND

Group with group_id not found.

HTTP 400 BAD REQUEST

Service is not supported or config block inconsistent.

Private link setup configurationslink

The private link setup configuration (the config field) is different for each service and cloud provider. Cloud provider is configured in a group. The following subsections provide configuration examples for the supported services and cloud providers to help get you started.

Databricks or Source for AWSlink

{
    "connection_service_name": "string"
}
content_copy

Payload parameterslink

NameDescription
connection_service_name (required)The name of your connection service.

Databricks for Azurelink

{
    "connection_service_id": "string",
    "workspace_url": "string"
}
content_copy

Payload parameterslink

NameDescription
connection_service_id (required)The ID of your connection service.
workspace_url (required)The URL of your workspace.

Snowflake for AWSlink

{
    "account_name": "string",
    "account_url": "string",
    "vpceId": "string"
}
content_copy

Payload parameterslink

NameDescription
account_name (required)The name of your account.
account_url (required)The URL of your account.
vpceId (required)The ID of your Virtual Private Cloud Endpoint.

Snowflake for Azurelink

{
    "account_url": "string",
    "pls_id": "string"
}
content_copy

Payload parameterslink

NameDescription
account_url (required)The URL of your account
pls_id (required)The ID of your Azure Private Link service.

Redshift for AWSlink

{
    "aws_account_id": "string",
    "cluster_identifier": "string"
}
content_copy

Payload parameterslink

NameDescription
aws_account_id (required)The ID of your AWS account.
cluster_identifier (required)The cluster identifier.

Source for Azurelink

{
    "connection_service_id": "string",
    "sub_resource_name": "string"
}
content_copy

Payload parameterslink

NameDescription
connection_service_id (required)The ID of your connection service.
sub_resource_name (required)The name of subresource.

Synapse for Azurelink

{
  "connection_service_id": "string"
}
content_copy

Payload parameterslink

NameDescription
connection_service_id (required)The ID of your connection service.

List all Private Links within Grouplink

Returns a list of all private links within your Fivetran account.

Requestlink

GET api.fivetran.com/v1/groups/{groupId}/private-links

Path parameterslink

NameDescription
groupIdThe unique identifier for the group within the Fivetran system.

Query parameterslink

NameDescription
cursorThe paging cursor, read more about pagination
limitThe number of records to fetch per page, accepts a number in the range 1..1000, the default value is 100

Responselink

HTTP 200 OK

{
    "code": "Success",
    "data": {
        "items": [
          {
            "id": long,
            "name": "string",
            "group_id": "string",
            "cloud_provider": "string",
            "service": "string",
            "region": "string",
            "state": "string",
            "state_summary": "string",
            "created_at": "2022-04-29T09:41:08.583Z",
            "created_by": "string",
          }
        ],
        "next_cursor": "eyJza2lwIjoyfQ"
    }
}
content_copy

HTTP 404 NOT_FOUND

Group with group_id not found

Fieldslink

NameDescription
itemsThe collection of private links
next_cursorThe value of the cursor parameter for the next page

Retrieve Private Link Detailslink

Retrieves a private link object within your Fivetran account.

Requestlink

GET https://api.fivetran.com/v1/private-links/{linkId}

Query parameterslink

NameDescription
linkId (required)Long. The unique identifier for the private link within your Fivetran account.

Responselink

HTTP 200 OK

{
  "code": "Success",
  "data": {
    "id": long,
    "name": "string",
    "group_id": "string",
    "cloud_provider": "string",
    "service": "string",
    "region": "string",
    "state": "string",
    "state_summary": "string",
    "created_at": "2022-04-29T09:41:08.583Z",
    "created_by": "string",
    "config": {
      ...
    }
  }
}
content_copy
NameDescription
idThe unique identifier for the private link within the Fivetran system.
nameThe private link name within the account.
group_idThe unique identifier for the group within the Fivetran system.
cloud_providerThe cloud provider name.
serviceThe service name. We support the following services: redshift, databricks, source, snowflake.
regionThe data processing location.
stateThe state of the private link. Possible values: CREATING, UPDATING, DESTROYING, OK, FAIL.
state_summaryThe state details.
created_atThe date and time the membership was created.
created_byThe unique identifier for the user within the Fivetran system.
configThe private link setup configuration. The format is specific for each service.

HTTP 404 NOT_FOUND

Private link with linkId not found.

Update a Private Linklink

Updates information for an existing private links within your Fivetran account.

Requestlink

PATCH https://api.fivetran.com/v1/private-links/{linkId}

{
    "name": "string",
    "config": {
      ...
    }
}
content_copy

Path parameterslink

NameDescription
linkId (required)Long. The unique identifier for the private link within your Fivetran account.

Payload parameterslink

NameDescription
nameThe private link name within the account. The name must start with a letter or underscore and can only contain letters, numbers, or underscores.
configThe private link setup configuration. The format is specific for each service.

Responselink

HTTP 200 OK

{
  "code": "Success",
  "data": {
    "id": long,
    "name": "string",
    "group_id": "string",
    "cloud_provider": "string",
    "service": "string",
    "region": "string",
    "state": "string",
    "state_summary": "string",
    "created_at": "2022-04-29T09:41:08.583Z",
    "created_by": "string",
    "config": {
      ...
    }
  }
}
content_copy
NameDescription
idThe unique identifier for the private link within the Fivetran system.
nameThe private link name within the account.
group_idThe unique identifier for the group within the Fivetran system.
cloud_providerThe cloud provider name.
serviceThe service name. We support the following services: redshift, databricks, source, snowflake.
regionThe data processing location.
stateThe state of the private link. Possible values: CREATING, UPDATING, DESTROYING, OK, FAIL.
state_summaryThe state details.
created_atThe date and time the membership was created.
created_byThe unique identifier for the User within the Fivetran system.
configThe private link setup configuration. The format is specific for each service. Requires passing a full set of parameters corresponding to the configuration.

HTTP 400 BAD REQUEST

config block inconsistent.

HTTP 403 FORBIDDEN

Operation not available for current user.

HTTP 404 NOT_FOUND

Private link with linkId not found.

Delete a Private Linklink

Deletes a private link from your Fivetran account.

Requestlink

DELETE https://api.fivetran.com/v1/private-links/{linkId}

Path parameterslink

NameDescription
linkId (required)Long. The unique identifier for the private link within your Fivetran account.

Responselink

HTTP 200 OK

{
    "code": "Success",
    "message": "string"
}
content_copy

HTTP 400 BAD REQUEST

Error during removal process.

HTTP 403 FORBIDDEN

Operation not available for current user.

HTTP 404 NOT_FOUND

Private link with link not found.


Questions?

We're always happy to help with any other questions you might have! Send us an email.

    Thanks for your feedback!
    Was this page helpful?