List CRM Integrations
curl --request GET \
--url https://app.herondata.io/api/crm_integrations \
--header 'x-api-key: <api-key>'import requests
url = "https://app.herondata.io/api/crm_integrations"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.herondata.io/api/crm_integrations', 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.herondata.io/api/crm_integrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.herondata.io/api/crm_integrations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.herondata.io/api/crm_integrations")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.herondata.io/api/crm_integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"crm_integrations": [
{
"config": {
"child_file_filtering_enabled": true,
"data_source_accounts_config": {
"external_name": "Account",
"key": "Account",
"description": "A company or person",
"external_lookup_config": {
"external_lookup_fields_and": [
"<string>"
],
"external_lookup_fields_or": [
"<string>"
],
"sort_field_name": "CreatedDate"
},
"field_mappings": [
{
"field_name": "Name",
"external_lookup_field_name": "<string>",
"external_object_name_for_id": "Account",
"heron_company_attribute_label": "owner_1_first_name",
"max_length": 255,
"overwrite_on_update": true,
"regex_remove": "pattern",
"required": true,
"static_value": "static value",
"value_mapping_name": "state",
"value_type": "Text"
}
],
"is_optional": false,
"required_ids": [
{
"external_name": "Account",
"alias": "Company"
}
],
"static_data": [
{
"key": "status",
"value": "active"
}
]
},
"default_id": {
"external_name": "Account",
"alias": "Company"
},
"object_configs": [],
"policy_evaluation_config": {
"external_object_name": "Opportunity",
"failure_reason_external_name": "Failure_Reason__c",
"result_external_name": "Submission_Result_from_Heron__c"
},
"small_file_filtering_enabled": false,
"sync_file_classes": {},
"value_mappings": []
},
"instance_url": "https://sandbox.salesforce.com",
"provider": "<string>",
"failure_notification_channel": "<string>",
"heron_id": "<string>",
"is_enabled": true,
"is_live": true
}
]
}CrmIntegrations
List CRM Integrations
Get a list of CRM Integrations
GET
/
api
/
crm_integrations
List CRM Integrations
curl --request GET \
--url https://app.herondata.io/api/crm_integrations \
--header 'x-api-key: <api-key>'import requests
url = "https://app.herondata.io/api/crm_integrations"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://app.herondata.io/api/crm_integrations', 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.herondata.io/api/crm_integrations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.herondata.io/api/crm_integrations"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.herondata.io/api/crm_integrations")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.herondata.io/api/crm_integrations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"crm_integrations": [
{
"config": {
"child_file_filtering_enabled": true,
"data_source_accounts_config": {
"external_name": "Account",
"key": "Account",
"description": "A company or person",
"external_lookup_config": {
"external_lookup_fields_and": [
"<string>"
],
"external_lookup_fields_or": [
"<string>"
],
"sort_field_name": "CreatedDate"
},
"field_mappings": [
{
"field_name": "Name",
"external_lookup_field_name": "<string>",
"external_object_name_for_id": "Account",
"heron_company_attribute_label": "owner_1_first_name",
"max_length": 255,
"overwrite_on_update": true,
"regex_remove": "pattern",
"required": true,
"static_value": "static value",
"value_mapping_name": "state",
"value_type": "Text"
}
],
"is_optional": false,
"required_ids": [
{
"external_name": "Account",
"alias": "Company"
}
],
"static_data": [
{
"key": "status",
"value": "active"
}
]
},
"default_id": {
"external_name": "Account",
"alias": "Company"
},
"object_configs": [],
"policy_evaluation_config": {
"external_object_name": "Opportunity",
"failure_reason_external_name": "Failure_Reason__c",
"result_external_name": "Submission_Result_from_Heron__c"
},
"small_file_filtering_enabled": false,
"sync_file_classes": {},
"value_mappings": []
},
"instance_url": "https://sandbox.salesforce.com",
"provider": "<string>",
"failure_notification_channel": "<string>",
"heron_id": "<string>",
"is_enabled": true,
"is_live": true
}
]
}Was this page helpful?
⌘I