Get a suggested field update set
curl --request GET \
--url https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}', 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://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}",
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: Bearer <token>"
],
]);
$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://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"status": "done",
"subject": {
"type": "note",
"id": 6789
},
"suggestionCount": 2,
"pendingSuggestionCount": 0,
"suggestions": [
{
"id": "0b1f5a2e-3c4d-4e5f-8a9b-1c2d3e4f5a6b",
"status": "accepted",
"company": {
"id": 101
},
"person": null,
"opportunity": null,
"list": {
"id": 12,
"name": "Deal Pipeline"
},
"listEntry": {
"id": 3456
},
"field": {
"id": "field-1234",
"name": "Stage",
"valueType": "dropdown"
},
"currentValue": {
"type": "dropdown",
"data": {
"dropdownOptionId": 1,
"text": "Intro"
}
},
"suggestedValue": {
"type": "dropdown",
"data": {
"dropdownOptionId": 2,
"text": "Diligence"
}
},
"acceptedValue": {
"type": "dropdown",
"data": {
"dropdownOptionId": 2,
"text": "Diligence"
}
},
"failureReason": null
},
{
"id": "1c2a6b3f-4d5e-4f60-9bac-2d3e4f5a6b7c",
"status": "edited",
"company": null,
"person": {
"id": 202
},
"opportunity": null,
"list": null,
"listEntry": null,
"field": {
"id": "field-5678",
"name": "Job Title",
"valueType": "text"
},
"currentValue": {
"type": "text",
"data": "Finance Director"
},
"suggestedValue": {
"type": "text",
"data": "Chief Financial Officer"
},
"acceptedValue": {
"type": "text",
"data": "CFO"
},
"failureReason": null
}
],
"createdAt": "2026-10-06T12:00:00Z",
"resolvedAt": "2026-10-06T12:10:00Z"
}Suggested Field Updates
Get a suggested field update set
| ⚠️ This endpoint is currently in BETA |
|---|
The endpoint returns 404 when AI agents access is not enabled for the organization.
Retrieve a set of suggested field updates with all of its suggestions. suggestions is empty while status is pending.
Returns 404 when the set is not yours or its subject is not accessible to you.
GET
/
v2
/
suggested-field-updates
/
{suggestedFieldUpdateId}
Get a suggested field update set
curl --request GET \
--url https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}', 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://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}",
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: Bearer <token>"
],
]);
$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://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.affinity.co/v2/suggested-field-updates/{suggestedFieldUpdateId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"status": "done",
"subject": {
"type": "note",
"id": 6789
},
"suggestionCount": 2,
"pendingSuggestionCount": 0,
"suggestions": [
{
"id": "0b1f5a2e-3c4d-4e5f-8a9b-1c2d3e4f5a6b",
"status": "accepted",
"company": {
"id": 101
},
"person": null,
"opportunity": null,
"list": {
"id": 12,
"name": "Deal Pipeline"
},
"listEntry": {
"id": 3456
},
"field": {
"id": "field-1234",
"name": "Stage",
"valueType": "dropdown"
},
"currentValue": {
"type": "dropdown",
"data": {
"dropdownOptionId": 1,
"text": "Intro"
}
},
"suggestedValue": {
"type": "dropdown",
"data": {
"dropdownOptionId": 2,
"text": "Diligence"
}
},
"acceptedValue": {
"type": "dropdown",
"data": {
"dropdownOptionId": 2,
"text": "Diligence"
}
},
"failureReason": null
},
{
"id": "1c2a6b3f-4d5e-4f60-9bac-2d3e4f5a6b7c",
"status": "edited",
"company": null,
"person": {
"id": 202
},
"opportunity": null,
"list": null,
"listEntry": null,
"field": {
"id": "field-5678",
"name": "Job Title",
"valueType": "text"
},
"currentValue": {
"type": "text",
"data": "Finance Director"
},
"suggestedValue": {
"type": "text",
"data": "Chief Financial Officer"
},
"acceptedValue": {
"type": "text",
"data": "CFO"
},
"failureReason": null
}
],
"createdAt": "2026-10-06T12:00:00Z",
"resolvedAt": "2026-10-06T12:10:00Z"
}Authorizations
Path Parameters
Response
OK
Field updates an Affinity agent suggested from one note or meeting. Each suggestion waits for you to accept or reject it, and nothing is written to the CRM until you accept.
The status of a set of suggested field updates.
pending: suggestions are being generated.suggestionsis empty.open: at least one suggestion ispending.done: every suggestion is decided, none were generated, or a newer set was generated for the same subject.expired: the set's expiry passed, so it can no longer be decided. No expiry is set today.failed: generation failed.
Available options:
pending, open, done, expired, failed Example:
"open"
Was this page helpful?