curl --request GET \
--url https://app.leadconduit.com/account \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://app.leadconduit.com/account"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://app.leadconduit.com/account', 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.leadconduit.com/account",
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: Basic <encoded-value>"
],
]);
$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.leadconduit.com/account"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.leadconduit.com/account")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/account")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"id": "5fd4371e940df5a34a3888b2",
"sso_id": "5fd4371e940df5a34a3888b2",
"api_key": "<string>",
"name": "Acme, Inc.",
"time_zone": "America/New_York",
"type": "<string>",
"data_retention_in_days": 123,
"data_truncated_at": "2023-11-07T05:31:56Z",
"keen_project_id": "<string>",
"keen_read_api_key": "<string>",
"keen_write_api_key": "<string>",
"pricing_components": [
{}
],
"billing_type": "contracted",
"financial_state": "paid",
"financial_state_updated_at": "2023-11-07T05:31:56Z",
"lead_ping_enabled": true,
"product_id": "lcx",
"state": "<string>",
"connected_buyers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"sso_id": "5fd4371e940df5a34a3888b2"
}
],
"connected_sellers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"sso_id": "5fd4371e940df5a34a3888b2"
}
],
"pending_sellers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"expired": true,
"invitation_expires_at": "2023-11-07T05:31:56Z"
}
],
"pending_buyers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"expired": true,
"invitation_expires_at": "2023-11-07T05:31:56Z"
}
],
"subscriptions": {
"base": {
"id": "5fd4371e940df5a34a3888b2",
"state": "active",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"product_offering_component": "partner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z",
"inactive_at": "2023-11-07T05:31:56Z"
},
"pro": {
"id": "5fd4371e940df5a34a3888b2",
"state": "active",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"product_offering_component": "partner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z",
"inactive_at": "2023-11-07T05:31:56Z"
},
"partner": {
"id": "5fd4371e940df5a34a3888b2",
"state": "active",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"product_offering_component": "partner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z",
"inactive_at": "2023-11-07T05:31:56Z"
}
},
"features": {
"seller_access": true,
"buyer_access": true,
"lead_transactions": true,
"conversion_feedback": true,
"firehose": true,
"third_party_add_on_services": true,
"real_time_bidding": true,
"leadconduit_trustedform_decisions": true
}
}Get account
Returns the account information of the caller (based on authentication)
curl --request GET \
--url https://app.leadconduit.com/account \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://app.leadconduit.com/account"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://app.leadconduit.com/account', 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.leadconduit.com/account",
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: Basic <encoded-value>"
],
]);
$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.leadconduit.com/account"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.leadconduit.com/account")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/account")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"id": "5fd4371e940df5a34a3888b2",
"sso_id": "5fd4371e940df5a34a3888b2",
"api_key": "<string>",
"name": "Acme, Inc.",
"time_zone": "America/New_York",
"type": "<string>",
"data_retention_in_days": 123,
"data_truncated_at": "2023-11-07T05:31:56Z",
"keen_project_id": "<string>",
"keen_read_api_key": "<string>",
"keen_write_api_key": "<string>",
"pricing_components": [
{}
],
"billing_type": "contracted",
"financial_state": "paid",
"financial_state_updated_at": "2023-11-07T05:31:56Z",
"lead_ping_enabled": true,
"product_id": "lcx",
"state": "<string>",
"connected_buyers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"sso_id": "5fd4371e940df5a34a3888b2"
}
],
"connected_sellers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"sso_id": "5fd4371e940df5a34a3888b2"
}
],
"pending_sellers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"expired": true,
"invitation_expires_at": "2023-11-07T05:31:56Z"
}
],
"pending_buyers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"expired": true,
"invitation_expires_at": "2023-11-07T05:31:56Z"
}
],
"subscriptions": {
"base": {
"id": "5fd4371e940df5a34a3888b2",
"state": "active",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"product_offering_component": "partner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z",
"inactive_at": "2023-11-07T05:31:56Z"
},
"pro": {
"id": "5fd4371e940df5a34a3888b2",
"state": "active",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"product_offering_component": "partner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z",
"inactive_at": "2023-11-07T05:31:56Z"
},
"partner": {
"id": "5fd4371e940df5a34a3888b2",
"state": "active",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"product_offering_component": "partner",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"active_at": "2023-11-07T05:31:56Z",
"inactive_at": "2023-11-07T05:31:56Z"
}
},
"features": {
"seller_access": true,
"buyer_access": true,
"lead_transactions": true,
"conversion_feedback": true,
"firehose": true,
"third_party_add_on_services": true,
"real_time_bidding": true,
"leadconduit_trustedform_decisions": true
}
}Authorizations
LeadConduit uses HTTP Basic Authentication
with the username API and your API key as the password.
For example: API:1f1b96c9150d8050e858c043d543bb4eadae0e6f'
Response
OK
Details of the company account
24 character alpha-numeric BSON identifier
^[0-9a-fA-F]{24}$"5fd4371e940df5a34a3888b2"
24 character alpha-numeric BSON identifier
^[0-9a-fA-F]{24}$"5fd4371e940df5a34a3888b2"
Company-level API key (best practice is to use user-level API key)
Company name
"Acme, Inc."
"America/New_York"
Number of days to retain lead events. Events outside the retention period are automatically deleted permanently.
contracted, self_service Only populated when the billing_type is "contracted"
paid, unpaid "lcx"
List of connected buyers
Show child attributes
Show child attributes
List of connected sellers
Show child attributes
Show child attributes
List of invited pending seller entities
Show child attributes
Show child attributes
List of invited pending buyer entities
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes