curl --request GET \
--url https://app.leadconduit.com/user \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://app.leadconduit.com/user"
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/user', 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/user",
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/user"
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/user")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/user")
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",
"first_name": "Jane",
"last_name": "Doe",
"email": "janedoe@company.com",
"sso_id": "6493820b542ea0521e2a4543",
"api_key": "2f1d5f29915b866c7a2fa5de29613104",
"superuser": false,
"user_admin": true,
"subscription_admin": true,
"role_string": "user",
"phone": "512-555-1212",
"accounts": [
{
"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
}
}
],
"products": [
{
"id": "lcx",
"name": "LeadConduit",
"base_url": "https://app.leadconduit.com",
"marketing_url": "https://activeprospect.com/products/leadconduit/",
"subscribed": true
},
{
"id": "suppressionlist",
"name": "SuppressionList",
"base_url": "https://app.suppressionlist.com",
"marketing_url": "https://activeprospect.com/products/leadconduit/",
"subscribed": true
},
{
"id": "trustedform",
"name": "TrustedForm",
"base_url": "https://app.trustedform.com",
"marketing_url": "https://activeprospect.com/products/trustedform/",
"subscribed": true
}
],
"membership": {
"lc_access": true,
"sl_access": true,
"tf_access": true,
"account_id": "5fd4371e940df5a34a3888b2",
"product": "<string>",
"product_access": true,
"subscription_admin": true,
"user_admin": true,
"user_id": "5fd4371e940df5a34a3888b2"
},
"permissions": {
"lcx": "<string>",
"suppressionlist": "<string>",
"trustedform": "<string>"
},
"product_code": "lcx",
"company_name": "<string>",
"expires": "2023-11-07T05:31:56Z",
"subscriptions": [
{
"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",
"state": "<string>",
"account_id": "5fd4371e940df5a34a3888b2",
"product_offering_id": "<string>",
"product_offering": {
"id": "<string>",
"product_id": "<string>",
"component": "<string>",
"name": "<string>"
}
}
],
"zendesk_jwt": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}Get user
This singleton resource returns the currently authenticated user
curl --request GET \
--url https://app.leadconduit.com/user \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://app.leadconduit.com/user"
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/user', 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/user",
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/user"
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/user")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/user")
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",
"first_name": "Jane",
"last_name": "Doe",
"email": "janedoe@company.com",
"sso_id": "6493820b542ea0521e2a4543",
"api_key": "2f1d5f29915b866c7a2fa5de29613104",
"superuser": false,
"user_admin": true,
"subscription_admin": true,
"role_string": "user",
"phone": "512-555-1212",
"accounts": [
{
"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
}
}
],
"products": [
{
"id": "lcx",
"name": "LeadConduit",
"base_url": "https://app.leadconduit.com",
"marketing_url": "https://activeprospect.com/products/leadconduit/",
"subscribed": true
},
{
"id": "suppressionlist",
"name": "SuppressionList",
"base_url": "https://app.suppressionlist.com",
"marketing_url": "https://activeprospect.com/products/leadconduit/",
"subscribed": true
},
{
"id": "trustedform",
"name": "TrustedForm",
"base_url": "https://app.trustedform.com",
"marketing_url": "https://activeprospect.com/products/trustedform/",
"subscribed": true
}
],
"membership": {
"lc_access": true,
"sl_access": true,
"tf_access": true,
"account_id": "5fd4371e940df5a34a3888b2",
"product": "<string>",
"product_access": true,
"subscription_admin": true,
"user_admin": true,
"user_id": "5fd4371e940df5a34a3888b2"
},
"permissions": {
"lcx": "<string>",
"suppressionlist": "<string>",
"trustedform": "<string>"
},
"product_code": "lcx",
"company_name": "<string>",
"expires": "2023-11-07T05:31:56Z",
"subscriptions": [
{
"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",
"state": "<string>",
"account_id": "5fd4371e940df5a34a3888b2",
"product_offering_id": "<string>",
"product_offering": {
"id": "<string>",
"product_id": "<string>",
"component": "<string>",
"name": "<string>"
}
}
],
"zendesk_jwt": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}Authorizations
LeadConduit uses HTTP Basic Authentication
with the username API and your API key as the password.
For example: API:1f1b96c9150d8050e858c043d543bb4eadae0e6f'
Response
OK
ID of this user
^[0-9a-fA-F]{24}$"5fd4371e940df5a34a3888b2"
The user's first name
"Jane"
The user's last name
"Doe"
The user's email address
"janedoe@company.com"
The account's ID global across all ActiveProspect products
"6493820b542ea0521e2a4543"
The user's API key
"2f1d5f29915b866c7a2fa5de29613104"
Is the user a super user?
false
Can the user manage other users and verified domains?
true
Can the user manage subscriptions to TrustedForm, LeadConduit, and SuppressionList?
true
The user's role (unused)
user "user"
The user's phone number
"512-555-1212"
Show child attributes
Show child attributes
The list of products available to the account
Show child attributes
Show child attributes
[
{
"id": "lcx",
"name": "LeadConduit",
"base_url": "https://app.leadconduit.com",
"marketing_url": "https://activeprospect.com/products/leadconduit/",
"subscribed": true
},
{
"id": "suppressionlist",
"name": "SuppressionList",
"base_url": "https://app.suppressionlist.com",
"marketing_url": "https://activeprospect.com/products/leadconduit/",
"subscribed": true
},
{
"id": "trustedform",
"name": "TrustedForm",
"base_url": "https://app.trustedform.com",
"marketing_url": "https://activeprospect.com/products/trustedform/",
"subscribed": true
}
]
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The code for the current product
lcx, trustedform, suppressionlist, account "lcx"
Show child attributes
Show child attributes