Change your own settings
curl --request PATCH \
--url https://api.statisfy.com/v1/settings/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email_customer_sentiment_change": null,
"email_key_contact_sentiment_change": null,
"email_loop_in_due": null,
"email_support_reply_due": null,
"email_task_update": null,
"email_workbench_digest": null,
"notetaker_disabled_domains": null,
"notetaker_join_external_meeting": null,
"notetaker_join_internal_meeting": null,
"slack_loop_in_due": null,
"slack_support_reply_due": null,
"slack_workbench_digest": null,
"user_email_notification_config": null,
"user_slack_notification_config": null
}
'import requests
url = "https://api.statisfy.com/v1/settings/me"
payload = {
"email_customer_sentiment_change": None,
"email_key_contact_sentiment_change": None,
"email_loop_in_due": None,
"email_support_reply_due": None,
"email_task_update": None,
"email_workbench_digest": None,
"notetaker_disabled_domains": None,
"notetaker_join_external_meeting": None,
"notetaker_join_internal_meeting": None,
"slack_loop_in_due": None,
"slack_support_reply_due": None,
"slack_workbench_digest": None,
"user_email_notification_config": None,
"user_slack_notification_config": None
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email_customer_sentiment_change: null,
email_key_contact_sentiment_change: null,
email_loop_in_due: null,
email_support_reply_due: null,
email_task_update: null,
email_workbench_digest: null,
notetaker_disabled_domains: null,
notetaker_join_external_meeting: null,
notetaker_join_internal_meeting: null,
slack_loop_in_due: null,
slack_support_reply_due: null,
slack_workbench_digest: null,
user_email_notification_config: null,
user_slack_notification_config: null
})
};
fetch('https://api.statisfy.com/v1/settings/me', 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/settings/me",
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([
'email_customer_sentiment_change' => null,
'email_key_contact_sentiment_change' => null,
'email_loop_in_due' => null,
'email_support_reply_due' => null,
'email_task_update' => null,
'email_workbench_digest' => null,
'notetaker_disabled_domains' => null,
'notetaker_join_external_meeting' => null,
'notetaker_join_internal_meeting' => null,
'slack_loop_in_due' => null,
'slack_support_reply_due' => null,
'slack_workbench_digest' => null,
'user_email_notification_config' => null,
'user_slack_notification_config' => null
]),
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/settings/me"
payload := strings.NewReader("{\n \"email_customer_sentiment_change\": null,\n \"email_key_contact_sentiment_change\": null,\n \"email_loop_in_due\": null,\n \"email_support_reply_due\": null,\n \"email_task_update\": null,\n \"email_workbench_digest\": null,\n \"notetaker_disabled_domains\": null,\n \"notetaker_join_external_meeting\": null,\n \"notetaker_join_internal_meeting\": null,\n \"slack_loop_in_due\": null,\n \"slack_support_reply_due\": null,\n \"slack_workbench_digest\": null,\n \"user_email_notification_config\": null,\n \"user_slack_notification_config\": null\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.statisfy.com/v1/settings/me")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email_customer_sentiment_change\": null,\n \"email_key_contact_sentiment_change\": null,\n \"email_loop_in_due\": null,\n \"email_support_reply_due\": null,\n \"email_task_update\": null,\n \"email_workbench_digest\": null,\n \"notetaker_disabled_domains\": null,\n \"notetaker_join_external_meeting\": null,\n \"notetaker_join_internal_meeting\": null,\n \"slack_loop_in_due\": null,\n \"slack_support_reply_due\": null,\n \"slack_workbench_digest\": null,\n \"user_email_notification_config\": null,\n \"user_slack_notification_config\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/settings/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email_customer_sentiment_change\": null,\n \"email_key_contact_sentiment_change\": null,\n \"email_loop_in_due\": null,\n \"email_support_reply_due\": null,\n \"email_task_update\": null,\n \"email_workbench_digest\": null,\n \"notetaker_disabled_domains\": null,\n \"notetaker_join_external_meeting\": null,\n \"notetaker_join_internal_meeting\": null,\n \"slack_loop_in_due\": null,\n \"slack_support_reply_due\": null,\n \"slack_workbench_digest\": null,\n \"user_email_notification_config\": null,\n \"user_slack_notification_config\": null\n}"
response = http.request(request)
puts response.read_body{
"email_customer_sentiment_change": true,
"email_key_contact_sentiment_change": true,
"email_loop_in_due": true,
"email_support_reply_due": true,
"email_task_update": true,
"email_workbench_digest": true,
"notetaker_disabled_domains": [
"competitor.com"
],
"notetaker_join_external_meeting": true,
"notetaker_join_internal_meeting": false,
"slack_loop_in_due": true,
"slack_support_reply_due": true,
"slack_workbench_digest": true,
"user_email_notification_config": true,
"user_slack_notification_config": true
}settings
Change your own settings
Changes only the settings sent, as your save in Settings > Profile does, and returns all of them. Every value is checked before anything is written: any problem refuses the whole request with a 422 that lists each one in details. null is refused. A NoteTaker setting without an AI Notetaker seat is a 403 not_entitled. A person’s key only: a workspace key is a 403.
PATCH
/
v1
/
settings
/
me
Change your own settings
curl --request PATCH \
--url https://api.statisfy.com/v1/settings/me \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email_customer_sentiment_change": null,
"email_key_contact_sentiment_change": null,
"email_loop_in_due": null,
"email_support_reply_due": null,
"email_task_update": null,
"email_workbench_digest": null,
"notetaker_disabled_domains": null,
"notetaker_join_external_meeting": null,
"notetaker_join_internal_meeting": null,
"slack_loop_in_due": null,
"slack_support_reply_due": null,
"slack_workbench_digest": null,
"user_email_notification_config": null,
"user_slack_notification_config": null
}
'import requests
url = "https://api.statisfy.com/v1/settings/me"
payload = {
"email_customer_sentiment_change": None,
"email_key_contact_sentiment_change": None,
"email_loop_in_due": None,
"email_support_reply_due": None,
"email_task_update": None,
"email_workbench_digest": None,
"notetaker_disabled_domains": None,
"notetaker_join_external_meeting": None,
"notetaker_join_internal_meeting": None,
"slack_loop_in_due": None,
"slack_support_reply_due": None,
"slack_workbench_digest": None,
"user_email_notification_config": None,
"user_slack_notification_config": None
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
email_customer_sentiment_change: null,
email_key_contact_sentiment_change: null,
email_loop_in_due: null,
email_support_reply_due: null,
email_task_update: null,
email_workbench_digest: null,
notetaker_disabled_domains: null,
notetaker_join_external_meeting: null,
notetaker_join_internal_meeting: null,
slack_loop_in_due: null,
slack_support_reply_due: null,
slack_workbench_digest: null,
user_email_notification_config: null,
user_slack_notification_config: null
})
};
fetch('https://api.statisfy.com/v1/settings/me', 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/settings/me",
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([
'email_customer_sentiment_change' => null,
'email_key_contact_sentiment_change' => null,
'email_loop_in_due' => null,
'email_support_reply_due' => null,
'email_task_update' => null,
'email_workbench_digest' => null,
'notetaker_disabled_domains' => null,
'notetaker_join_external_meeting' => null,
'notetaker_join_internal_meeting' => null,
'slack_loop_in_due' => null,
'slack_support_reply_due' => null,
'slack_workbench_digest' => null,
'user_email_notification_config' => null,
'user_slack_notification_config' => null
]),
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/settings/me"
payload := strings.NewReader("{\n \"email_customer_sentiment_change\": null,\n \"email_key_contact_sentiment_change\": null,\n \"email_loop_in_due\": null,\n \"email_support_reply_due\": null,\n \"email_task_update\": null,\n \"email_workbench_digest\": null,\n \"notetaker_disabled_domains\": null,\n \"notetaker_join_external_meeting\": null,\n \"notetaker_join_internal_meeting\": null,\n \"slack_loop_in_due\": null,\n \"slack_support_reply_due\": null,\n \"slack_workbench_digest\": null,\n \"user_email_notification_config\": null,\n \"user_slack_notification_config\": null\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.statisfy.com/v1/settings/me")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"email_customer_sentiment_change\": null,\n \"email_key_contact_sentiment_change\": null,\n \"email_loop_in_due\": null,\n \"email_support_reply_due\": null,\n \"email_task_update\": null,\n \"email_workbench_digest\": null,\n \"notetaker_disabled_domains\": null,\n \"notetaker_join_external_meeting\": null,\n \"notetaker_join_internal_meeting\": null,\n \"slack_loop_in_due\": null,\n \"slack_support_reply_due\": null,\n \"slack_workbench_digest\": null,\n \"user_email_notification_config\": null,\n \"user_slack_notification_config\": null\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.com/v1/settings/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"email_customer_sentiment_change\": null,\n \"email_key_contact_sentiment_change\": null,\n \"email_loop_in_due\": null,\n \"email_support_reply_due\": null,\n \"email_task_update\": null,\n \"email_workbench_digest\": null,\n \"notetaker_disabled_domains\": null,\n \"notetaker_join_external_meeting\": null,\n \"notetaker_join_internal_meeting\": null,\n \"slack_loop_in_due\": null,\n \"slack_support_reply_due\": null,\n \"slack_workbench_digest\": null,\n \"user_email_notification_config\": null,\n \"user_slack_notification_config\": null\n}"
response = http.request(request)
puts response.read_body{
"email_customer_sentiment_change": true,
"email_key_contact_sentiment_change": true,
"email_loop_in_due": true,
"email_support_reply_due": true,
"email_task_update": true,
"email_workbench_digest": true,
"notetaker_disabled_domains": [
"competitor.com"
],
"notetaker_join_external_meeting": true,
"notetaker_join_internal_meeting": false,
"slack_loop_in_due": true,
"slack_support_reply_due": true,
"slack_workbench_digest": true,
"user_email_notification_config": true,
"user_slack_notification_config": true
}Authorizations
An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.
Body
application/json
Only the settings sent are changed.
Response
200 - application/json
Successful Response
Was this page helpful?