curl --request PATCH \
--url https://api.attention.tech/v2/scorecards/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Sales Discovery Scorecard (v2)",
"enabled": false
}
'import requests
url = "https://api.attention.tech/v2/scorecards/{id}"
payload = {
"title": "Sales Discovery Scorecard (v2)",
"enabled": False
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: 'Sales Discovery Scorecard (v2)', enabled: false})
};
fetch('https://api.attention.tech/v2/scorecards/{id}', 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.attention.tech/v2/scorecards/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Sales Discovery Scorecard (v2)',
'enabled' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.attention.tech/v2/scorecards/{id}"
payload := strings.NewReader("{\n \"title\": \"Sales Discovery Scorecard (v2)\",\n \"enabled\": false\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
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.patch("https://api.attention.tech/v2/scorecards/{id}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Sales Discovery Scorecard (v2)\",\n \"enabled\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.attention.tech/v2/scorecards/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Sales Discovery Scorecard (v2)\",\n \"enabled\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "sc-uuid-123",
"title": "Sales Discovery Scorecard",
"organizationId": "org-uuid-456",
"allTeams": true,
"enabled": true,
"interactionType": "conversation",
"expertMode": false,
"isDefaultTemplate": false,
"createdAt": "2026-04-16T10:15:00Z"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}Update Scorecard
Partially updates a scorecard. Only fields present in the request body are modified; omitted fields retain their current values. Requires an org-scoped API key.
curl --request PATCH \
--url https://api.attention.tech/v2/scorecards/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Sales Discovery Scorecard (v2)",
"enabled": false
}
'import requests
url = "https://api.attention.tech/v2/scorecards/{id}"
payload = {
"title": "Sales Discovery Scorecard (v2)",
"enabled": False
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({title: 'Sales Discovery Scorecard (v2)', enabled: false})
};
fetch('https://api.attention.tech/v2/scorecards/{id}', 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.attention.tech/v2/scorecards/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Sales Discovery Scorecard (v2)',
'enabled' => false
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"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.attention.tech/v2/scorecards/{id}"
payload := strings.NewReader("{\n \"title\": \"Sales Discovery Scorecard (v2)\",\n \"enabled\": false\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "<api-key>")
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.patch("https://api.attention.tech/v2/scorecards/{id}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Sales Discovery Scorecard (v2)\",\n \"enabled\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.attention.tech/v2/scorecards/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Sales Discovery Scorecard (v2)\",\n \"enabled\": false\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "sc-uuid-123",
"title": "Sales Discovery Scorecard",
"organizationId": "org-uuid-456",
"allTeams": true,
"enabled": true,
"interactionType": "conversation",
"expertMode": false,
"isDefaultTemplate": false,
"createdAt": "2026-04-16T10:15:00Z"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}{
"id": "not_found_error",
"status": "404",
"code": "404",
"title": "Not Found Error",
"detail": "The requested resource was not found",
"source": {
"pointer": "/data/attributes/id"
}
}Authorizations
Path Parameters
Scorecard UUID
Body
Fields to update. All fields are optional; at least one must be provided.
Partial update payload for a scorecard. All fields are optional; at least one must be present.
Replacement title (1-128 characters, trimmed).
Reassign the scorecard to a specific team. Mutually exclusive with allTeams=true.
Reassign the scorecard to every team. Mutually exclusive with teamId.
Toggle the scorecard active state.
Type of interaction the scorecard evaluates.
conversation, chat, email "conversation"
Replacement detailed instructions (0-2000 characters).
Replacement expert-mode prompt (0-8000 characters).
Toggle expert mode.
Label-based criteria that gate when a scorecard is applied to an interaction.
Show child attributes
Show child attributes
{
"operator": "AND",
"conditions": [
{
"field": "label-uuid-123",
"value": "option-uuid-456"
}
]
}
Response
Scorecard successfully updated
Single-resource envelope wrapping a Scorecard.
A scorecard template used to evaluate a conversation, chat, or email.
Show child attributes
Show child attributes
{
"id": "sc-uuid-123",
"title": "Sales Discovery Scorecard",
"organizationId": "org-uuid-456",
"teamId": "team-uuid-789",
"allTeams": false,
"enabled": true,
"interactionType": "conversation",
"detailedInstructions": "Focus on discovery quality and next-step commitments.",
"scorecardPrompt": "",
"expertMode": false,
"isDefaultTemplate": false,
"criteria": { "operator": "AND", "conditions": [] },
"createdAt": "2026-04-16T10:15:00Z"
}
Was this page helpful?