curl --request POST \
--url https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base_value": 75,
"hold_days": 30,
"reason": "Champion left last week.",
"value": 60
}
'import requests
url = "https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}"
payload = {
"base_value": 75,
"hold_days": 30,
"reason": "Champion left last week.",
"value": 60
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({base_value: 75, hold_days: 30, reason: 'Champion left last week.', value: 60})
};
fetch('https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}', 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.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'base_value' => 75,
'hold_days' => 30,
'reason' => 'Champion left last week.',
'value' => 60
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}"
payload := strings.NewReader("{\n \"base_value\": 75,\n \"hold_days\": 30,\n \"reason\": \"Champion left last week.\",\n \"value\": 60\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base_value\": 75,\n \"hold_days\": 30,\n \"reason\": \"Champion left last week.\",\n \"value\": 60\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"base_value\": 75,\n \"hold_days\": 30,\n \"reason\": \"Champion left last week.\",\n \"value\": 60\n}"
response = http.request(request)
puts response.read_body{
"changed": true,
"field": "probability",
"held_until": "2026-12-31T00:00:00Z",
"opportunity_id": "1042"
}Change a renewal's forecast field
Overrules the AI on one renewal field through the app’s own AI-field edit: probability, expected_amount, decision or risks (Renewal Size follows the expected amount, so it is not edited). Send value (null clears it), the base_value you are replacing and a reason, which the next assessment reads. The AI leaves your value for hold_days or until hold_until (one, not both), or by default for your workspace’s hold on a field it has written and not at all on one it has not; a person’s change to probability or expected_amount holds the renewal’s forecast, so Re-assess is refused until the hold ends. A 409 when the stored value is no longer base_value (nothing is saved; read it again and retry). A 422 for a value out of range (probability 0-100, expected_amount 0 to 9223372036854775807, a finite number), of the wrong type, or a missing reason. A 404 for an unknown or deleted opportunity, or when renewal forecasting was never set up. Through the API a Member changes only the renewals on accounts in their book (403 otherwise); the app does not limit this. A digital worker’s key is a 403: renewals are a person’s workflow. The edit is the key’s person’s: a personal key or MCP login, or else the member who created the key; a key no current member stands behind is a 403. The opportunity update (PATCH /v1/objects/opportunity/records/) still refuses these fields. Needs AI CSP, as Renewals does in the app: other workspaces get a 403 not_entitled.
curl --request POST \
--url https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"base_value": 75,
"hold_days": 30,
"reason": "Champion left last week.",
"value": 60
}
'import requests
url = "https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}"
payload = {
"base_value": 75,
"hold_days": 30,
"reason": "Champion left last week.",
"value": 60
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({base_value: 75, hold_days: 30, reason: 'Champion left last week.', value: 60})
};
fetch('https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}', 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.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'base_value' => 75,
'hold_days' => 30,
'reason' => 'Champion left last week.',
'value' => 60
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}"
payload := strings.NewReader("{\n \"base_value\": 75,\n \"hold_days\": 30,\n \"reason\": \"Champion left last week.\",\n \"value\": 60\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"base_value\": 75,\n \"hold_days\": 30,\n \"reason\": \"Champion left last week.\",\n \"value\": 60\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/renewals/{opportunity_id}/fields/{field}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"base_value\": 75,\n \"hold_days\": 30,\n \"reason\": \"Champion left last week.\",\n \"value\": 60\n}"
response = http.request(request)
puts response.read_body{
"changed": true,
"field": "probability",
"held_until": "2026-12-31T00:00:00Z",
"opportunity_id": "1042"
}Authorizations
An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.
Path Parameters
probability (Renewal Forecast, 0-100), expected_amount (Renewal Expected Amount, 0 or more), decision (Renewal Decision: renewing or not_renewing) or risks (Renewal Risks, a list of risk names)
probability, expected_amount, decision, risks "probability"
Body
Response
Successful Response
Was this page helpful?