curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"fields": [
{
"description": "The part of your Snowflake URL before .snowflakecomputing.com.",
"display_name": "Snowflake account subdomain",
"name": "subdomain",
"placeholder": "acme-prod",
"required": true,
"validation_error": "Use letters, digits, and hyphens only.",
"validation_pattern": "^[a-zA-Z0-9-]+$"
}
],
"connection_config": {
"subdomain": "acme-prod"
}
}Get connector connection fields
Returns the values a connector needs before you start a connection, such as the account subdomain for Snowflake, and the values saved on the app’s current connection. Most connectors need none.
Send them as connection_config when you start the connection.
This is limited to 150 requests a minute per caller. Some workspaces have a different limit.
curl --request GET \
--url https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/apps/{app_id}/external-auth/connection-config/{integration_type}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"fields": [
{
"description": "The part of your Snowflake URL before .snowflakecomputing.com.",
"display_name": "Snowflake account subdomain",
"name": "subdomain",
"placeholder": "acme-prod",
"required": true,
"validation_error": "Use letters, digits, and hyphens only.",
"validation_pattern": "^[a-zA-Z0-9-]+$"
}
],
"connection_config": {
"subdomain": "acme-prod"
}
}Authorizations
Personal access token, sent as Authorization: Bearer <token>.
Response
The connector's fields and the app's saved values.
The values a connector needs before authorization, and the app's saved ones.
Values to collect and send as connection_config. Empty when the connector needs none.
Show child attributes
Show child attributes
[
{
"description": "The part of your Snowflake URL before .snowflakecomputing.com.",
"display_name": "Snowflake account subdomain",
"name": "subdomain",
"placeholder": "acme-prod",
"required": true,
"validation_error": "Use letters, digits, and hyphens only.",
"validation_pattern": "^[a-zA-Z0-9-]+$"
}
]
Values saved on the app's current connection, keyed by field name. Empty when there's no connection.
Show child attributes
Show child attributes
{ "subdomain": "acme-prod" }
Was this page helpful?