POST
/
destination
curl --request POST \
  --url https://api.fabra.io/destination \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "bigquery_config": {
    "credentials": "Paste JSON from GCP",
    "location": "us-west1"
  },
  "connection_type": "snowflake",
  "display_name": "BigQuery",
  "mongodb_config": {
    "connection_options": "retryWrites=true&w=majority",
    "host": "examplecluster.abc123.mongodb.net",
    "password": "securePassword123",
    "username": "jane_doe"
  },
  "redshift_config": {
    "database_name": "your_database",
    "host": "examplecluster.12345.us-west-1.redshift.amazonaws.com",
    "password": "securePassword123",
    "port": 5432,
    "username": "jane_doe"
  },
  "snowflake_config": {
    "database_name": "your_database",
    "host": "abc123.us-east4.gcp.snowflakecomputing.com",
    "password": "securePassword123",
    "role": "your_role",
    "username": "jane_doe",
    "warehouse_name": "your_warehouse"
  }
}'
{
  "destination": {
    "connection": {
      "connection_type": "snowflake",
      "id": 1
    },
    "display_name": "BigQuery",
    "id": 10
  }
}

Authorizations

X-API-KEY
string
headerrequired

Body

application/json
bigquery_config
object
connection_type
enum<string>
required
Available options:
snowflake,
bigquery,
redshift,
mongodb,
webhook
display_name
string
required
mongodb_config
object
redshift_config
object
snowflake_config
object

Response

200 - application/json
destination
object