Get account
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",
"source": "formal"
}
],
"connected_sellers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"sso_id": "5fd4371e940df5a34a3888b2",
"source": "formal"
}
],
"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": {
"addons": {
"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"
},
"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
}
}Account
Get account
Returns the account information of the caller (based on authentication)
GET
/
account
Get account
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",
"source": "formal"
}
],
"connected_sellers": [
{
"id": "5fd4371e940df5a34a3888b2",
"name": "<string>",
"sso_id": "5fd4371e940df5a34a3888b2",
"source": "formal"
}
],
"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": {
"addons": {
"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"
},
"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
200 - application/json
OK
Details of the company account