Follow Up Boss and Affinity
curl --request POST \
--url https://win.oneshotagent.com/v1/tools/crm/opportunitiesimport requests
url = "https://win.oneshotagent.com/v1/tools/crm/opportunities"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://win.oneshotagent.com/v1/tools/crm/opportunities', 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://win.oneshotagent.com/v1/tools/crm/opportunities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://win.oneshotagent.com/v1/tools/crm/opportunities"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://win.oneshotagent.com/v1/tools/crm/opportunities")
.asString();require 'uri'
require 'net/http'
url = URI("https://win.oneshotagent.com/v1/tools/crm/opportunities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyConnections
Follow Up Boss and Affinity
CRM mappings, filters and pagination for Follow Up Boss and Affinity
POST
/
v1
/
tools
/
crm
/
opportunities
Follow Up Boss and Affinity
curl --request POST \
--url https://win.oneshotagent.com/v1/tools/crm/opportunitiesimport requests
url = "https://win.oneshotagent.com/v1/tools/crm/opportunities"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://win.oneshotagent.com/v1/tools/crm/opportunities', 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://win.oneshotagent.com/v1/tools/crm/opportunities",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://win.oneshotagent.com/v1/tools/crm/opportunities"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://win.oneshotagent.com/v1/tools/crm/opportunities")
.asString();require 'uri'
require 'net/http'
url = URI("https://win.oneshotagent.com/v1/tools/crm/opportunities")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyReads contacts and opportunities from Follow Up Boss, and accounts, contacts and opportunities from Affinity.
Follow Up Boss
- No company object, so
account_idis unsupported. - Active deals return
status: open. Lifecycle flags such as Archived do not establish a won/lost outcome, sowonandlostfilters are unsupported. - Deal currency and update time are unavailable;
updated_sinceis supported for contacts only. - Contacts use the primary email and phone when marked, otherwise the first. Contact stage, lead source, assignee and last activity are omitted.
sourceidentifies the system and record, not the lead’s acquisition source.
Affinity
- Opportunities traverse one list per page.
nameincludes the list name followed by the entity name;idis the list-entry id;stageis the list’s Status dropdown text.- Explicit Won/Closed Won and Lost/Closed Lost labels map to
wonandlost. Other labels map toopen, never inferred from dropdown rank. - Company entries link directly to their account. Other records use the requested associated organization, otherwise the lowest id.
- Unavailable amounts, currency, owner, close date and update times are null.
updated_sinceis not supported.
next_cursor exists, including empty filtered pages. Keep the cursor unchanged; a continuation exceeding the CRM cursor limit returns not_supported.
Both systems
- Unsupported filters return
400 unsupported_for_systembefore payment. - Tickets and activity return
unsupported_read; Follow Up Boss also rejects accounts. CRM writes are not served. - Follow Up Boss connects with a sign-in. Affinity connects with an API key, entered in the console or through the connections endpoint.