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

Authorizations

X-API-KEY
string
headerrequired

Body

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

Response

200 - application/json
destination
object