Destination
Create a new destination
POST
/
destination
Authorization
Body
curl --request POST \
--url https://api.fabra.io/destination \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <x-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": {},
"display_name": "BigQuery",
"id": 10
}
}
Authorizations
X-API-KEY
string
headerrequiredBody
application/json
bigquery_config
object
connection_type
enum<string>
requiredAvailable options:
snowflake
, bigquery
, redshift
, mongodb
, webhook
display_name
string
requiredmongodb_config
object
redshift_config
object
snowflake_config
object
Response
200 - application/json
destination
object
curl --request POST \
--url https://api.fabra.io/destination \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <x-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": {},
"display_name": "BigQuery",
"id": 10
}
}