Patch Project
curl --request PATCH \
--url https://api.statisfy.app/sdk/v1/projects/{project_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Statisfy-Publishable-Key: <api-key>' \
--data '
{
"properties": {}
}
'import requests
url = "https://api.statisfy.app/sdk/v1/projects/{project_id}"
payload = { "properties": {} }
headers = {
"Authorization": "Bearer <token>",
"X-Statisfy-Publishable-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-Statisfy-Publishable-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({properties: {}})
};
fetch('https://api.statisfy.app/sdk/v1/projects/{project_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.statisfy.app/sdk/v1/projects/{project_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([
'properties' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"X-Statisfy-Publishable-Key: <api-key>"
],
]);
$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.app/sdk/v1/projects/{project_id}"
payload := strings.NewReader("{\n \"properties\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("X-Statisfy-Publishable-Key", "<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.statisfy.app/sdk/v1/projects/{project_id}")
.header("Authorization", "Bearer <token>")
.header("X-Statisfy-Publishable-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"properties\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.app/sdk/v1/projects/{project_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["X-Statisfy-Publishable-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"properties\": {}\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"properties": {},
"display": {},
"schema": [
{
"key": "<string>",
"label": "<string>",
"type": "<string>",
"field_type": "<string>",
"editable": false,
"options": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
]
}
],
"progress": {
"percent": 123,
"completed": 0,
"total": 0
},
"tasks": [
{
"id": "<string>",
"parent_id": "<string>",
"is_milestone": false,
"status": "<string>",
"step_status": "upcoming",
"properties": {},
"display": {}
}
],
"tasks_schema": [
{
"key": "<string>",
"label": "<string>",
"type": "<string>",
"field_type": "<string>",
"editable": false,
"options": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
]
}
]
},
"meta": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}sdk
Patch Project
Diff-update the project’s standard fields.
v0 has no editable project-level fields, so any supplied key is rejected as not_editable;
the endpoint exists so the contract is complete and standard-field writes slot in here later.
PATCH
/
sdk
/
v1
/
projects
/
{project_id}
Patch Project
curl --request PATCH \
--url https://api.statisfy.app/sdk/v1/projects/{project_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Statisfy-Publishable-Key: <api-key>' \
--data '
{
"properties": {}
}
'import requests
url = "https://api.statisfy.app/sdk/v1/projects/{project_id}"
payload = { "properties": {} }
headers = {
"Authorization": "Bearer <token>",
"X-Statisfy-Publishable-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-Statisfy-Publishable-Key': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({properties: {}})
};
fetch('https://api.statisfy.app/sdk/v1/projects/{project_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.statisfy.app/sdk/v1/projects/{project_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([
'properties' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"X-Statisfy-Publishable-Key: <api-key>"
],
]);
$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.app/sdk/v1/projects/{project_id}"
payload := strings.NewReader("{\n \"properties\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("X-Statisfy-Publishable-Key", "<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.statisfy.app/sdk/v1/projects/{project_id}")
.header("Authorization", "Bearer <token>")
.header("X-Statisfy-Publishable-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"properties\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.statisfy.app/sdk/v1/projects/{project_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["X-Statisfy-Publishable-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"properties\": {}\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"properties": {},
"display": {},
"schema": [
{
"key": "<string>",
"label": "<string>",
"type": "<string>",
"field_type": "<string>",
"editable": false,
"options": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
]
}
],
"progress": {
"percent": 123,
"completed": 0,
"total": 0
},
"tasks": [
{
"id": "<string>",
"parent_id": "<string>",
"is_milestone": false,
"status": "<string>",
"step_status": "upcoming",
"properties": {},
"display": {}
}
],
"tasks_schema": [
{
"key": "<string>",
"label": "<string>",
"type": "<string>",
"field_type": "<string>",
"editable": false,
"options": [
{
"value": "<string>",
"label": "<string>",
"color": "<string>"
}
]
}
]
},
"meta": {}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Minted portal-session JWT (see the Portal SDK guide for the token exchange).
Your SDK publishable key.
Path Parameters
Body
application/json
Diff body for PATCH — only the changed canonical values.
display is read-only and ignored if sent; the server writes properties only.
Was this page helpful?
⌘I