Connector Config
The connector setup configuration (config
field) is different for each connector.
Most of the configuration fields documented in this section can be used both in the Create a connector and Modify a connector requests. The following fields as well as some other connector type-specific fields can only be used when creating a connector:
schema
table
schema_prefix
timeframe_months
The following connectors can be managed through the Fivetran REST API:
- 15Five
- 360Learning
- 7shifts
- Absorb LMS
- Acculynx
- ActiveCampaign
- Ada
- Adjust
- Adobe Analytics
- Adobe Analytics Data Feed
- Adobe Commerce
- Adobe Workfront
- ADP Workforce Now
- AdRoll
- Adyen
- Affinity
- Afterpay
- Aha!
- Aircall
- Airtable
- Akeneo
- Alchemer
- Algolia
- Amazon Ads
- Amazon Attribution
- Amazon DSP
- Amazon DynamoDB
- Amazon Kinesis Firehose
- Amazon S3
- Amazon Selling Partner
- Amplitude
- Anaplan
- Anvyl
- Apache Kafka
- Appcues
- Appfigures
- Apple App Store
- Apple Search Ads
- AppsFlyer
- Asana
- Assembled
- Attentive
- Attio
- Aumni
- Auth0
- Autodesk BIM 360
- AvantLink
- Awin
- AWS CloudTrail
- AWS Cost And Usage Report
- AWS Inventory
- AWS Lambda
- AWS MSK
- Azure Blob Storage
- Azure Boards
- Azure Cosmos DB for MongoDB
- Azure Cosmos DB for NoSQL
- Azure DevOps
- Azure Functions
- Azure Event Hubs
- Azure Service Bus
- Backbone PLM
- BallotReady
- BambooHR
- Bazaarvoice
- Betterworks
- BigCommerce
- Bigin by Zoho CRM
- BigMarker
- BigQuery
- BillingPlatform
- Birdeye
- Bitly
- Bizzabo
- Boostr
- Box
- Braintree
- Branch
- Brave Ads
- Braze
- Brevo
- Brex
- Brightcove
- Brigntpearl
- Buildium
- Buildkite
- Buzzsprout
- Calabrio
- Calendly
- CallRail
- Campaign Monitor
- Canny
- Canvas by Instructure
- Care Quality Commission
- Castor EDC
- Centra
- Ceridian Dayforce
- Chameleon
- Chargebee Product Catalog 1.0
- Chargebee Product Catalog 2.0
- ChargeDesk
- ChartMogul
- Checkout.com
- Checkr
- Chorus
- Churnkey
- ChurnZero
- Cimis
- Cin7
- CircleCI
- CJ Commission Detail
- Clari
- Clazar
- ClickUp
- Clockify
- Clockodo
- Close
- Cloudbeds
- CloudFront
- Clubspeed
- Coassemble
- CockroachDB
- Codefresh
- Collibra
- Column
- commercetools
- Compliance Checkpoint
- Concord
- Confluence
- Confluent Cloud
- Constant Contact
- Contrast Security
- Convex
- Copper
- Coupa
- Criteo
- Criteo Retail Media
- Crossbeam
- crowd.dev
- Culture Amp
- Customer.io
- Cvent
- D2L Brightspace
- Databricks
- Datadog
- dbt Cloud
- DCL Logistics
- Delighted
- Deposco
- Deputy
- Destini
- Dialpad
- Dixa
- Docebo
- DocumentDB
- Donus
- DoorLoop
- Drata
- Drift
- Drip
- Dropbox
- Dropbox Sign
- DSV
- Duoplane
- EasyPost
- Ebay
- e-conomic
- Elasticsearch
- Electronic Tenant Solutions
- Eloqua
- Employment Hero
- Eventbrite
- Eventsforce
- Everflow
- Everhour
- Exact Online
- ExpenseIn
- Expensify
- EZOfficeInventory
- Facebook Ads
- Facebook Pages
- Factbird
- Factorial
- Fillout
- Firebase
- FireHydrant
- Fivetran Platform Connector
- Flexport
- Fone Dynamics
- Float
- Forj Community
- Formstack
- Fountain
- FourKites
- Freightview
- FreshBooks
- Freshchat
- Freshdesk
- Freshdesk Contact Center
- Freshsales
- Freshservice
- Freshsuccess
- Friendbuy
- Front
- Freshteam
- FTP/FTPS
- FullStory
- G2
- Gainsight Customer Success
- Gainsight Product Experience
- Gem
- Genesys
- GetFeedback
- GitHub
- GitLab
- Gladly
- GlobalMeet
- Gmail
- GoCardless
- Gong
- Google Ad Manager
- Google Ads
- Google Analytics 4
- Google Analytics 4 Export
- Google Business Profile
- Google Calendar
- Google Campaign Manager 360
- Google Classroom
- Google Cloud Functions
- Google Cloud Storage
- Google Display & Video 360
- Google Drive
- Google Play
- Google Search Ads 360
- Google Search Console
- Google Sheets
- Google Tasks
- Gorgias
- Greenhouse
- GreenPowerMonitor
- Grepsr
- GRIN
- Guru
- HappyFox
- Harvest
- Healthie
- Heap
- Height
- Help Scout
- Helpshift
- Heroku Kafka
- HiBob
- High-Volume Agent Db2 for i
- High-Volume Agent Oracle
- High-Volume Agent SAP ECC on Db2 for i
- High-Volume Agent SAP ECC on Oracle
- High-Volume Agent SAP ECC on Oracle With NetWeaver
- High-Volume Agent SQL Server
- Hopin
- HubSpot
- iLevel
- Impact
- incident.io
- Infobip
- Insightly
- Instagram Business
- Integral Ad Science
- Integrate
- Intercom
- Invoiced
- Ironclad
- ironSource
- Iterable
- Ivanti
- Jama Software
- Jamf
- Jibble
- Jira
- Jira Align
- JobNimbus
- Jotform
- JustCall
- Kandji
- Kantata
- Katana
- Kevel
- KeyPay
- Khoros Care
- Khoros Communities
- Kisi
- Kissmetrics
- Klarna
- Klaviyo
- Konnect Insights
- Kustomer
- Lattice
- LaunchDarkly
- LearnUpon
- Lemlist
- Lessonly
- Lever
- Liftoff
- Lightspeed Retail
- LINE Ads
- Linear
- LinkedIn Ad Analytics
- LinkedIn Company Pages
- LinkSquares
- LiveChat Partner
- Lob
- Looker
- Loop
- Loopio
- Lucca
- Luma
- Mailchimp
- Mailgun
- Mailjet
- Malomo
- Mambu
- Mandrill
- MariaDB
- Marin Software
- Marketo
- Matomo
- Maxio Chargify
- Maxio SaaSOptics
- Medallia
- Medallia Agile Research
- Megaphone
- Mention
- Microsoft Advertising
- Microsoft Dynamics 365 Business Central
- Microsoft Dynamics 365 CRM
- Microsoft Dynamics 365 Finance and Operations
- Microsoft Lists
- Microsoft Entra ID
- Missive
- Mixmax
- Mixpanel
- MNTN
- Mode
- Moloco
- Monday.com
- MongoDB
- Mux
- myosh
- MySQL
- Namely
- Navan
- Nice
- Notion
- NetSuite SuiteAnalytics
- Nylas
- Okendo
- Okta
- Ometria
- ON24
- OnceHub
- OneDrive
- Open Data DC
- Open Exchange Rates
- OpenSearch
- Opsgenie
- Optimizely
- Oracle
- Oracle Business Intelligence Publisher
- Oracle Fusion CRM
- Oracle Fusion FSCM
- Oracle Fusion HCM
- Oracle Moat Analytics
- Orbit
- Ordway
- Ortto
- Outbrain
- Outreach
- Packiyo
- PagerDuty
- PandaDoc
- Papershift
- Pardot
- Partnerize
- PartnerStack Vendor
- Paychex
- PayPal
- Pendo
- Persona
- Personio
- Phoenix Ads
- Picqer
- Pigment
- Pingdom
- Pinpoint
- Pinterest Ads
- Pinterest Organic
- Pipedrive
- Pivotal Tracker
- Piwik PRO
- Placer.ai
- Planful
- PlanetScale
- Planhat
- Playvox
- Playvox Workforce Management
- Podio
- PostgreSQL
- PostHog
- Postmark
- PowerReviews Enterprise
- Prisma Cloud
- Prive
- Procore
- Productboard
- Productive
- Proofpoint Security Awareness
- Qualaroo
- Qualtrics
- QuickBooks
- Quora Ads
- Quorum
- Rakuten Advertising
- Ramp
- Rarible
- ReBound Returns
- Recharge
- Recurly
- Reddit Ads
- ReferralHero
- Reltio
- Reply.io
- Resource Management by Smartsheet
- RetailNext
- Retently
- Revel Systems
- RevenueCat
- REVIEWS.ai
- REVIEWS.io
- RevOps
- RevX
- Ricochet360
- RingCentral
- Ringover
- Rippling
- Rithum
- Rocketlane
- Rokt
- Rollbar
- Rootly
- RTB House
- Ruddr
- Rundeck
- SafeBase
- SafetyCulture
- Sage HR
- Sage Intacct
- Sailthru
- Salesforce
- Salesforce Commerce Cloud
- Salesforce Marketing Cloud
- Salesloft
- Salsify
- Samsara
- Sana
- SAP Business ByDesign
- SAP Concur
- SAP HANA
- SAP SuccessFactors
- SAP S/4
- SCORM
- Security Journey
- Segment
- SendGrid
- ServiceNow
- ServiceTitan
- Sensor Tower
- SFTP
- SharePoint
- Sharetribe
- ShipHero
- ShipNetwork
- ShipStation
- Shopify
- Shopware
- Short.io
- Shortcut
- Sigma Computing
- Simplecast
- Simplesat
- SingleStore
- SISTRIX
- Skilljar
- SkillsTX
- Skuvault
- Slab
- Slack
- Smadex
- SmartHR
- SmartRecruiters
- Smartwaiver
- Snapchat Ads
- Snyk
- Snowflake
- Snowplow
- SolarWinds Service Desk
- SonarQube
- SparkPost
- Splash
- Split
- Splunk
- Spotify Ads
- Sprout Social
- SQL Server
- Square
- Squarespace
- StackAdapt
- Standard Metrics
- StarRez
- Statistics Netherlands CBS
- Statsig
- Statuspage
- sticky.io
- Stripe
- Stylight
- Subscript
- SugarCRM
- SurveyMonkey
- Survicate
- Swoogo
- Tableau
- Taboola
- Talkdesk
- Talkwalker
- Teads
- Teamtailor
- Teamwork
- Tempo
- TestRail
- TextUs
- The Movie Database
- The Trade Desk
- Thinkific
- Ticket Tailor
- TikTok Ads
- Tive
- Toggl Track
- Totango
- Transcend
- Trelica
- Trello
- Tremendous
- Triple Whale
- Trisolute
- Twilio
- Twitter Organic
- Twitter Ads
- Tymeshift
- Typeform
- Udemy Business
- UKG Pro
- Unicommerce
- Upland Software
- UpPromote
- UserVoice
- Veeva Vault
- Vimeo
- Visit by GES
- Visma
- Vitally
- Vonage
- Vonage Contact Center
- VTS
- VWO
- Walmart DSP
- Walmart Marketplace
- Wasabi Cloud Storage
- Webconnex
- Webhooks
- Web Scraper
- When I Work
- Wherefour
- Wicked Reports
- WooCommerce
- WordPress
- Workable
- Workday Financial Management
- Workday HCM
- Workday RaaS
- Workday Strategic Sourcing
- WorkRamp
- Wrike
- Xactly
- Xandr
- Xero
- Xray
- Xsolla
- Yahoo DSP
- Yahoo Search Ads on Yahoo Japan
- Yotpo
- Younium
- YouTube Analytics
- Zendesk Chat
- Zendesk Sell
- Zendesk Sunshine
- Zendesk Support
- Zenefits
- Zingtree
- Zoho Books
- Zoho Campaigns
- Zoho CRM
- Zoho Desk
- Zoho Inventory
- Zonka Feedback
- Zoom
- Zuora
- Zuora Sandbox
15Five Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "15five",
"group_id": "target_group_id",
"config": {
"schema": "15five_schema_name",
"api_key": "your_15five_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your 15Five API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
360Learning Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "360learning",
"group_id": "target_group_id",
"config": {
"schema": "360learning_schema_name",
"api_key": "your_360learning_api_key",
"company_id": "your_comapny_id"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your 360Learning API key. |
company_id | Your 360Learning company ID. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_key
andcompany_id
. - By using the Connect Card or the Fivetran dashboard.
7shifts Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "7shifts",
"group_id": "target_group_id",
"config": {
"schema": "7shifts_schema_name",
"access_token": "your_7shifts_access_token"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
access_token | Your 7shifts access token. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
access_token
field in the request. - By using the Connect Card or the Fivetran dashboard.
Absorb LMS Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "absorb_lms",
"group_id": "target_group_id",
"config": {
"schema": "absorb_lms_schema_name",
"username": "your_absorb_lms_username",
"password": "your_absorb_lms_password",
"sub_domain": "your_absorb_lms_subdomain",
"private_key": "your_absorb_lms_rest_api_private_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
username | Your Absorb LMS username. |
password | Your Absorb LMS password. |
sub_domain | Your Absorb LMS subdomain. |
private_key | Your Absorb LMS REST API private key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
username
,password
,sub_domain
, andprivate_key
. - By using the Connect Card or the Fivetran dashboard.
Acculynx Lite Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "acculynx",
"group_id": "target_group_id",
"config": {
"schema": "acculynx_schema_name",
"api_key": "your_acculynx_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Acculynx API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
ActiveCampaign Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "activecampaign",
"group_id": "target_group_id",
"config": {
"schema": "activecampaign_schema_name",
"api_key": "your_activecampaign_api_key",
"sub_domain": "http://your.sub.domain/"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your ActiveCampaign API key. |
sub_domain | Your ActiveCampaign subdomain. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_key
andsub_domain
. - By using the Connect Card or the Fivetran dashboard.
Ada Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "ada",
"group_id": "target_group_id",
"config": {
"schema": "ada_schema_name",
"bearer_token": "your_ada_bearer_token",
"sub_domain": "your_bot_handle"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
bearer_token | Your Ada API access token. |
sub_domain | Your Ada bot handle. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
bearer_token
andsub_domain
. - By using the Connect Card or the Fivetran dashboard.
Adjust
The following example will allow you to create a new connector without authorization. If you want to authorize your connector during its creation, you should add the auth
section to the request body and define its parameters or perform other actions depending on the authorization type.
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adjust",
"group_id": "target_group_id",
"config": {
"schema": "adjust"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
Authorization
There are two ways to authorize this connector type:
By specifying the values for
csv_definition
,export_storage_type
,bucket_name
, ands3_role_arn
(optional) in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "adjust", "group_id": "target_group_id", "config": { "schema": "adjust" }, "auth": { "csv_definition" : "my export definition", "export_storage_type" : "AWS_S3 or GCS", "bucket_name": "bucket", "s3_role_arn" : "role_arn" } }
Auth parameters
Name Description Possible Values csv_definition
CSV definition for the CSV export (https://help.adjust.com/en/article/csv-uploads#how-do-i-format-my-csv-definition). export_storage_type
Your cloud storage. GCS
,AWS_S3
bucket_name
Your AWS S3 or GCS bucket. s3_role_arn
Used if the export_storage_type
isAWS_S3
, the Role ARN required for authentication.NOTE: If
export_storage_type
isGCS
is, then you will need to grant Fivetran access to your Google Cloud Storage bucket.By using the Connect Card or the Fivetran dashboard.
Adobe Analytics
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adobe_analytics",
"group_id": "target_group_id",
"config": {
"schema": "adobe_analytics",
"authentication_method": "OAUTH2",
"client_id": "clientId",
"client_secret": "clientSecret",
"technical_account_id": "technicalAccountId",
"organization_id": "organizationId",
"private_key": "privateKey",
"date_granularity": "HOUR",
"timeframe_months": "THREE",
"adobe_analytics_configurations": [
{
"table": "test_table",
"sync_mode": "SpecificReportSuites",
"report_suites": [
"test_report_suites"
],
"elements": [
"variables/daterangeweek"
],
"metrics": [
"metrics/videoplay"
],
"calculated_metrics": [
"cm300009702_5f3af08b41e485452a641b88"
],
"segments": [
"s300009702_5f3a8781f882e4754a131377"
]
}
]
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
authentication_method | Authentication method of your Adobe Project. | OAUTH2 , JWT_TOKEN |
client_id | Client ID from the OAuth Server-to-Server or Service Account (JWT) credentials of your Adobe Project. | |
client_secret | Client Secret from the OAuth Server-to-Server or Service Account (JWT) credentials of your Adobe Project. | |
technical_account_id | Technical Account ID from the Service Account (JWT) credentials of your Adobe Project. Must be populated if authentication_method is set to JWT_TOKEN . | |
organization_id | Organization ID from the Service Account (JWT) credentials of your Adobe Project. Must be populated if authentication_method is set to JWT_TOKEN . | |
private_key | The complete contents of your private key file including the start and end tags (----BEGIN PRIVATE KEY---- Your key without line breakers----END PRIVATE KEY---- ). Must be populated if authentication_method is set to JWT_TOKEN . | |
date_granularity | The aggregation duration. Default value: HOUR . | HOUR , DAY , WEEK , MONTH , QUARTER , YEAR |
timeframe_months | The number of months' worth of reporting data to include in the initial sync. This cannot be modified once the connector is created. Default value: TWELVE . | THREE , SIX , TWELVE , TWENTY_FOUR , ALL_TIME |
adobe_analytics_configurations | The list of configurations of tables you want to sync. The number of tables and their configurations is limited to 5. Required for connector creation. | |
table | The table name unique within the schema to which connector will sync the data. Required for connector creation. | |
sync_mode | Whether to sync all report suites or specific report suites. Default value: AllReportSuites . | AllReportSuites , SpecificReportSuites |
report_suites | Specific report suites to sync. Must be populated if sync_mode is set to SpecificReportSuites . Required for connector creation. | |
elements | The elements that you want to sync. Required for connector creation. | |
metrics | The metrics that you want to sync. | |
calculated_metrics | The calculated_metrics that you want to sync. | |
segments | The segments that you want to sync. |
Authorization
This type of connector can only be authorized through the Connect Card or through the Fivetran dashboard.
Adobe Analytics Data Feed
The Adobe Analytics Data Feed connector supports the following cloud file storage services as a source:
The API requests are source-specific.
Amazon S3 Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adobe_analytics_data_feed",
"group_id": "target_group_id",
"config": {
"schema": "adobe_analytics_data_feed_s3",
"source": "S3",
"s3bucket": "bucket",
"s3role_arn": "role_arn",
"folder_path": "folder/path"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
s3bucket | The S3 bucket name. |
s3role_arn | The Role ARN required for authentication. |
source | The data source. |
folder_path | The location to search for and sync data feeds. |
Amazon S3 Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
s3bucket
,s3role_arn
,source
andfolder_path
. - By using the Connect Card or the Fivetran dashboard.
Azure Blob Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adobe_analytics_data_feed",
"group_id": "target_group_id",
"config": {
"schema": "adobe_analytics_data_feed_blob",
"source": "AZURE_BLOB_STORAGE",
"folder_path": "folder/path",
"abs_connection_string": "connection_string",
"abs_container_name": "container_name",
"abs_connection_method": "SSH_TUNNEL",
"abs_container_address": "fivetran.blob.windows.net",
"abs_host_ip": "13.120.106.58",
"abs_host_user": "fivetran"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
source | The data source. | |
abs_connection_string | Azure Blob storage connection string. | |
abs_container_name | Azure Blob storage container name. | |
abs_connection_method | The connection method. Default value: DIRECT | DIRECT , SSH_TUNNEL , PRIVATE_LINK |
abs_container_address | IP address or domain of the storage container which is accessible from the host machine. Required when abs_connection_method is set to SSH_TUNNEL . | |
abs_host_ip | IP address of the host tunnel machine which is used to connect to the storage container. Required when abs_connection_method is set to SSH_TUNNEL . | |
abs_host_user | Username used to log in to the host machine. Required when abs_connection_method is set to SSH_TUNNEL . | |
folder_path | The location to search for and sync data feeds. |
Azure Blob Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
abs_connection_string
,abs_container_name
,source
andfolder_path
. - By using the Connect Card or the Fivetran dashboard.
FTP(S) Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adobe_analytics_data_feed",
"group_id": "target_group_id",
"config": {
"schema": "adobe_analytics_data_feed_ftp",
"source": "FTP",
"ftp_host": "host",
"ftp_port": 21,
"ftp_user": "user",
"ftp_password": "password",
"is_ftps": true,
"folder_path": "folder/path"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
ftp_host | FTP host. | |
ftp_port | FTP port. | |
ftp_user | FTP user. | |
ftp_password | FTP password. | |
is_ftps | Use Secure FTP (FTPS). | Specify true for FTPS, false for FTP |
source | The data source. | |
folder_path | The location to search for and sync data feeds. |
FTP(S) Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
ftp_host
,ftp_port
,ftp_user
,ftp_password
,source
andfolder_path
. - By using the Connect Card or the Fivetran dashboard.
SFTP Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adobe_analytics_data_feed",
"group_id": "target_group_id",
"config": {
"schema": "adobe_analytics_data_feed_sftp",
"source": "SFTP",
"folder_path": "folder/path",
"sftp_host": "host",
"sftp_port": 22,
"sftp_user": "user",
"sftp_password": "password",
"sftp_is_key_pair": true
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
sftp_host | SFTP host. | |
sftp_port | SFTP port. | |
sftp_user | SFTP user. | |
sftp_password | SFTP password required if sftp_is_key_pair is false | |
sftp_is_key_pair | Log in with key pair or password | true , false |
source | The data source. | |
folder_path | The location to search for and sync data feeds. |
SFTP Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
sftp_host
,sftp_port
,sftp_user
,sftp_password
,source
andfolder_path
. - By using the Connect Card or the Fivetran dashboard.
Adobe Commerce Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adobe_commerce",
"group_id": "target_group_id",
"config": {
"schema": "adobe_commerce_schema_name",
"host_url": "your.host.url.com",
"username": "your_adobe_commerce_username",
"password": "your_adobe_commerce_password"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
host_url | Your Adobe Commerce host url. |
username | Your Adobe Commerce username. |
password | Your Adobe Commerce password. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
host_url
,username
andpassword
. - By using the Connect Card or the Fivetran dashboard.
Adobe Workfront Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adobe_workfront",
"group_id": "target_group_id",
"config": {
"schema": "adobe_workfront_schema_name",
"organization_domain": "your_adobe_workfront_organization_domain",
"client_id": "your_adobe_workfront_client_id",
"client_secret": "your_adobe_workfront_client_secret"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
organization_domain | Your Adobe Workfront organization domain. |
client_id | Your Adobe Workfront client ID. |
client_secret | Your Adobe Workfront client secret. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
organization_domain
,client_id
, andclient_secret
. - By using the Connect Card or the Fivetran dashboard.
ADP Workforce Now
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adp_workforce_now",
"group_id": "target_group_id",
"config": {
"schema": "test_adp_workforce_now",
"client_id": "test_client_id",
"client_secret": "test_client_secret",
"ws_certificate": "xxxxx-xxxxx-xxxxx-xxxxx",
"private_key": "xxxxx-xxxxx-xxxxx-xxxxx"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
client_id | Your ADP Client ID. |
client_secret | Your ADP Client Secret. |
ws_certificate | The contents of your PEM formatted Web Services certificate file. |
private_key | The contents of your private key file. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
client_id
,client_secret
,ws_certificate
andprivate_key
. - By using the Connect Card or the Fivetran dashboard.
AdRoll
The following example will allow you to create a new connector without authorization. If you want to authorize your connector during its creation, you should add the auth
section to the request body and define its parameters or perform other actions depending on the authorization type.
Request
POST https://api.fivetran.com/v1/connectors
{
"service" : "adroll",
"group_id": "target_group_id",
"config": {
"schema": "adroll",
"table": "table",
"sync_mode" : "SpecificAdvertisables",
"advertisables": ["adv1","adv2"],
"report_type" : "ALL_CAMPAIGNS",
"dimensions": ["eid","campaigns"],
"metrics": ["impressions","cost"],
"timeframe_months": "THREE"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
table | The table name within the schema to which connector will sync the data. Required for connector creation. | |
sync_mode | Whether to sync all advertisables or specific advertisables. Default value: AllAdvertisables . | AllAdvertisables , SpecificAdvertisables |
advertisables | Specific advertisables to sync. Must be populated if sync_mode is set to SpecificAdvertisables . | |
report_type | The report type you want. Default value: ALL_ADS . | ALL_AUDIENCE , ALL_CAMPAIGNS , ALL_ADS , ALL_ADGROUPS , CONVERSIONS , ALL_ADVERTISABLES |
dimensions | The dimenstions that you want to sync. | |
metrics | The metrics that you want to sync. | |
timeframe_months | Number of months' worth of reporting data you'd like to include in your initial sync. This cannot be modified once the connector is created. Default value: TWELVE . | THREE , SIX , TWELVE , TWENTY_FOUR , ALL_TIME |
Authorization
There are two ways to authorize this connector type:
By specifying the values for
client_access
andrefresh_token
in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service" : "adroll", "group_id": "target_group_id", "config": { "schema": "adroll", "table": "table", "sync_mode" : "SpecificAdvertisables", "advertisables": ["adv1","adv2"], "report_type" : "ALL_CAMPAIGNS", "dimensions": ["eid","campaigns"], "metrics": ["impressions","cost"], "timeframe_months": "THREE" }, "auth": { "client_access": { "client_id": "my_client_id", "client_secret": "my_client_secret" }, "refresh_token": "my_refresh_token" } }
Auth parameters
Name Description client_id
Client ID
of your AdRoll client application.client_secret
Client Secret
of your AdRoll client application.refresh_token
The long-lived Refresh token
along with theclient_id
andclient_secret
parameters carry the information necessary to get a new access token for API resources.By using the Connect Card or through the Fivetran dashboard.
Adyen Beta
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "adyen",
"group_id": "target_group_id",
"config": {
"schema": "adyen_schema_name",
"web_service_api_key": "adyen_web_service_api_key",
"report_service_api_key": "adyen_report_service_api_key",
"is_test_account": false
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
web_service_api_key | Your Adyen web service API key. | |
report_service_api_key | Your report service API key. | |
is_test_account | Specifies if your Adyen account is a test account. Default value: false . | true , false |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
web_service_api_key
,report_service_api_key
, andis_test_account
. - By using the Connect Card or the Fivetran dashboard.
Affinity Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "affinity",
"group_id": "target_group_id",
"config": {
"schema": "affinity_schema_name",
"api_key": "your_affinity_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Affinity API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
Afterpay Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "afterpay",
"group_id": "target_group_id",
"config": {
"schema": "afterpay_schema_name",
"api_environment": "your_afterpay_api_environment",
"merchant_id": "your_afterpay_merchant_id",
"secret_key": "your_afterpay_secret_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_environment | Your Afterpay API environment. |
merchant_id | Your Afterpay merchant ID. |
secret_key | Your Afterpay secret key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_environment
,merchant_id
andsecret_key
. - By using the Connect Card or the Fivetran dashboard.
Aha! Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aha",
"group_id": "target_group_id",
"config": {
"schema": "aha_schema_name",
"base_url": "your_aha_subdomain",
"api_token": "your_aha_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
subdomain | Your Aha! subdomain. |
api_key | Your Aha! API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
subdomain
andapi_key
. - By using the Connect Card or the Fivetran dashboard.
Aircall Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aircall",
"group_id": "target_group_id",
"config": {
"schema": "aircall_schema_name",
"api_id": "your_aircall_api_id",
"api_token": "your_aircall_api_token"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_id | Your Aircall API ID. |
api_token | Your Aircall API Token. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_id
andapi_token
. - By using the Connect Card or the Fivetran dashboard.
Airtable
Request
The following example will allow you to create a new connector without authorization. If you want to authorize your connector during its creation, you should add the auth section to the request body and define its parameters or perform other actions depending on the authorization type.
POST https://api.fivetran.com/v1/connectors
{
"service": "airtable",
"group_id": "target_group_id",
"config": {
"schema_prefix": "test_airtable",
"base_id": "airtable_base_id",
"table_name": "airtable_table_name"
}
}
NOTE: For Airtable non-enterprise accounts, add the
base_id
,table_name
fields underconfig
section.
Config parameters
Name | Description |
---|---|
schema_prefix | The connector schema prefix has to be unique within the destination. Required for connector creation. |
base_id | ID of base in Airtable |
table_name | Name of table in Airtable |
Authorization
There are two ways to authorize this connector type:
By specifying values for the
client_access
andrefresh_token
parameters in theauth
section of the request.POST https://api.fivetran.com/v1/connectors
{ "service": "airtable", "group_id": "target_group_id", "config": { "schema_prefix": "test_airtable" }, "auth": { "client_access": { "client_id": "my_client_id", "client_secret": "my_client_secret" }, "refresh_token": "my_refresh_token" } }
Auth parameters
Name Description client_id
Client ID of your Airtable client application. client_secret
Client Secret of your Airtable client application. refresh_token
The long-lived refresh token along with the client ID and client secret carry the information necessary to get a new access token for API resources. By using the Connect Card or the Fivetran dashboard.
Akamai Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "akamai",
"group_id": "akamai_group_id",
"config": {
"schema": "akamai_schema_name",
"hostname": "your_akamai_hostname",
"type_name": "your_akamai_type_name",
"client_id": "your_akamai_client_id",
"client_secret": "your_akamai_client_secret"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
hostname | Your Akamai hostname. |
type_name | Your Akamai type name. |
client_id | Your Akamai client ID. |
client_secret | Your Akamai client secret. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
hostname
,type_name
,client_id
, andclient_secret
. - By using the Connect Card or the Fivetran dashboard.
Akeneo Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "akeneo",
"group_id": "target_group_id",
"config": {
"schema": "akeneo_schema_name",
"base_url": "your_akeneo_base_url",
"client_id": "your_akeneo_client_id",
"client_secret": "your_akeneo_client_secret",
"username": "your_akeneo_username",
"password": "your_akeneo_password"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
base_url | Your Akeneo base URL. |
client_id | Your Akeneo client ID. |
client_secret | Your Akeneo client secret. |
username | Your Akeneo username. |
password | Your Akeneo password. |
Authorization
There are two ways to authorize this connector type:
- By specifying the following fields in the request:
base_url
,client_id
,client_secret
,username
, andpassword
. - By using the Connect Card or the Fivetran dashboard.
Alchemer
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "alchemer",
"group_id": "target_group_id",
"config": {
"schema": "alchemer_schema_name",
"query_param_value": "your_alchemer_api_key",
"api_secret_key": "your_alchemer_api_secret_key",
"sub_domain": "Subdomain name like .com,.eu,-ca.com"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
query_param_value | Your Alchemer API key. |
api_secret_key | Your Alchemer API Secret key. |
sub_domain | Your Alchemer subdomain. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
query_param_value
,api_secret_key
andsub_domain
. - By using the Connect Card or the Fivetran dashboard.
Algolia Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "algolia",
"group_id": "target_group_id",
"config": {
"schema": "algolia_schema_name",
"region": "your_algolia_analytics_region",
"application_id": "your_algolia_application_id",
"api_key": "your_algolia_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
region | Your Algolia analytics region. |
application_id | Your Algolia application ID. |
api_key | Your Algolia API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
region
,application_id
, andapi_key
. - By using the Connect Card or the Fivetran dashboard.
Amazon Ads
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "amazon_ads",
"group_id": "target_group_id",
"config": {
"schema": "test_amazon_ads",
"region": "NORTH_AMERICA",
"sync_mode": "SpecificProfiles",
"profiles": [12345],
"attribution_window": "DAY_7"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
region | The region used by the Amazon Ads profile. | NORTH_AMERICA , EUROPE , FAR_EAST |
sync_mode | Option to select connector should sync all profiles or specific profiles. | AllProfiles , SpecificProfiles |
profiles | Specific User Profile IDs to sync. Must be populated if sync_mode is set to SpecificProfiles . | |
attribution_window | Time period used to attribute conversions based on clicks. | DAY_1 , DAY_7 , DAY_14 , DAY_30 |
Authorization
There are two ways to authorize this connector type:
By specifying the values for
client_access
andrefresh_token
in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "amazon_ads", "group_id": "target_group_id", "config": { "schema": "test_amazon_ads", "region": "NORTH_AMERICA", "sync_mode": "SpecificProfiles", "profiles": [12345], "attribution_window": "DAY_7" }, "auth": { "client_access": { "client_id": "my_client_id", "client_secret": "my_client_secret" }, "refresh_token": "my_refresh_token" } }
Auth parameters
Name Description client_id
Client ID
of your Amazon Ads client application.client_secret
Client Secret
of your Amazon Ads client application.refresh_token
The long-lived Refresh token
along with theclient_id
andclient_secret
parameters carry the information necessary to get a new access token for API resources.By using the Connect Card or through the Fivetran dashboard.
Amazon Attribution Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "amazon_attribution",
"group_id": "target_group_id",
"config": {
"schema": "amazon_attribution_schema_name",
"region_api_url": "your_amazon_attribution_region",
"region_token_url": "your_amazon_attribution_region",
"region_auth_url": "your_amazon_attribution_region"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
region_api_url | The region corresponding to your Amazon marketplace. |
region_token_url | The region corresponding to your Amazon marketplace. |
region_auth_url | The region corresponding to your Amazon marketplace. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
region_api_url
,region_token_url
, andregion_auth_url
. - By using the Connect Card or the Fivetran dashboard.
Amazon DSP Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "amazon_dsp",
"group_id": "target_group_id",
"config": {
"schema": "amazon_dsp_schema_name",
"api_url_region": "your_amazon_dsp_api_url_region",
"token_url_region": "your_amazon_dsp_token_url_region",
"auth_url_region": "your_amazon_dsp_auth_url_region",
"profiles": "your_amazon_dsp_profiles_with_comma_separated"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the group (destination). Required for connector creation. | |
api_url_region | Your Amazon DSP API URL Region. | |
token_url_region | Your Amazon DSP Token URL Region. | |
auth_url_region | Your Amazon DSP Auth URL Region. | |
profiles | Your Amazon DSP profiles With Comma Separated. |
Authorization
There are two ways to authorize this connector type:
By specifying the values for the
client_access
parameter in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "amazon_dsp", "group_id": "target_group_id", "config": { "schema": "amazon_dsp_schema_name", "api_url_region": "your_amazon_dsp_api_url_region", "token_url_region": "your_amazon_dsp_token_url_region", "auth_url_region": "your_amazon_dsp_auth_url_region", "profiles": "your_amazon_dsp_profiles_with_comma_separated" }, "auth": { "client_access": { "client_id": "amazon_dsp_client_id", "client_secret": "amazon_dsp_client_secret" }, "refresh_token": "your_refresh_token", "access_token": "your_access_token" } }
Auth parameters
Name | Description |
---|---|
client_access.client_id | Your Amazon DSP Client ID. |
client_access.client_secret | Your Amazon DSP Client Secret. |
refresh_token | Your Amazon DSP Refresh Token. |
access_token | Your Amazon DSP Access Token. |
- By using the Connect Card or the Fivetran dashboard.
Amazon DynamoDB
Before creating a Amazon DynamoDB connection, you must first follow the Amazon DynamoDB setup guide.
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "dynamodb",
"group_id": "target_group_id",
"config": {
"schema": "test_dynamodb",
"external_id": "external_id",
"role_arn": "arn::your_role_arn",
"aws_region_code": "aws_region_code",
"sync_mode": "UseUnpackedModeOnly",
"packed_mode_tables": []
}
}
Config parameters
Name | Description | Notes |
---|---|---|
schema | The connector schema name has to be unique within the group (destination). Required for connector creation. | |
external_id | This is the same as your group_id , used for authentication along with the role_arn . | |
role_arn | The Role ARN required for authentication. | |
aws_region_code | The AWS region code for the Amazon DynamoDB instance, e.g. us-east-1 . | |
sync_mode | Whether to sync all tables in unpacked mode or specific tables in packed mode. Default value: UseUnpackedModeOnly . | UseUnpackedModeOnly , SelectTablesForPackedMode . |
packed_mode_tables | Specific tables to sync. Must be populated if sync_mode is set to SelectTablesForPackedMode . | Use the following format: <db>.<table> (case-sensitive). |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
external_id
,role_arn
andaws_region_code
. - By using the Connect Card or the Fivetran dashboard.
Amazon Kinesis Firehose
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "kinesis",
"group_id": "target_group_id",
"config": {
"schema": "test_kinesis",
"table": "kinesis_table",
"role_arn": "arn::your_role_arn",
"bucket": "aws_region_code",
"prefix": "folder_path",
"json_delivery_mode": "Packed"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
table | The table name within the schema to which connector will sync the data. Required for connector creation. | |
role_arn | The Role ARN required for authentication. | |
bucket | The name of the Kinesis bucket. | |
prefix | Folder path to the Kinesis files within the bucket. | |
json_delivery_mode | Specifies how Fivetran should handle your JSON data. Default value: Packed . | Packed , Unpacked |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
role_arn
andbucket
. - By using the Connect Card or the Fivetran dashboard.
Amazon S3
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "s3",
"group_id": "target_group_id",
"config": {
"schema": "test_s3",
"table": "table_name",
"bucket": "bucket_name",
"auth_type": "IAM_ROLE",
"external_id": "group_id",
"role_arn": "arn::your_role_arn",
"access_key_id":"access_key_id_value",
"access_key_secret":"access_key_secret_value",
"prefix": "folder_path",
"pattern": "file_pattern",
"file_type": "infer",
"json_delivery_mode": "Packed",
"compression": "infer",
"on_error": "skip",
"append_file_option": "upsert_file",
"archive_pattern": "regex_pattern",
"non_standard_escape_char": "false",
"escape_char_options": "CUSTOM_ESCAPE_CHAR",
"escape_char": "",
"delimiter": "",
"null_sequence": "",
"skip_before": "0",
"skip_after": "0",
"empty_header": "false",
"list_strategy": "complete_listing",
"use_pgp_encryption_options": "true",
"pgp_secret_key": "<secret-key-used>",
"pgp_pass_phrase": "<pass-phrase-used>",
"signer_public_key": "<signer-public-key-used>",
"line_separator": ";"
}
}
Config parameters
| Name | Description | Possible Values | | - | - | | | schema
| The connector schema name has to be unique within the destination. Required for connector creation. | | | table
| The table name within the schema to which connector will sync the data. Required for connector creation. | | | bucket
| The S3 bucket name. Required for connector creation. | | | auth_type
| The S3 Access approach. Required for connector creation. Default value: IAM_ROLE
. | IAM_ROLE
, ACCESS_KEY
, PUBLIC_BUCKET
| | external_id
| Used for authentication along with the role_arn
. If not provided, it uses connector's group_id
. Make sure to choose any of the group_id
from your Fivetran account as the external_id
parameter value. To find the group_id
, use the List All Groups endpoint. Required when auth_type
is IAM_ROLE
. | | | role_arn
| The Role ARN. Required for authentication when auth_type
is IAM_ROLE
. | | | access_key_id
| The access key ID. Required for authentication when auth_type
is ACCESS_KEY
. | | | access_key_secret
| The access key secret. Required for authentication when auth_type
is ACCESS_KEY
. | | | prefix
| All files and folders under this folder path will be searched for files to sync. | | | pattern
| All files in your search path matching this regular expression will be synced. | | | file_type
| If your files are saved with improper extensions, you can force them to be synced as the selected file type. | csv
, json
, tsv
, avro
, jsonl
, log
, parquet
, xml
, infer
| | json_delivery_mode
| Specifies how Fivetran should handle your JSON data. Default value: Packed
. | Packed
, Unpacked
| | compression
| The compression format is used to let Fivetran know that even files without a compression extension should be decompressed using the selected compression format. | bz2
, gz
, gzip
, tar
, tar_bz2
, tar_gz
, uncompressed
, zip
| | on_error
| If you know that your files contain some errors, you can choose to have poorly formatted lines skipped. We recommend leaving the value as fail
unless you are certain that you have undesirable, malformed data. |fail
, skip
| | append_file_option
| If you know that the source completely overwrites the same file with new data, you can append the changes instead of upserting based on filename and line number. | append_file
, upsert_file
| | archive_pattern
| Files inside compressed archives with filenames matching this regular expression will be synced. | | | non_standard_escape_char
| Use this if your CSV generator uses non-standard ways of escaping characters. Default value: false
. | false
, true
| | escape_char_options
| Approach used by CSV parser. Default value: CUSTOM_ESCAPE_CHAR
. Required for CSV parsing when non_standard_escape_char
is true
. Select the CUSTOM_ESCAPE_CHAR
option if your file uses custom escape characters to escape quotation marks. Select the DELIMITED_ONLY
option if your file doesn't use escape characters to escape quotation marks, and you want your file to be processed with delimiter only. | CUSTOM_ESCAPE_CHAR
, DELIMITED_ONLY
| | escape_char
| If your CSV generator follows non-standard rules for escaping quotation marks, you can set the escape character here. Required for CSV parsing if escape_char_options
is CUSTOM_ESCAPE_CHAR
| | | delimiter
| You can specify the delimiter that your CSVs use here. Fivetran generally tries to infer the delimiter, but in some cases this is impossible. | | | null_sequence
| If your CSVs use a special value indicating null, you can specify it here. | | | skip_before
| We will skip over the number of lines specified before syncing data. | | | skip_after
| We will skip over the number of lines specified at the end to avoid introducing aberrant data into your destination. | | | empty_header
| If your CSVs are headerless, set this is as true
. When true
, we will generate generic column names following the convention of column_0
, column_1
, ... column_n
to map the rows. Default value: false
. | false
, true
| | list_strategy
| The listing strategy you want to use. Default value: complete_listing
. | complete_listing
, time_based_pattern_listing
| | use_pgp_encryption_options
| Set to true
if files are encrypted using PGP in the S3 bucket. Default value: false
. | false
, true
| | pgp_secret_key
| The contents of your PGP secret key file. Must be populated if use_pgp_encryption_options
is set to true
.| | pgp_pass_phrase
| The PGP passphrase used to create the key. Must be populated if use_pgp_encryption_options
is set to true
.| | signer_public_key
| The contents of the signer's public key file. Must be populated if use_pgp_encryption_options
is set to true
and PGP encrypted files are signed.| | line_separator
| You can specify the custom line separator for your CSV files. The line separator is used in files to separate one row from the next.| |
Upsert with custom primary key
1. Create a connector with custom primary key
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "s3",
"group_id": "target_group_id",
"paused": "true",
"config": {
"schema": "test_s3",
"table": "table_name",
"bucket": "bucket_name",
"auth_type": "IAM_ROLE",
"external_id": "group_id",
"role_arn": "arn::your_role_arn",
"access_key_id":"access_key_id_value",
"access_key_secret":"access_key_secret_value",
"prefix": "folder_path",
"pattern": "file_pattern",
"file_type": "infer",
"json_delivery_mode": "Packed",
"compression": "infer",
"on_error": "skip",
"append_file_option": "upsert_file_with_primary_keys",
"archive_pattern": "regex_pattern",
"non_standard_escape_char": "false",
"escape_char_options": "CUSTOM_ESCAPE_CHAR",
"escape_char": "",
"delimiter": "",
"null_sequence": "",
"skip_before": "0",
"skip_after": "0",
"empty_header": "false",
"list_strategy": "complete_listing",
"use_pgp_encryption_options": "true",
"pgp_secret_key": "<secret-key-used>",
"pgp_pass_phrase": "<pass-phrase-used>",
"signer_public_key": "<signer-public-key-used>",
"line_separator": ";"
}
}
Name | Description | Possible Values |
---|---|---|
paused | To build a connector with custom primary key enabled, the value must be set to true . | true |
append_file_option | If you select upsert_file_with_primary_keys , you can keep the most recent version of every record and your files will have a combination of the old and new data or data that is updated periodically. You can choose the primary keys you want to use after you save and test. | upsert_file_with_primary_keys |
2. Reload the schema using API call
Request
POST http://api.fivetran.com/v1/connectors/{connector_id}/schemas/reload
Response
{
"code": "Success",
"data": {
"enable_new_by_default": true,
"schemas": {
"schema_1": {
"name_in_destination": "schema_1",
"enabled": true,
"tables": {
"table_1": {
"name_in_destination": "table_1",
"enabled": true,
"columns": {
"column_1": {
"name_in_destination": "column_1",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"column_2": {
"name_in_destination": "column_2",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"column_3": {
"name_in_destination": "column_3",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"column_4": {
"name_in_destination": "column_4",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"_file": {
"name_in_destination": "_file",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"_line": {
"name_in_destination": "_line",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"_modified": {
"name_in_destination": "_modified",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
}
},
"enabled_patch_settings": {
"allowed": true
},
"supports_columns_config": true
}
}
}
},
"schema_change_handling": "ALLOW_ALL"
}
}
3. Modify the connector schema config
To assign a column as the primary key, copy the schema details from the response and set the is_primary_key
value as true
.
Request
PATCH http://api.fivetran.com/v1/connectors/{connector_id}/schemas
{
"schema_change_handling": "ALLOW_ALL",
"schemas": {
"schema_1": {
"enabled": true,
"tables": {
"table_1": {
"enabled": true,
"columns": {
"column_1": {
"is_primary_key": true
},
"column_3":{
"is_primary_key": true
}
}
}
}
}
}
}
Response
{
"code": "Success",
"data": {
"enable_new_by_default": true,
"schemas": {
"schema_1": {
"name_in_destination": "schema_1",
"enabled": true,
"tables": {
"table_1": {
"name_in_destination": "table_1",
"enabled": true,
"columns": {
"column_1": {
"name_in_destination": "column_1",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": false,
"reason_code": "SYSTEM_COLUMN",
"reason": "Column is selected as a Primary Key"
},
"is_primary_key": true
},
"column_2": {
"name_in_destination": "column_2",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"column_3": {
"name_in_destination": "column_3",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": false,
"reason_code": "SYSTEM_COLUMN",
"reason": "Column is selected as a Primary Key"
},
"is_primary_key": true
},
"column_4": {
"name_in_destination": "column_4",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"_file": {
"name_in_destination": "_file",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"_line": {
"name_in_destination": "_line",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
},
"_modified": {
"name_in_destination": "_modified",
"enabled": true,
"hashed": false,
"enabled_patch_settings": {
"allowed": true
}
}
},
"enabled_patch_settings": {
"allowed": true
},
"supports_columns_config": true
}
}
}
},
"schema_change_handling": "ALLOW_ALL"
}
}
NOTE: You can confirm your primary key selection on the Schema tab of your connector details page.
Authorization
There are two ways to authorize this connector type:
By specifying the value for the
bucket
field along with the following fields depending on theauth_type
:- If
IAM_ROLE
, specify values for theexternal_id
androle_arn
fields. - If
ACCESS_KEY
, specify values for theaccess_key_id
andaccess_key_secret
fields.
- If
By using the Connect Card or the Fivetran dashboard.
Amazon Selling Partner
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "amazon_selling_partner",
"group_id": "target_group_id",
"config": {
"schema": "test_amazon_selling_partner",
"region": "NORTH_AMERICA",
"merchant_id" : "test_merchant_id",
"is_vendor" :false
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
region | The region used by the Amazon Selling Partner profile. | NORTH_AMERICA , EUROPE , FAR_EAST |
merchant_id | The Merchant ID or Vendor Code. | |
is_vendor | Whether or not you have a Vendor Account. Default value: false . | true , false |
Authorization
There are two ways to authorize this connector type:
By specifying the following parameters in the
auth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "amazon_selling_partner", "group_id": "target_group_id", "config": { "schema": "test_amazon_selling_partner", "region": "NORTH_AMERICA", "merchant_id" : "test_merchant_id", "is_vendor" : false }, "auth": { "aws_access_key" : "my_aws_access_key", "aws_secret_key" : "my_aws_secret_key", "role_arn" : "my_iam_role_arn", "client_id": "my_client_id", "client_secret": "my_client_secret", "refresh_token": "my_refresh_token" } }
Auth parameters
Name Description aws_access_key
AWS Access Key
of your AWS Account User.aws_secret_key
AWS Secret Key
of your AWS Account User.role_arn
IAM Role ARN
of your AWS Account.client_id
Client ID
of your Amazon Seller/Vendor Central client application.client_secret
Client Secret
of your Amazon Seller/Vendor Central client application.refresh_token
The long-lived Refresh token
along with theclient_id
andclient_secret
parameters carry the information necessary to get a new access token for API resources.By using the Connect Card or the Fivetran dashboard.
Amplitude
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "amplitude",
"group_id": "target_group_id",
"config": {
"schema": "test_amplitude",
"project_credentials": [
{
"project": "projectName1",
"api_key": "apiKey1",
"secret_key": "secretKey1"
},
{
"project": "projectName2",
"api_key": "apiKey2",
"secret_key": "secretKey2"
}
]
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
project | The project name you wish to use with Fivetran. |
api_key | The API key of the project. |
secret_key | The secret key of the project. |
Authorization
There are two ways to authorize this connector type:
- When creating by specifying a value for the following field in the request:
projects
; - After creation using the Connect Card or the Fivetran dashboard.
Anaplan
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "anaplan",
"group_id": "target_group_id",
"config": {
"schema": "test_anaplan",
"auth_mode": "basic",
"username": "username",
"password": "password",
"certificate": "xxxxx-xxxxx-xxxxx-xxxxx",
"private_key": "your_api_secret",
"sync_mode": "SpecificExports",
"selected_exports": [ "8a81b00f68d4b4c50168dc49db4520d4_4CCDDEC7E28C4D3CA4212986182B8EB1_116000000000" ]
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
auth_mode | The Anaplan authentication method. | Basic , Certificate |
username | Your Anaplan user ID. Must be populated if auth_mode is set to Basic . | |
password | Your Anaplan password. Must be populated if auth_mode is set to Basic . | |
certificate | The contents of your PEM certificate file. Must be populated if auth_mode is set to Certificate . | |
private_key | The contents of your private key file. Must be populated if auth_mode is set to Certificate . | |
sync_mode | Whether to sync all exports or specific exports. | AllExports , SpecificExports |
selected_exports | The list of export IDs in the format <workspace_id>_<model_id>_<export_id> that the connector will sync. Must be populated if sync_mode is set to SpecificExports . |
Authorization
There are two ways to authorize this connector type:
When creating, depending on the
auth-mode
:- If
Basic
, by specifying the values for theusername
andpassword
fields. - If
Certificate
, by specifying the values for thecertificate
andprivate_key
fields.
- If
After creation using the Connect Card or the Fivetran dashboard.
Anvyl Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "anvyl",
"group_id": "target_group_id",
"config": {
"schema": "anvyl_schema_name",
"api_key": "your_anvyl_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Anvyl API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
Apache Kafka
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "apache_kafka",
"group_id": "target_group_id",
"config": {
"schema": "test_apache_kafka",
"consumer_group": "consumer_group",
"servers": "serveraddress1:8080, serveraddress2:8080",
"message_type": "Json",
"sync_type": "Packed",
"security_protocol": "SSL"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
consumer_group | Kafka consumer group name. | |
servers | Comma-separated list of Kafka servers in the format server:port . | |
message_type | Kafka message type. | Json , Text |
sync_type | Kafka sync type. Unpacked messages must be valid JSON. | Unpacked , Packed |
security_protocol | Security protocol for Kafka interaction. | PLAINTEXT , SSL |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
consumer_group
andservers
. - By using the Connect Card or the Fivetran dashboard.
Appcues Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "appcues",
"group_id": "target_group_id",
"config": {
"schema": "appcues_schema_name",
"api_key": "your_appcues_api_key",
"secret": "your_appcues_secret",
"account_id": "your_appcues_account_id",
"email": "your_appcues_email"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Appcues API key. |
secret | Your Appcues Secret. |
account_id | Your Appcues Account ID. |
email | Your Appcues Email. |
Authorization
There are two ways to authorize this connector type:
- By specifying the following fields in the request:
api_key
,secret
,account_id
andemail
. - By using the Connect Card or the Fivetran dashboard.
Appfigures Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "appfigures",
"group_id": "target_group_id",
"config": {
"schema": "appfigures_schema_name",
"client_key": "your_appfigures_client_key",
"username": "your_appfigures_username",
"password": "your_appfigures_password"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
client_key | Your Appfigures client key. |
username | Your Appfigures username. |
password | Your Appfigures password. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
client_key
,username
, andpassword
. - By using the Connect Card or the Fivetran dashboard.
Apple App Store
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "itunes_connect",
"group_id": "target_group_id",
"config": {
"schema": "itunes_connect",
"username": "user",
"password": "password",
"app_specific_password": "your_app_specific_password",
"apps": ["iTunes_app"],
"sales_accounts": ["iTunes_sales_account"],
"finance_accounts": ["iTunes_finance_account"],
"app_sync_mode" : "SpecificApps",
"sales_account_sync_mode": "SpecificSalesAccounts",
"finance_account_sync_mode": "SpecificFinanceAccounts",
"timeframe_months": "THREE"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
username | Your Apple ID | |
password | Your password | |
app_specific_password | Your app-specific password | |
apps | Specific apps to sync. Must be populated if app_sync_mode is set to SpecificApps . | |
sales_accounts | Specific sales account to sync. Must be populated if sales_account_sync_mode is set to SpecificSalesAccounts . | |
finance_accounts | Specific finance accounts to sync. Must be populated if finance_account_sync_mode is set to SpecificFinanceAccounts . | |
app_sync_mode | Whether to sync all apps or specific apps. | AllApps , SpecificApps |
sales_account_sync_mode | Whether to sync all sales accounts or specific sales accounts. | AllSalesAccounts , SpecificSalesAccounts |
finance_account_sync_mode | Whether to sync all finance accounts or specific finance accounts. | AllFinanceAccounts , SpecificFinanceAccounts |
timeframe_months | Historical sync time frame in months. | THREE , SIX , TWELVE , TWENTY_FOUR , ALL_TIME |
Apple Search Ads
The following example allows you to create a new connector without authorization. If you want to authorize your connector during its creation, use one of the possible authorization methods in the Authorization section.
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "apple_search_ads",
"group_id": "target_group_id",
"config": {
"schema" : "apple_search_ads"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
is_auth2_enabled | The contents of your PEM certificate file. Default value: false | true , false |
pem_certificate | The contents of your PEM certificate file. Must be populated if is_auth2_enabled is set to false . | |
private_key | The contents of your secret key file. Must be populated if is_auth2_enabled is set to false . | |
client_id | Apple Search Ads REST API Client ID. Must be populated if is_auth2_enabled is set to true . | |
team_id | Apple Search Ads REST API Team ID. Must be populated if is_auth2_enabled is set to true . | |
key_id | Apple Search Ads REST API Key ID. Must be populated if is_auth2_enabled is set to true . | |
pem_private_key | The contents of your PEM secret key file. Must be populated if is_auth2_enabled is set to true . | |
timeframe_months | Number of months' worth of reporting data you'd like to include in your initial sync. This cannot be modified once the connector is created. Default value: TWELVE . | THREE , SIX , TWELVE , TWENTY_FOUR , ALL_TIME |
Authorization
There are three ways to authorize this connector type:
By specifying the values for the
pem_certificate
andprivate_key
fields in the request.POST https://api.fivetran.com/v1/connectors
{ "service": "apple_search_ads", "group_id": "target_group_id", "config": { "schema": "apple_search_ads", "pem_certificate": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "private_key": "your_api_secret" } }
By specifying
is_auth2_enabled
astrue
and specifying values for the following fieldsclient_id
,team_id
,key_id
andpem_private_key
.POST https://api.fivetran.com/v1/connectors
{ "service": "apple_search_ads", "group_id": "target_group_id", "config": { "schema": "apple_search_ads", "is_auth2_enabled": true, "pem_private_key": "your_api_secret", "client_id": "your_api_client_id", "team_id": "your_api_team_id", "key_id": "your_api_key_id", "timeframe_months": "TWELVE" } }
By using the Connect Card or the Fivetran dashboard.
AppsFlyer
Request
POST https://api.fivetran.com/v1/connectors
Request when using webhooks and Data Locker
{
"service": "appsflyer",
"group_id": "target_group_id",
"config": {
"schema": "test_appsflyer",
"access_key_id": "your_access_key_id",
"secret_key": "your_secret_key",
"home_folder": "your_home_folder",
"connection_name": "your_connection_name",
"sync_data_locker": true,
"use_customer_bucket": true,
"bucket": "af-datalocker-your-bucket-name",
"role_arn": "role_arn_value",
"rollback_window": "rollback_window_size"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
access_key_id | Your AWS access key ID. | |
secret_key | Your AWS secret key. | |
home_folder | Your S3 home folder path of the Data Locker. | |
connection_name | Your Data Locker Connection Name. Default value: data-locker-hourly/ . | |
sync_data_locker | Select true to sync AppsFlyer data using webhooks and Data Locker. | |
use_customer_bucket | Use Custom S3 Bucket. Should be set to true if the data is being synced to your S3 bucket instead of an AppsFlyer-managed bucket. | |
bucket | Customer S3 Bucket. | |
role_arn | S3 Role ARN. | |
rollback_window | The time frame of the rollback sync to capture data. Default value: 2 | From 1 to 90 days. |
Request when using webhooks and Pull API
{
"service": "appsflyer",
"group_id": "target_group_id",
"config": {
"schema": "test_appsflyer",
"sync_data_locker": false,
"sync_pull_api": true,
"api_token": "your_appsflyer_api_token",
"app_ids": [
{"app_id": "appID1"},
{"app_id": "appID2"}
]
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
sync_data_locker | Select false to sync AppsFlyer data using webhooks and Pull API. |
sync_pull_api | Select true to sync AppsFlyer data using webhooks and Pull API. |
api_token | Your AppsFlyer API token. |
app_ids | List of App IDs. |
app_id | Your App ID. |
Request when using only webhooks
{
"service": "appsflyer",
"group_id": "target_group_id",
"config": {
"schema": "test_appsflyer",
"sync_data_locker": false
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
sync_data_locker | Select false to sync AppsFlyer data using only webhooks. |
Authorization
There are three ways to authorize this connector type:
- By specifying the values for the following fields in the request:
access_key_id
,secret_key
,home_folder
andconnection_name
, if you are connecting using webhooks and Data Locker. - By specifying the field
sync_data_locker
asfalse
, if you are connecting using only webhooks. - By using the Connect Card or the Fivetran dashboard.
Asana
The following example will allow you to create a new connector without authorization. If you want to authorize your connector during its creation, you should add the auth
section to the request body and define its parameters or perform other actions depending on the authorization type.
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "asana",
"group_id": "target_group_id",
"config": {
"schema": "test_asana",
"sync_mode": "SpecificProjects",
"projects": ["12345678", "23456789"]
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
sync_mode | Whether to sync all projects or specific projects. | AllProjects , SpecificProjects |
projects | Specific Project IDs to sync. Must be populated if syncMode is set to SpecificProjects . |
Authorization
There are two ways to authorize this connector type:
By specifying the values for
client_access
andrefresh_token
in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "asana", "group_id": "target_group_id", "config": { "schema": "test_asana", "sync_mode": "SpecificProjects", "projects": ["12345678", "23456789"] }, "auth": { "client_access": { "client_id": "my_client_id", "client_secret": "my_client_secret" }, "refresh_token": "my_refresh_token" } }
Auth parameters
Name Description client_id
Client ID
of your Asana client application.client_secret
Client Secret
of your Asana client application.refresh_token
The long-lived Refresh token
along with theclient_id
andclient_secret
parameters carry the information necessary to get a new access token for API resources.By using the Connect Card or through the Fivetran dashboard.
Assembled
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "assembled",
"group_id": "target_group_id",
"config": {
"schema": "assembled_schema_name",
"api_key": "your_assembled_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Assembled API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_key
. - By using the Connect Card or the Fivetran dashboard.
Attentive
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "attentive",
"group_id": "target_group_id",
"config": {
"schema": "attentive_schema_name",
"api_key": "your_attentive_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Attentive API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
Attio Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "attio",
"group_id": "target_group_id",
"config": {
"schema": "attio_schema_name"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
Authorization
There are two ways to authorize this connector type:
By specifying the values for the
client_access
field in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "attio", "group_id": "target_group_id", "config": { "schema": "attio_schema_name" }, "auth": { "client_access": { "client_id": "your_attio_client_id", "client_secret": "your_attio_client_secret" } } }
Auth parameters
Name | Description |
---|---|
client_id | Your Attio client ID. |
client_secret | Your Attio client secret. |
- By using the Connect Card or the Fivetran dashboard.
Aumni Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aumni",
"group_id": "target_group_id",
"config": {
"schema": "aumni_schema_name",
"api_key": "your_aumni_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Aumni API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
Auth0 Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "auth0",
"group_id": "target_group_id",
"config": {
"schema": "auth0_schema_name",
"client_id": "your_auth0_client_id",
"client_secret": "your_auth0_client_secret",
"domain": "your_auth0_domain",
"audience": "your_auth0_audience"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
client_id | Your Auth0 client ID. |
client_secret | Your Auth0 client Secret. |
domain | Your Auth0 domain. |
audience | Your Auth0 API audience. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
client_id
,client_secret
,domain
andaudience
. - By using the Connect Card or the Fivetran dashboard.
Autodesk BIM 360 Lite Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "autodesk_bim_360",
"group_id": "target_group_id",
"config": {
"schema": "autodesk_bim_360_schema_name",
"client_id": "your_autodesk_bim_360_client_id",
"client_secret": "your_autodesk_bim_360_client_secret"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
client_id | Your Autodesk BIM 360 client ID. |
client_secret | Your Autodesk BIM 360 client secret. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
client_id
,client_secret
. - By using the Connect Card or the Fivetran dashboard.
AvantLink Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "avantlink",
"group_id": "target_group_id",
"config": {
"schema": "avantlink_schema_name",
"api_key": "your_avantlink_api_key",
"merchant_id": "your_avantlink_merchant_id"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your AvantLink API key |
merchant_id | Your AvantLink merchant ID. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_key
andmerchant_id
. - By using the Connect Card or the Fivetran dashboard.
Awin Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "awin",
"group_id": "target_group_id",
"config": {
"schema": "awin_schema_name",
"api_token": "your_awin_api_token",
"region": "your_awin_region"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_token | Your Awin API token. |
region | Your Awin region. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_token
andregion
. - By using the Connect Card or the Fivetran dashboard.
AWS CloudTrail
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aws_cloudtrail",
"group_id": "1k56c2c4xlti6",
"config": {
"schema": "aws_cloudtrail_1",
"external_id": "1k56c2c4xlti6",
"bucket" : "fivetran-cloudtrail",
"role_arn": "arn:aws:iam::***********",
"prefix" : "test_prefix"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
external_id | This is the same as your group_id , used for authentication along with the role_arn . |
role_arn | The Role ARN required for authentication. |
bucket | The AWS bucket name which is configured for AWS CloudTrail. |
prefix | If prefix is present when configuring the bucket. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
external_id
,role_arn
andbucket
. - By using the Connect Card or the Fivetran dashboard.
AWS Cost And Usage Report Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aws_cost_report",
"group_id": "target_group_id",
"config": {
"schema": "test_aws_cost_report",
"table": "aws_cost_report_table",
"role_arn": "arn::your_role_arn",
"bucket": "aws_region_code",
"prefix": "folder_path"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
table | The table name within the schema to which connector will sync the data. Required for connector creation. |
role_arn | The Role ARN required for authentication. |
bucket | The name of the AWS S3 bucket. |
prefix | The path prefix specified during report creation. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
role_arn
andbucket
. - By using the Connect Card or the Fivetran dashboard.
AWS Inventory
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aws_inventory",
"group_id": "target_group_id",
"config": {
"schema": "test_aws_inventory",
"bucket" : "fivetran-config",
"role_arn": "arn:aws:iam::***********",
"prefix" : "test_prefix"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
role_arn | The Role ARN required for authentication. |
bucket | The AWS bucket name that is configured for AWS Config. |
prefix | The prefix if you used one when configuring the bucket. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
role_arn
andbucket
. - By using the Connect Card or the Fivetran dashboard.
AWS Lambda
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aws_lambda",
"group_id": "target_group_id",
"config": {
"schema": "test_lambda",
"function": "function_name",
"sync_method": "DIRECT",
"role_arn": "arn::your_role_arn",
"bucket": "bucket",
"external_id": "group_id",
"region": "aws_region_code",
"is_privatelink_required" : "false",
"secrets_list": [
{"key": "secret1", "value": "xxxxxxx"},
{"key": "secret2", "value": "xxxxxxx"}
],
"custom_payloads": [
{"key": "payload1", "value": "payload_value2"},
{"key": "payload2", "value": "payload_value2"}
]
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
function | The name of your AWS Lambda Function. | |
sync_method | The sync method. Default value: DIRECT . | DIRECT , CLOUD_STORAGE |
role_arn | The Role ARN required for authentication. | |
s3bucket | The S3 bucket name. | |
external_id | This is the same as your group_id , used for authentication along with the role_arn . | |
region | The AWS region code. For example, us-east-1 . | |
is_privatelink_required | Connect using AWS PrivateLink. | true , false |
secrets_list | The list of secrets that should be passed to the function at runtime. | |
custom_payloads | (Optional) The list of key-value pairs that can be used to specify custom information to the function at runtime. |
Authorization
There are two ways to authorize this connector type:
By specifying the values for the following fields in the request:
function
,role_arn
andsecrets_list
.By using the Connect Card or the Fivetran dashboard.
AWS MSK
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "aws_msk",
"group_id": "target_group_id",
"config": {
"schema": "test_msk",
"consumer_group": "consumer_group",
"servers": ["serveraddress1:8080", "serveraddress2:8080"],
"message_type": "Json",
"sync_type": "Packed",
"security_protocol": "SASL",
"sasl_mechanism" : "SCRAM_SHA_512",
"sasl_scram512_key": "sasl_key",
"sasl_scram512_secret": "sasl_secret",
"external_id": "group_id",
"role_arn": "arn::your_role_arn",
"truststore": "test_truststore",
"keystore": "test_keystore",
"keystore_password": "keystore_password",
"key_password": "key_password",
"connection_method": "direct"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
consumer_group | The name of consumer group created for Fivetran. | |
servers | Comma-separated list of Kafka servers in the server:port format. | |
message_type | The Message type. | Json , Avro , Text , Protobuf |
sync_type | The sync type. Unpacked messages must be valid JSON. | Packed , Unpacked |
security_protocol | The security protocol for Kafka interaction. | PLAINTEXT , TLS , SASL |
sasl_mechanism | If security_protocol is set to SASL , enter the SASL Mechanism. | SCRAM_SHA_512 , IAM |
sasl_scram512_key | If sasl_mechanism is set to SCRAM_SHA_512 , enter your secret's saslScram512Key . | |
sasl_scram512_secret | If sasl_mechanism is set to SCRAM_SHA_512 , enter your secret's saslScram512Key . | |
external_id | Used for authentication along with the role_arn . If not provided, it uses connector's group_id . Make sure to choose any of the group_id from your Fivetran account as the external_id parameter value. To find the group_id , use the List All Groups endpoint. This is required when sasl_mechanism is set to IAM . | |
role_arn | If sasl_mechanism is set to IAM , enter your Role ARN | |
truststore | If security_protocol is set to TLS , add the Truststore File as a Base64-encoded string. | |
keystore | If security_protocol is set to TLS , add the Keystore File as a Base64-encoded string. | |
keystore_password | If security_protocol is set to TLS , enter your Keystore Password . | |
key_password | If security_protocol is set to TLS , enter your Key Password . | |
connection_method | The connection method. Default value: direct . | direct , privatelink |
Authorization
There are two ways to authorize this connector type:
By passing the security protocol secrets:
- If you select
TLS
as Security Protocol, upload theTrusted Certificate
,Client Certificate
, andClient Certificate Key
files. - If you select
SASL
as Security Protocol andSCRAM_SHA_512
as SASL Mechanism, enter your secret'ssaslScram512Key
andsaslScram512Secret
. - If you select
SASL
as Security Protocol andIAM
as SASL Mechanism, enter yourExternal ID
andRole ARN
.
- If you select
By using the Connect Card or the Fivetran dashboard.
Azure Blob Storage
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "azure_blob_storage",
"group_id": "target_group_id",
"config": {
"schema": "test_azure_blob_storage",
"table": "table_name",
"container_name": "container_name",
"connection_string": "BlobEndpoint=https://abc123.blob.core.windows.net/;TableEndpoint=https://abc123.table.core.windows.net/;SharedAccessSignature=xxxxxxxxx",
"prefix": "folder_path",
"pattern": "file_pattern",
"file_type": "infer",
"json_delivery_mode": "Packed",
"compression": "infer",
"on_error": "skip",
"append_file_option": "upsert_file",
"archive_pattern": "regex_pattern",
"null_sequence": "",
"delimiter": "",
"escape_char": "",
"skip_before": "0",
"skip_after": "0",
"connection_method": "SSH_TUNNEL",
"container_address": "192.168.0.1",
"host_ip": "192.168.0.2",
"host_user": "host_username",
"use_pgp_encryption_options": "false",
"pgp_secret_key": "<secret-key-used>",
"pgp_pass_phrase": "<pass-phrase-used>",
"signer_public_key": "<signer-public-key-used>",
"line_separator": ";"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
table | The table name within the schema to which connector will sync the data. Required for connector creation. | |
container_name | The name of the blob container. | |
connection_string | The blob storage container connection string. | |
prefix | All files and folders under this folder path will be searched for files to sync. | |
pattern | All files in your search path matching this regular expression will be synced. | |
file_type | If your files are saved with improper extensions, you can force them to by synced as the selected file type. | csv , json , tsv , avro , jsonl , log , parquet , xml , infer |
json_delivery_mode | Specifies how Fivetran should handle your JSON data. Default value: Packed . | Packed , Unpacked |
compression | The secrets that should be passed to the function at runtime. | infer , uncompressed , tar , tar_bz2 , tar_gz |
on_error | If you know that your files contain some errors, you can choose to have poorly formatted lines skipped. We recommend leaving the value as fail unless you are certain that you have undesirable, malformed data. | fail , skip |
append_file_option | If you know that the source completely overwrites the same file with new data, you can append the changes instead of upserting based on filename and line number. | upsert_file , append_file |
archive_pattern | Files inside of compressed archives with filenames matching this regular expression will be synced. | |
null_sequence | If your CSVs use a special value indicating null, you can specify it here. | |
delimiter | You can specify the delimiter that your CSVs use here. Fivetran generally tries to infer the delimiter, but in some cases this is impossible. | |
escape_char | If your CSV generator follows non-standard rules for escaping quotation marks, you can set the escape character here. | |
skip_before | We will skip over the number of lines specified before syncing data. | |
skip_after | We will skip over the number of lines specified at the end so as to not introduce aberrant data into your destination. | |
connection_method | Connection Method. | DIRECT : Fivetran will connect directly to your storage container,SSH_TUNNEL : Fivetran will connect to your storage container using a host machine (commonly used for VPN connections),PRIVATE_LINK : Fivetran will connect to your storage container using PrivateLink. |
container_address | IP Address of Azure Storage Container which is accessible from host machine. | |
host_ip | IP address of host tunnel machine which is used to connect to Storage Container. | |
host_user | Username in the host machine. | |
use_pgp_encryption_options | Set to true if files present in the Azure Blob Storage container are encrypted using PGP. Default value: false . | false , true |
pgp_secret_key | The contents of your PGP secret key file. Must be populated if use_pgp_encryption_options is set to true . | |
pgp_pass_phrase | The PGP passphrase used to create the key. Must be populated if use_pgp_encryption_options is set to true . | |
signer_public_key | The contents of the signer's public key file. Must be populated if use_pgp_encryption_options is set to true and PGP encrypted files are signed. | |
line_separator | You can specify the custom line separator for your CSV files. The line separator is used in files to separate one row from the next. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
container_name
andconnection_string
. - By using the Connect Card or the Fivetran dashboard.
Azure Boards Lite Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "azure_boards",
"group_id": "target_group_id",
"config": {
"schema": "azure_boards_schema_name",
"sub_domain": "your_azure_boards_organization_name"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
sub_domain | Your Azure Boards Organization Name. |
Authorization
There are two ways to authorize this connector type:
By specifying the values for the
client_access
parameter in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "azure_boards", "group_id": "target_group_id", "config": { "schema": "azure_boards_schema_name", "sub_domain": "your_azure_boards_organization_name" }, "auth": { "client_access": { "client_id": "your_azure_boards_client_id", "client_secret": "your_azure_boards_client_secret" } } }
Auth parameters
Name Description client_access.client_id
Your Azure Boards Client ID. client_access.client_secret
Your Azure Boards Client Secret. By using the Connect Card or the Fivetran dashboard.
Azure Cosmos DB for MongoDB
POST https://api.fivetran.com/v1/connectors
{
"service": "azure_cosmos_for_mongo",
"group_id": "target_group_id",
"config": {
"schema_prefix": "test_cosmos_for_mongo",
"hosts": ["mongodb://cosmos-for-mongo-db.mongo.cosmos.azure.com:10255"],
"user": "test_user",
"password": "test_password",
"packing_mode": "UseUnpackedModeOnly",
"database": "admin"
}
}
Config parameters
Name | Description | Notes |
---|---|---|
schema_prefix | The connector schema prefix has to be unique within the group (destination). Required for connector creation. | |
hosts | A list of host addresses of the primary node and all replicas. Each list item is either a DB instance host/IP address with a port number or SRV host record. | |
user | The user name. | |
password | The user's password. | |
packing_mode | The pack mode type. Supported values:UseUnpackedModeOnly - Unpacks one layer of nested fields and infers types.UsePackedModeOnly - Delivers packed data as a single destination column value. Learn more in our Azure Cosmos DB Pack Mode Options documentation. | |
database | The source database used for authentication. Typically, the admin database. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
user
andpassword
. - By using the Connect Card or the Fivetran dashboard.
Azure Cosmos DB for NoSQL
Request with account_key
POST https://api.fivetran.com/v1/connectors
{
"service": "cosmos",
"group_id": "target_group_id",
"config": {
"schema_prefix":"schema_prefix",
"uri":"cosmos_host_uri",
"data_access_method":"ACCOUNT_KEY",
"account_key": "account_key",
"sync_pack_mode":"sync_pack_mode"
}
}
Config parameters
Name | Description |
---|---|
schema_prefix | The connector schema prefix has to be unique within the group (destination). Required for connector creation. |
uri | The base host URI of the database account. Required for connector creation. |
data_access_method | The source data access method. Supported values:ACCOUNT_KEY - Data access method that uses account keys to authenticate to the source database. It comes in both read-write and read-only variants.RESOURCE_TOKEN - Fine-grained permission model based on native Azure Cosmos DB users and permissions.Learn more in our Azure Cosmos DB Data Access Methods documentation. |
account_key | The read-only primary or secondary account key for the database account. Required for the ACCOUNT_KEY data access method. |
sync_pack_mode | The pack mode type. Supported values:STANDARD_UNPACKED_MODE - Unpacks one layer of nested fields and infers types.PACKED_MODE - Delivers packed data as a single destination column value.Learn more in our Azure Cosmos DB Sync Pack Mode Options documentation. Required for connector creation. |
Request with resource_token
POST https://api.fivetran.com/v1/connectors
{
"service": "cosmos",
"group_id": "target_group_id",
"config": {
"schema_prefix":"schema_prefix",
"uri":"cosmos_host_uri",
"data_access_method":"RESOURCE_TOKEN",
"resource_token":"resource_token",
"token_authenticated_database":"token_authenticated_database",
"token_authenticated_container":"token_authenticated_container",
"sync_pack_mode":"sync_pack_mode"
}
}
Config parameters
Name | Description |
---|---|
schema_prefix | The connector schema prefix has to be unique within the group (destination). Required for connector creation. |
uri | The base host URI of the database account. |
data_access_method | The source data access method. Supported values:ACCOUNT_KEY - Data access method that uses account keys to authenticate to the source database. It comes in both read-write and read-only variants.RESOURCE_TOKEN - Fine-grained permission model based on native Azure Cosmos DB users and permissions.Learn more in our Azure Cosmos DB Data Access Methods documentation. |
resource_token | A token that provides access to a specific Azure Cosmos DB resource. Required for the RESOURCE_TOKEN data access method. |
token_authenticated_database | The database name. Required for the RESOURCE_TOKEN data access method. |
token_authenticated_container | The container name. Required for the RESOURCE_TOKEN data access method. |
sync_pack_mode | The pack mode type. Supported values:STANDARD_UNPACKED_MODE - Unpacks one layer of nested fields and infers types.PACKED_MODE - Delivers packed data as a single destination column value.Learn more in our Azure Cosmos DB Pack Mode Options documentation. |
Authorization
There are three ways to authorize this connector type:
- By specifying
"data_access_method":"ACCOUNT_KEY"
and the value for theaccount_key
field in the request. - By specifying
"data_access_method":"RESOURCE_TOKEN"
and the values for the following fields in the request:resource_token
,token_authenticated_database
, andtoken_authenticated_container
. - By using the Connect Card or the Fivetran dashboard.
Azure DevOps Beta
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "azure_devops",
"group_id": "target_group_id",
"config": {
"schema": "azure_devops_schema_name",
"sub_domain": "your_azure_devops_organization_name"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
sub_domain | Your Azure DevOps Organization Name. |
Authorization
There are two ways to authorize this connector type:
By specifying the values for the
client_access
parameter in theauth
section.POST https://api.fivetran.com/v1/connectors
{ "service": "azure_devops", "group_id": "target_group_id", "config": { "schema": "azure_devops_schema_name", "sub_domain": "your_azure_devops_organization_name" }, "auth": { "client_access": { "client_id": "your_azure_devops_client_id", "client_secret": "your_azure_devops_client_secret" } } }
Auth parameters
Name Description client_access.client_id
Your Azure DevOps Client ID. client_access.client_secret
Your Azure DevOps Client Secret. By using the Connect Card or the Fivetran dashboard.
Azure Functions
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "azure_function",
"group_id": "target_group_id",
"config": {
"schema": "test_azure_function",
"function_app": "function_app_name",
"function_name": "function_name",
"function_key": "function_key",
"secrets_list": [
{"key": "secret1", "value": "xxxxxxx"},
{"key": "secret2", "value": "xxxxxxx"}
],
"custom_payloads": [
{"key": "payload1", "value": "payload_value2"},
{"key": "payload2", "value": "payload_value2"}
],
"connection_method": "DIRECT"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
function_app | Function app name in Azure portal. | |
function_name | Name of the function to be triggered. | |
function_key | Function key used for authorization. | |
secrets_list | The list of secrets that should be passed to the function at runtime. | |
custom_payloads | (Optional) The list of key-value pairs that can be used to specify custom information to the function at runtime. | |
connection_method | The Fivetran connection method to your function. | DIRECT : Fivetran connects directly to your function, PRIVATE_LINK : Fivetran connects to your function using PrivateLink. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
function_app
,function_name
,function_key
andsecrets
. - By using the Connect Card or the Fivetran dashboard.
Azure Event Hubs
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "azure_event_hub",
"group_id": "target_group_id",
"config": {
"schema": "test_azure_event_hub",
"consumer_group": "consumer_group",
"connection_string": "connection_string",
"message_type": "Json",
"sync_type": "Packed"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
connection_string | Connection string of the Event Hub Namespace you want to sync. | |
consumer_group | Name of consumer group created for Fivetran. | |
message_type | Message type. | Json , Text |
sync_type | Sync type. Unpacked messages must be valid JSON. | Packed , Unpacked |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the
connection_string
andconsumer_group
fields in the request. - By using the Connect Card or the Fivetran dashboard.
Azure Service Bus
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "azure_service_bus",
"group_id": "target_group_id",
"config": {
"schema": "schema_name",
"auth_type": "connection_string",
"has_manage_permissions": "false",
"subscriber_name": "subscriber_name",
"message_type": "text",
"sync_type": "packed",
"schema_registry_urls" : ["serveraddress1:8080, serveraddress2:8080"],
"schema_registry_key" : "schema_registry_key",
"schema_registry_secret" : "schema_registry_secret",
"connection_method" : "direct",
"topics" : ["topic1", "topic2"],
"namespace" : "my_namespace"
},
"auth": {
"connection_string": "Connection String",
"client_access" : {
"client_id": "my_client_id",
"client_secret": "my_client_secret"
},
"refresh_token": "refresh_token"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
auth_type | The authentication mode to access the topic | ConnectionString , AzureActiveDirectory |
has_manage_permissions | The boolean value specifying whether the connection string has manage permissions | true , false |
topics | The comma-separated list of topics which should be synced. Required if you do not have manage permissions | |
namespace | The ASB namespace which we have to sync. Required if auth_type is AzureActiveDirectory . | |
subscriber_name | The subscriber name. If the connection string does not have manage permission, you need to specify a subscriber name we can use to fetch data. If not specified, we default to fivetran_sub_<schema> | |
message_type | The format of messages in the topic | Text , Json , Avro , Protobuf , Xml |
sync_type | The sync type, which is based on the message type. For Text and Xml , Packed is supported. For Protobuf and Avro , Unpacked is supported. For Json , both Packed and Unpacked are supported. | Packed , Unpacked |
schema_registry_urls | The comma-separated list of schema registry servers in the server:port format | |
schema_registry_key | The key used to access the schema registry. Required for the Avro and Protobuf message types | |
schema_registry_secret | The secret used to access the schema registry. Required for the Avro and Protobuf message types | |
connection_method | The connection method | direct , sshTunnel , privateLink |
asb_ip | The IP address (or) the URL of ASB namespace. Required if connection_method is sshTunnel | |
host_ip | The IP address of the host machine which we use to connect to ASB using ssh. Required if connection_method is sshTunnel | |
host_user | The username on the host machine which we use to connect to ASB using ssh. Required if connection_method is sshTunnel |
Auth parameters
Name | Description | Possible Values |
---|---|---|
connection_string | The connection string used for authentication. Required if the authentication type is ConnectionString | |
client_id | Client ID of your Azure application. Required if the authentication type is AzureActiveDirectory | |
client_secret | Client Secret of your Azure application. Required if the authentication type is AzureActiveDirectory | |
refresh_token | The refresh token. Required if the authentication type is AzureActiveDirectory |
Authorization
There are three ways to authorize this connector type:
- By providing the connection string in the
auth
field whenauth_type
isConnectionString
. - By specifying values for
access_token
,refresh_token
, andscope
whenauth_type
isAzureActiveDirectory
. - By using the Connect Card or the Fivetran dashboard when
auth_type
isAzureActiveDirectory
.
Backbone PLM Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "backbone_plm",
"group_id": "target_group_id",
"config": {
"schema": "backbone_plm_schema_name",
"api_token": "backbone_plm_api_token"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_token | Your Backbone PLM API token. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_token
field in the request. - By using the Connect Card or the Fivetran dashboard.
BallotReady Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "ballotready",
"group_id": "target_group_id",
"config": {
"schema": "ballotready_schema_name",
"api_key": "your_ballotready_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your BallotReady GraphQL API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
BambooHR
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "bamboohr",
"group_id": "target_group_id",
"config": {
"schema": "bamboohr_schema_name",
"subdomain": "your_subdomain",
"api_key": "your_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
subdomain | The subdomain used to access your account. If you access BambooHR at mycompany.bamboohr.com , then the subdomain is mycompany . |
api_key | Your API Key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_key
andsub_domain
. - By using the Connect Card or the Fivetran dashboard.
Bazaarvoice Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "bazaarvoice",
"group_id": "target_group_id",
"config": {
"schema": "bazaarvoice_schema_name",
"environment": "your_bazaarvoice_environment",
"api_key": "your_bazaarvoice_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
environment | Your Bazaarvoice environment. |
api_key | Your Bazaarvoice API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
environment
andapi_key
. - By using the Connect Card or the Fivetran dashboard.
Betterworks Lite Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "betterworks",
"group_id": "target_group_id",
"config": {
"schema": "betterworks_schema_name",
"sub_domain": "your_betterworks_subdomain",
"api_key": "your_betterworks_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
sub_domain | Your Betterworks subdomain. |
api_key | Your Betterworks API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the
sub_domain
andapi_key
fields in the request. - By using the Connect Card or the Fivetran dashboard.
BigQuery
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "bigquery_db",
"group_id": "target_group_id",
"config": {
"schema_prefix": "schema_prefix",
"project_id": "projectId",
"quota_project_id": "quotaProjectId",
"data_set_name": "dataSetName",
"secret_key": "secretKey",
"use_service_account": "false"
}
}
Config parameters
Name | Description |
---|---|
schema_prefix | The connector schema prefix has to be unique within the destination. Required for connector creation. |
project_id | BigQuery project ID. |
quota_project_id | (Optional) Quota project ID. |
data_set_name | BigQuery Data set name. |
secret_key | Private key of the customer service account. |
use_service_account | BigQuery use service account. |
Authorization
This type of connector can only be authorized through the Connect Card or through the Fivetran dashboard.
BigCommerce
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "big_commerce",
"group_id": "target_group_id",
"config": {
"schema": "big_commerce_schema_name",
"store_hash": "your_store_hash",
"access_token": "your_api_access_token"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
store_hash | The store hash in your API path. |
access_token | Your API access token . |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
store_hash
andaccess_token
. - By using the Connect Card or the Fivetran dashboard.
Bigin by Zoho CRM Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "bigin_by_zoho_crm",
"group_id": "target_group_id",
"config": {
"schema": "bigin_by_zoho_crm_schema_name",
"client_id": "your_bigin_by_zoho_crm_client_id",
"client_secret": "your_bigin_by_zoho_crm_client_secret",
"edition": "your_bigin_by_zoho_crm_pricing_plan",
"region": "your_bigin_by_zoho_crm_region"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
client_id | Your Bigin by Zoho CRM client ID. |
client_secret | Your Bigin by Zoho CRM client secret. |
edition | Your Bigin by Zoho CRM pricing plan. |
region | Your Bigin by Zoho CRM region. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
client_id
,client_secret
,edition
, andregion
. - By using the Connect Card or the Fivetran dashboard.
BigMarker Lite Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "bigmarker",
"group_id": "target_group_id",
"config": {
"schema": "bigmarker_schema_name",
"api_key": "your_bigmarker_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your BigMarker API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
BillingPlatform Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "billing_platform",
"group_id": "target_group_id",
"config": {
"schema": "billing_platform_schema_name",
"base_url": "your_billing_platform_base_url"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
base_url | Your BillingPlatform base URL. |
Authorization
There are two ways to authorize this connector type:
By specifying the values for the following fields:
client_id
andclient_secret
in theconfig
sectionaccess_token
andrefresh_token
in theauth
section
POST https://api.fivetran.com/v1/connectors
{ "service": "billing_platform", "group_id": "target_group_id", "config": { "schema": "billing_platform_schema_name", "base_url": "your_billing_platform_base_url", "client_id": "billing_platform_client_id", "client_secret": "billing_platform_client_secret" }, "auth": { "refresh_token": "your_refresh_token", "access_token": "your_access_token" } }
Auth parameters
Name Description client_id
Your BillingPlatform client ID. client_secret
Your BillingPlatform client secret. refresh_token
Your BillingPlatform refresh token. access_token
Your BillingPlatform access token. By using the Connect Card or the Fivetran dashboard.
Birdeye Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "birdeye",
"group_id": "target_group_id",
"config": {
"schema": "birdeye_schema_name",
"business_id": "your_birdeye_business_id",
"query_param_value": "your_birdeye_query_param_value"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
business_id | Your Birdeye Business ID. |
query_param_value | Your Birdeye API Key. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
business_id
andquery_param_value
. - By using the Connect Card or the Fivetran dashboard.
Bitly Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "bitly",
"group_id": "target_group_id",
"config": {
"schema": "bitly_schema_name",
"access_token": "your_bitly_access_token"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
access_token | Your Bitly access token. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
access_token
field in the request. - By using the Connect Card or the Fivetran dashboard.
Bizzabo Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "bizzabo",
"group_id": "target_group_id",
"config": {
"schema": "bizzabo_schema_name",
"api_key": "your_bizzabo_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Bizzabo API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
Boostr Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "boostr",
"group_id": "target_group_id",
"config": {
"schema": "boostr_schema_name",
"base_url": "your_boostr_base_url",
"email": "your_boostr_username",
"password": "your_boostr_password"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
base_url | Your Boostr base URL. |
email | Your Boostr username. |
password | Your Boostr password. |
Authorization
There are two ways to authorize this connector type:
- By specifying the following fields in the request:
base_url
,email
, andpassword
. - By using the Connect Card or the Fivetran dashboard.
Box
The following example will allow you to create a new connector without authorization. If you want to authorize your connector during its creation, you should add the auth
section to the request body and define its parameters or perform other actions depending on the authorization type.
The connector supports two sync strategies:
Magic Folder Request
POST https://api.fivetran.com/v1/connectors
{
"service": "box",
"group_id": "target_group_id",
"config": {
"schema": "test_box",
"folder_id": "folder_id"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
folder_id | Your Box Folder URL. |
Merge Mode Request
To use the Merge Mode sync strategy, specify the is_single_table_mode
parameter as true
. If you don't specify the parameter, we will use the default Magic Folder strategy to sync files.
POST https://api.fivetran.com/v1/connectors
{
"service": "box",
"group_id": "target_group_id",
"config": {
"schema": "test_box",
"table": "test_table",
"prefix": "folder_path",
"pattern": "file_pattern",
"file_type": "infer",
"json_delivery_mode": "Packed",
"compression": "infer",
"on_error": "fail",
"append_file_option": "upsert_file",
"archive_pattern": "regex_pattern",
"null_sequence": "",
"delimiter": "|",
"escape_char": "escape_char",
"skip_before": "0",
"skip_after": "0",
"is_single_table_mode": "true",
"line_separator": ";"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema (required) | The connector schema name has to be unique within the destination. | |
table (required) | The table name within the schema to which the connector will sync the data. | |
prefix | All files and folders under this folder path will be searched for files to sync. | |
pattern | All files in your search path matching this regular expression will be synced. | |
file_type | If your files are saved with improper extensions, you can force them to be synced as the selected file type. | csv , json , tsv , avro , jsonl , log , parquet , xml , spreadsheet , infer |
json_delivery_mode | Specifies how Fivetran should handle your JSON data. Default value: Packed . | Packed , Unpacked |
compression | The compression format is used to let Fivetran know that even files without a compression extension should be decompressed using the selected compression format. | infer , uncompressed , tar , tar_bz2 , tar_gz |
on_error | If you know that your files contain some errors, you can choose to have poorly formatted lines skipped. We recommend leaving the value as fail unless you are certain that you have undesirable, malformed data. | fail , skip |
append_file_option | If you know that the source completely overwrites the same file with new data, you can append the changes instead of upserting based on filename and line number. | upsert_file , append_file |
archive_pattern | Files inside of compressed archives with filenames matching this regular expression will be synced. | |
null_sequence | If your CSVs use a special value indicating null, you can specify it here. | |
delimiter | You can specify the delimiter that your CSVs use here. Fivetran generally tries to infer the delimiter, but in some cases this is impossible. | |
escape_char | If your CSV generator follows non-standard rules for escaping quotation marks, you can set the escape character here. | |
skip_before | We will skip over the number of lines specified before syncing data. | |
skip_after | We will skip over the number of lines specified at the end so as to not introduce aberrant data into your destination. | |
is_single_table_mode (required as true ) | Allows the creation of connector using Merge Mode strategy. | true , false |
line_separator | You can specify the custom line separator for your CSV files. The line separator is used in files to separate one row from the next. |
Authorization
This type of connector can only be authorized through the Connect Card or the Fivetran dashboard.
Braintree
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "braintree",
"group_id": "target_group_id",
"config": {
"schema": "test_braintree",
"public_key": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"private_key": "your_api_secret",
"merchant_id": "merchant_id"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
public_key | The contents of your PEM certificate file. |
private_key | The contents of your secret key file. |
merchant_id | Your Braintree merchant ID. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
public_key
,private_key
andmerchant_id
. - By using the Connect Card or the Fivetran dashboard.
Branch
NOTE: You will need to register the Fivetran-generated webhooks URL in your Branch dashboard. See the Branch setup guide for more details.
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "branch",
"group_id": "target_group_id",
"config": {
"schema": "test_branch"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
Authorization
This type of connector does not require authorization and can be created using the Create a Connector endpoint.
Brave Ads
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "brave_ads",
"group_id": "target_group_id",
"config": {
"schema": "brave_ads_schema_name",
"api_key": "your_brave_ads_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Brave Ads API key |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
Braze
Request
POST https://api.fivetran.com/v1/connectors
AWS S3 Current
{
"service": "braze",
"group_id": "target_group_id",
"config": {
"schema": "test_braze",
"api_url": "test_api_url",
"api_key": "test_api_key",
"historic_sync_time_frame": "THREE_MONTHS",
"cloud_storage_type": "AWS_S3",
"s3bucket": "your_s3_bucket",
"s3role_arn": "arn:aws:iam::XXXXXXXXXXXX:role/your_test_bucket",
"s3external_id": "_moonbeam",
"s3folder": "your_s3_folder"
}
}
GCS Current
{
"service": "braze",
"group_id": "target_group_id",
"config": {
"schema": "test_braze",
"api_url": "test_api_url",
"api_key": "test_api_key",
"historic_sync_time_frame": "THREE_MONTHS",
"cloud_storage_type": "GCS",
"gcs_bucket": "your_gcs_bucket",
"gcs_folder": "your_gcs_folder"
}
}
Azure Blob Storage Current
{
"service": "braze",
"group_id": "target_group_id",
"config": {
"schema": "test_braze",
"api_url": "test_api_url",
"api_key": "test_api_key",
"historic_sync_time_frame": "THREE_MONTHS",
"cloud_storage_type": "AZURE_BLOB_STORAGE",
"abs_connection_string": "your_abs_connection_string",
"abs_container_name": "your_abs_container_name",
"abs_prefix": "your_abs_prefix"
}
}
User Export with Default Braze Public URL
{
"service": "braze",
"group_id": "target_group_id",
"config": {
"schema": "test_braze",
"api_url": "test_api_url",
"api_key": "test_api_key",
"cloud_storage_type": "NONE",
"enable_exports": true,
"export_storage_type": "NONE"
}
}
User Export with AWS S3
{
"service": "braze",
"group_id": "target_group_id",
"config": {
"schema": "test_braze",
"api_url": "test_api_url",
"api_key": "test_api_key",
"cloud_storage_type": "NONE",
"enable_exports": true,
"export_storage_type": "AWS_S3",
"s3_export_bucket": "your_s3_bucket",
"s3_export_role_arn": "arn:aws:iam::XXXXXXXXXXXX:role/your_test_bucket",
"s3_export_external_id": "_moonbeam",
"s3_export_folder": "your_s3_folder"
}
}
User Export with GCS
{
"service": "braze",
"group_id": "target_group_id",
"config": {
"schema": "test_braze",
"api_url": "test_api_url",
"api_key": "test_api_key",
"enable_exports": true,
"export_storage_type": "GCS",
"gcs_export_bucket": "your_gcs_bucket",
"gcs_export_folder": "your_gcs_folder"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
api_url | Your Braze API URL. | |
api_key | Your Braze API Key. | |
historic_sync_time_frame | Range of data in history you would like to include in the initial sync. | THREE_MONTHS , SIX_MONTHS , ONE_YEAR , TWO_YEARS , FIVE_YEARS , and ALL_TIME |
cloud_storage_type | Cloud storage type the Braze Current is connected to. Default Value: NONE . | AWS_S3 , GCS , AZURE_BLOB_STORAGE , NONE |
s3external_id | This is same as your group_id , used for authentication along with the role_arn . Required if AWS_S3 is the cloud_storage_type . | |
s3role_arn | The Role ARN required for authentication. Required if AWS_S3 is the cloud_storage_type . | |
s3bucket | Your S3 bucket. Required if AWS_S3 is the cloud_storage_type . | |
s3folder | Your S3 folder name. Required if AWS_S3 is the cloud_storage_type . | |
gcs_bucket | Your GCS bucket. Required if GCS is the cloud_storage_type . | |
gcs_folder | Your GCS folder name. Required if GCS is the cloud_storage_type . | |
abs_connection_string | Your Azure Blob Storage connection string. Required if AZURE_BLOB_STORAGE is the cloud_storage_type . | |
abs_container_name | Your Azure Blob Storage bucket. Required if AZURE_BLOB_STORAGE is the cloud_storage_type . | |
abs_prefix | Your Azure Blob Storage bucket folder name. Required if AZURE_BLOB_STORAGE is the cloud_storage_type . | |
enable_exports | Enable User Profile Exports. Default Value: false . | true , false |
export_storage_type | Export storage type configured in Braze. Required if enable_exports is true . Default Value: NONE . | AWS_S3 , GCS , NONE |
s3_export_external_id | This is same as your group_id , used for authentication along with the role_arn required if AWS_S3 is the export_storage_type . | |
s3_export_role_arn | The Role ARN required for authentication. Required if AWS_S3 is the export_storage_type . | |
s3_export_bucket | Your S3 bucket. Required if AWS_S3 is the export_storage_type . | |
s3_export_folder | Your S3 folder name. Required if AWS_S3 is the export_storage_type . | |
gcs_export_bucket | Your GCS bucket. Required if GCS is the export_storage_type . | |
gcs_export_folder | Your GCS folder name. Required if GCS is the export_storage_type . |
NOTE: If
GCS
cloud storage type is being used, then you wmust grant Fivetran access to your Google Cloud Storage bucket.
Authorization
There are three ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_url
,api_key
,enable_exports
and the following optional fields depending on thecloud_storage_type
value:- for
AWS_S3
:s3bucket
,s3role_arn
,s3external_id
ands3folder
- for
GCS
:gcs_bucket
andgcs_folder
- for
AZURE_BLOB_STORAGE
:abs_connection_string
,abs_container_name
andabs_prefix
- for
- If the
enable_exports
field is set totrue
, by specifying the values for theexport_storage_type
field and the following optional fields depending on theexport_storage_type
value:- for
AWS_S3
:s3_export_bucket
,s3_export_role_arn
,s3_export_external_id
ands3_export_folder
- for
GCS
:gcs_export_bucket
andgcs_export_folder
- for
- By using the Connect Card or the Fivetran dashboard.
Brevo Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "brevo",
"group_id": "target_group_id",
"config": {
"schema": "brevo_schema_name",
"api_key": "your_brevo_api_key"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_key | Your Brevo API key. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_key
field in the request. - By using the Connect Card or the Fivetran dashboard.
Brex Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "brex",
"group_id": "target_group_id",
"config": {
"schema": "brex_schema_name",
"api_token": "your_brex_api_token",
"base_url": "your_brex_base_url"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_token | Your Brex API token |
base_url | Your Brex Base URL |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
api_token
andbase_url
. - By using the Connect Card or the Fivetran dashboard.
Brightcove Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "brightcove",
"group_id": "target_group_id",
"config": {
"schema": "brightcove_schema_name",
"account_id": "your_brightcove_account_id",
"client_id": "your_brightcove_client_id",
"client_secret": "your_brightcove_client_secret"
}
}
Config parameters
Name | Description |
---|---|
account_id | Your Brightcove account ID. |
client_id | Your Brightcove client ID. |
client_secret | Your Brightcove client secret. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
account_id
,client_id
, andclient_secret
. - By using the Connect Card or the Fivetran dashboard.
Brightpearl Lite Private Preview
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "brightpearl",
"group_id": "target_group_id",
"config": {
"schema": "brightpearl_schema_name",
"client_id": "your_brightpearl_client_id",
"client_secret" : "your_brightpearl_client_secret",
"developer_reference": "your_brightpearl_developer_reference",
"app_reference": "your_brightpearl_app_reference",
"data_center": "your_brightpearl_data_center",
"organization_name": "your_brightpearl_organization_name"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
client_id | Your Brightpearl client ID. | |
client_secret | Your Brightpearl client secret. | |
developer_reference | Your Brightpearl dev reference. | |
app_reference | Your Brightpearl app reference. | |
data_center | Your Brightpearl data center. | EU , US |
organization_name | Your Brightpearl organization name. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
client_id
,client_secret
,developer_reference
,app_reference
,data_center
, andorganization_name
. - By using the Connect Card or the Fivetran dashboard.
Buildium Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "buildium",
"group_id": "target_group_id",
"config": {
"schema": "buildium_schema_name",
"environment": "your_buildium_environment",
"client_id": "your_buildium_client_id",
"secret": "your_buildium_secret"
}
}
Config parameters
Name | Description | Possible Values |
---|---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. | |
environment | Your Buildium environment. | production and sandbox |
client_id | Your Buildium API client ID. | |
secret | Your Buildium API secret. |
Authorization
There are two ways to authorize this connector type:
- By specifying the values for the following fields in the request:
environment
,client_id
, andsecret
. - By using the Connect Card or the Fivetran dashboard.
Buildkite Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "buildkite",
"group_id": "target_group_id",
"config": {
"schema": "buildkite_schema_name",
"api_token": "your_buildkite_api_token"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_token | Your Buildkite API token. |
Authorization
- By specifying the value for the
api_token
field in the request. - By using the Connect Card or the Fivetran dashboard.
Buzzsprout Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "buzzsprout",
"group_id": "target_group_id",
"config": {
"schema": "buzzsprout_schema_name",
"api_token": "your_buzzsprout_api_token"
}
}
Config parameters
Name | Description |
---|---|
schema | The connector schema name has to be unique within the destination. Required for connector creation. |
api_token | Your Buzzsprout API token. |
Authorization
There are two ways to authorize this connector type:
- By specifying a value for the
api_token
field in the request. - By using the Connect Card or the Fivetran dashboard.
Calabrio Lite
Request
POST https://api.fivetran.com/v1/connectors
{
"service": "calabrio",
"group_id": "target_group_id",
"config": {
"schema": "calabrio_schema_name",
"domain_name": "your_calabrio_domain_name",
"access_token": "your_calabrio_access_token"
}
}