curl
# Requires the core:configure key scope.
curl -X PUT "https://api.triggr-app.com/api/v1/core/forms/<slug>/config" \
-H "Authorization: Bearer $TRIGGR_API_KEY" \
-H "If-Match: $ETAG" \
-H "Content-Type: application/json" \
-d '{
"availability": "both",
"listOnHomepage": true
}'// Requires the core:configure key scope.
const res = await fetch("https://api.triggr-app.com/api/v1/core/forms/<slug>/config", {
method: "PUT",
headers: {
"Authorization": `Bearer ${process.env.TRIGGR_API_KEY}`,
"Content-Type": "application/json",
"If-Match": etag,
},
body: JSON.stringify({
"availability": "both",
"listOnHomepage": true
}),
});
if (!res.ok) throw new Error(`Triggr ${res.status}: ${await res.text()}`);
const data = await res.json();# Requires the core:configure key scope.
$headers = @{
Authorization = "Bearer $env:TRIGGR_API_KEY"
'If-Match' = $etag
}
$body = @'
{
"availability": "both",
"listOnHomepage": true
}
'@
Invoke-RestMethod -Method Put -Uri 'https://api.triggr-app.com/api/v1/core/forms/<slug>/config' -Headers $headers -ContentType 'application/json' -Body $bodyimport requests
url = "https://api.triggr-app.com/api/v1/core/forms/{slug}/config"
payload = {
"availability": "both",
"listOnHomepage": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({availability: 'both', listOnHomepage: true})
};
fetch('https://api.triggr-app.com/api/v1/core/forms/{slug}/config', 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.triggr-app.com/api/v1/core/forms/{slug}/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'availability' => 'both',
'listOnHomepage' => true
]),
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.triggr-app.com/api/v1/core/forms/{slug}/config"
payload := strings.NewReader("{\n \"availability\": \"both\",\n \"listOnHomepage\": true\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.triggr-app.com/api/v1/core/forms/{slug}/config")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"availability\": \"both\",\n \"listOnHomepage\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.triggr-app.com/api/v1/core/forms/{slug}/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"availability\": \"both\",\n \"listOnHomepage\": true\n}"
response = http.request(request)
puts response.read_body{
"base": {
"availability": "both",
"createdAt": "2026-03-01T09:00:00Z",
"enabled": true,
"etag": "\"6b1f0a92c47d3e8514ab27f0\"",
"execConfig": {
"approval": {
"mode": "internal"
}
},
"formConfig": {
"sections": [
{
"id": "std-identity",
"title": "Who is leaving"
}
]
},
"listOnHomepage": true,
"updatedAt": "2026-09-06T16:41:02Z"
},
"slug": "offboarding"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Core configuration
Write the base config (merge)
Omitted fields keep their value; formConfig / execConfig are replaced as whole units; JSON null clears one. Re-syncs every client’s compiled workflow. With If-Match the write is atomic: it is refused (412) if any save happened after the version you read. Requires the core:configure key scope.
PUT
/
api
/
v1
/
core
/
forms
/
{slug}
/
config
curl
# Requires the core:configure key scope.
curl -X PUT "https://api.triggr-app.com/api/v1/core/forms/<slug>/config" \
-H "Authorization: Bearer $TRIGGR_API_KEY" \
-H "If-Match: $ETAG" \
-H "Content-Type: application/json" \
-d '{
"availability": "both",
"listOnHomepage": true
}'// Requires the core:configure key scope.
const res = await fetch("https://api.triggr-app.com/api/v1/core/forms/<slug>/config", {
method: "PUT",
headers: {
"Authorization": `Bearer ${process.env.TRIGGR_API_KEY}`,
"Content-Type": "application/json",
"If-Match": etag,
},
body: JSON.stringify({
"availability": "both",
"listOnHomepage": true
}),
});
if (!res.ok) throw new Error(`Triggr ${res.status}: ${await res.text()}`);
const data = await res.json();# Requires the core:configure key scope.
$headers = @{
Authorization = "Bearer $env:TRIGGR_API_KEY"
'If-Match' = $etag
}
$body = @'
{
"availability": "both",
"listOnHomepage": true
}
'@
Invoke-RestMethod -Method Put -Uri 'https://api.triggr-app.com/api/v1/core/forms/<slug>/config' -Headers $headers -ContentType 'application/json' -Body $bodyimport requests
url = "https://api.triggr-app.com/api/v1/core/forms/{slug}/config"
payload = {
"availability": "both",
"listOnHomepage": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({availability: 'both', listOnHomepage: true})
};
fetch('https://api.triggr-app.com/api/v1/core/forms/{slug}/config', 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.triggr-app.com/api/v1/core/forms/{slug}/config",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'availability' => 'both',
'listOnHomepage' => true
]),
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.triggr-app.com/api/v1/core/forms/{slug}/config"
payload := strings.NewReader("{\n \"availability\": \"both\",\n \"listOnHomepage\": true\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.triggr-app.com/api/v1/core/forms/{slug}/config")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"availability\": \"both\",\n \"listOnHomepage\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.triggr-app.com/api/v1/core/forms/{slug}/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"availability\": \"both\",\n \"listOnHomepage\": true\n}"
response = http.request(request)
puts response.read_body{
"base": {
"availability": "both",
"createdAt": "2026-03-01T09:00:00Z",
"enabled": true,
"etag": "\"6b1f0a92c47d3e8514ab27f0\"",
"execConfig": {
"approval": {
"mode": "internal"
}
},
"formConfig": {
"sections": [
{
"id": "std-identity",
"title": "Who is leaving"
}
]
},
"listOnHomepage": true,
"updatedAt": "2026-09-06T16:41:02Z"
},
"slug": "offboarding"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Organisation API key. Scoped operations carry x-triggr-scope; the scopes themselves are described in x-triggr-scopes.
Headers
The etag from the last read
Path Parameters
Body
application/json
Merge semantics: omitted keeps, null clears (formConfig/execConfig), an object replaces the whole section
⌘I

