curl --request PUT \
--url https://app.leadconduit.com/account \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"data_retention_in_days": 123,
"data_truncated_at": "2023-11-07T05:31:56Z",
"subscriptions": {},
"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
}
}
'import requests
url = "https://app.leadconduit.com/account"
payload = {
"data_retention_in_days": 123,
"data_truncated_at": "2023-11-07T05:31:56Z",
"subscriptions": {},
"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
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data_retention_in_days: 123,
data_truncated_at: '2023-11-07T05:31:56Z',
subscriptions: {},
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
}
})
};
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 => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'data_retention_in_days' => 123,
'data_truncated_at' => '2023-11-07T05:31:56Z',
'subscriptions' => [
],
'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
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.leadconduit.com/account"
payload := strings.NewReader("{\n \"data_retention_in_days\": 123,\n \"data_truncated_at\": \"2023-11-07T05:31:56Z\",\n \"subscriptions\": {},\n \"features\": {\n \"seller_access\": true,\n \"buyer_access\": true,\n \"lead_transactions\": true,\n \"conversion_feedback\": true,\n \"firehose\": true,\n \"third_party_add_on_services\": true,\n \"real_time_bidding\": true,\n \"leadconduit_trustedform_decisions\": true\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://app.leadconduit.com/account")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"data_retention_in_days\": 123,\n \"data_truncated_at\": \"2023-11-07T05:31:56Z\",\n \"subscriptions\": {},\n \"features\": {\n \"seller_access\": true,\n \"buyer_access\": true,\n \"lead_transactions\": true,\n \"conversion_feedback\": true,\n \"firehose\": true,\n \"third_party_add_on_services\": true,\n \"real_time_bidding\": true,\n \"leadconduit_trustedform_decisions\": true\n }\n}")
.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::Put.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data_retention_in_days\": 123,\n \"data_truncated_at\": \"2023-11-07T05:31:56Z\",\n \"subscriptions\": {},\n \"features\": {\n \"seller_access\": true,\n \"buyer_access\": true,\n \"lead_transactions\": true,\n \"conversion_feedback\": true,\n \"firehose\": true,\n \"third_party_add_on_services\": true,\n \"real_time_bidding\": true,\n \"leadconduit_trustedform_decisions\": true\n }\n}"
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": [
{}
],
"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",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"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",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"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",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"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
}
}Update account
Update my account information
curl --request PUT \
--url https://app.leadconduit.com/account \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"data_retention_in_days": 123,
"data_truncated_at": "2023-11-07T05:31:56Z",
"subscriptions": {},
"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
}
}
'import requests
url = "https://app.leadconduit.com/account"
payload = {
"data_retention_in_days": 123,
"data_truncated_at": "2023-11-07T05:31:56Z",
"subscriptions": {},
"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
}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data_retention_in_days: 123,
data_truncated_at: '2023-11-07T05:31:56Z',
subscriptions: {},
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
}
})
};
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 => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'data_retention_in_days' => 123,
'data_truncated_at' => '2023-11-07T05:31:56Z',
'subscriptions' => [
],
'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
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.leadconduit.com/account"
payload := strings.NewReader("{\n \"data_retention_in_days\": 123,\n \"data_truncated_at\": \"2023-11-07T05:31:56Z\",\n \"subscriptions\": {},\n \"features\": {\n \"seller_access\": true,\n \"buyer_access\": true,\n \"lead_transactions\": true,\n \"conversion_feedback\": true,\n \"firehose\": true,\n \"third_party_add_on_services\": true,\n \"real_time_bidding\": true,\n \"leadconduit_trustedform_decisions\": true\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://app.leadconduit.com/account")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"data_retention_in_days\": 123,\n \"data_truncated_at\": \"2023-11-07T05:31:56Z\",\n \"subscriptions\": {},\n \"features\": {\n \"seller_access\": true,\n \"buyer_access\": true,\n \"lead_transactions\": true,\n \"conversion_feedback\": true,\n \"firehose\": true,\n \"third_party_add_on_services\": true,\n \"real_time_bidding\": true,\n \"leadconduit_trustedform_decisions\": true\n }\n}")
.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::Put.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data_retention_in_days\": 123,\n \"data_truncated_at\": \"2023-11-07T05:31:56Z\",\n \"subscriptions\": {},\n \"features\": {\n \"seller_access\": true,\n \"buyer_access\": true,\n \"lead_transactions\": true,\n \"conversion_feedback\": true,\n \"firehose\": true,\n \"third_party_add_on_services\": true,\n \"real_time_bidding\": true,\n \"leadconduit_trustedform_decisions\": true\n }\n}"
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": [
{}
],
"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",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"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",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"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",
"product_offering_id": "5fd4371e940df5a34a3888b2",
"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'
Body
Update an existing Account
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