curl
# Requires the core:configure key scope.
curl -X PUT "https://api.triggr-app.com/api/v1/core/forms/<slug>/config/clients/<clientId>" \
-H "Authorization: Bearer $TRIGGR_API_KEY" \
-H "If-Match: $ETAG" \
-H "Content-Type: application/json" \
-d '{
"execConfig": {
"baseAccess": {
"licenses": [
"Microsoft 365 Business Premium"
],
"groups": [
"All Staff"
],
"mailboxes": []
}
}
}'// Requires the core:configure key scope.
const res = await fetch("https://api.triggr-app.com/api/v1/core/forms/<slug>/config/clients/<clientId>", {
method: "PUT",
headers: {
"Authorization": `Bearer ${process.env.TRIGGR_API_KEY}`,
"Content-Type": "application/json",
"If-Match": etag,
},
body: JSON.stringify({
"execConfig": {
"baseAccess": {
"licenses": [
"Microsoft 365 Business Premium"
],
"groups": [
"All Staff"
],
"mailboxes": []
}
}
}),
});
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 = @'
{
"execConfig": {
"baseAccess": {
"licenses": [
"Microsoft 365 Business Premium"
],
"groups": [
"All Staff"
],
"mailboxes": []
}
}
}
'@
Invoke-RestMethod -Method Put -Uri 'https://api.triggr-app.com/api/v1/core/forms/<slug>/config/clients/<clientId>' -Headers $headers -ContentType 'application/json' -Body $bodyimport requests
url = "https://api.triggr-app.com/api/v1/core/forms/{slug}/config/clients/{clientId}"
payload = { "execConfig": { "baseAccess": {
"groups": ["All Staff"],
"licenses": ["Microsoft 365 Business Premium"],
"mailboxes": []
} } }
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({
execConfig: {
baseAccess: {
groups: ['All Staff'],
licenses: ['Microsoft 365 Business Premium'],
mailboxes: []
}
}
})
};
fetch('https://api.triggr-app.com/api/v1/core/forms/{slug}/config/clients/{clientId}', 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/clients/{clientId}",
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([
'execConfig' => [
'baseAccess' => [
'groups' => [
'All Staff'
],
'licenses' => [
'Microsoft 365 Business Premium'
],
'mailboxes' => [
]
]
]
]),
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/clients/{clientId}"
payload := strings.NewReader("{\n \"execConfig\": {\n \"baseAccess\": {\n \"groups\": [\n \"All Staff\"\n ],\n \"licenses\": [\n \"Microsoft 365 Business Premium\"\n ],\n \"mailboxes\": []\n }\n }\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/clients/{clientId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"execConfig\": {\n \"baseAccess\": {\n \"groups\": [\n \"All Staff\"\n ],\n \"licenses\": [\n \"Microsoft 365 Business Premium\"\n ],\n \"mailboxes\": []\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.triggr-app.com/api/v1/core/forms/{slug}/config/clients/{clientId}")
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 \"execConfig\": {\n \"baseAccess\": {\n \"groups\": [\n \"All Staff\"\n ],\n \"licenses\": [\n \"Microsoft 365 Business Premium\"\n ],\n \"mailboxes\": []\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"client": {
"availability": null,
"createdAt": "2026-03-01T09:00:00Z",
"enabled": true,
"etag": "\"c93de1740b6a2f85e0d4c118\"",
"execConfig": {
"baseAccess": {
"groups": [
"All Staff"
],
"licenses": [
"Microsoft 365 Business Premium"
],
"mailboxes": []
}
},
"formConfig": {
"sections": [
{
"id": "std-identity",
"title": "Who is leaving"
}
]
},
"listOnHomepage": false,
"updatedAt": "2026-09-06T16:41:02Z"
},
"clientId": "c1d2e3f4-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"slug": "offboarding"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Core configuration
Write a client's override (merge)
Same merge rules and If-Match atomicity as the base; "availability": "inherit" clears the override. Recompiles that client’s workflow. The example only adds base access — a body of {} changes nothing. Requires the core:configure key scope.
PUT
/
api
/
v1
/
core
/
forms
/
{slug}
/
config
/
clients
/
{clientId}
curl
# Requires the core:configure key scope.
curl -X PUT "https://api.triggr-app.com/api/v1/core/forms/<slug>/config/clients/<clientId>" \
-H "Authorization: Bearer $TRIGGR_API_KEY" \
-H "If-Match: $ETAG" \
-H "Content-Type: application/json" \
-d '{
"execConfig": {
"baseAccess": {
"licenses": [
"Microsoft 365 Business Premium"
],
"groups": [
"All Staff"
],
"mailboxes": []
}
}
}'// Requires the core:configure key scope.
const res = await fetch("https://api.triggr-app.com/api/v1/core/forms/<slug>/config/clients/<clientId>", {
method: "PUT",
headers: {
"Authorization": `Bearer ${process.env.TRIGGR_API_KEY}`,
"Content-Type": "application/json",
"If-Match": etag,
},
body: JSON.stringify({
"execConfig": {
"baseAccess": {
"licenses": [
"Microsoft 365 Business Premium"
],
"groups": [
"All Staff"
],
"mailboxes": []
}
}
}),
});
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 = @'
{
"execConfig": {
"baseAccess": {
"licenses": [
"Microsoft 365 Business Premium"
],
"groups": [
"All Staff"
],
"mailboxes": []
}
}
}
'@
Invoke-RestMethod -Method Put -Uri 'https://api.triggr-app.com/api/v1/core/forms/<slug>/config/clients/<clientId>' -Headers $headers -ContentType 'application/json' -Body $bodyimport requests
url = "https://api.triggr-app.com/api/v1/core/forms/{slug}/config/clients/{clientId}"
payload = { "execConfig": { "baseAccess": {
"groups": ["All Staff"],
"licenses": ["Microsoft 365 Business Premium"],
"mailboxes": []
} } }
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({
execConfig: {
baseAccess: {
groups: ['All Staff'],
licenses: ['Microsoft 365 Business Premium'],
mailboxes: []
}
}
})
};
fetch('https://api.triggr-app.com/api/v1/core/forms/{slug}/config/clients/{clientId}', 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/clients/{clientId}",
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([
'execConfig' => [
'baseAccess' => [
'groups' => [
'All Staff'
],
'licenses' => [
'Microsoft 365 Business Premium'
],
'mailboxes' => [
]
]
]
]),
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/clients/{clientId}"
payload := strings.NewReader("{\n \"execConfig\": {\n \"baseAccess\": {\n \"groups\": [\n \"All Staff\"\n ],\n \"licenses\": [\n \"Microsoft 365 Business Premium\"\n ],\n \"mailboxes\": []\n }\n }\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/clients/{clientId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"execConfig\": {\n \"baseAccess\": {\n \"groups\": [\n \"All Staff\"\n ],\n \"licenses\": [\n \"Microsoft 365 Business Premium\"\n ],\n \"mailboxes\": []\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.triggr-app.com/api/v1/core/forms/{slug}/config/clients/{clientId}")
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 \"execConfig\": {\n \"baseAccess\": {\n \"groups\": [\n \"All Staff\"\n ],\n \"licenses\": [\n \"Microsoft 365 Business Premium\"\n ],\n \"mailboxes\": []\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"client": {
"availability": null,
"createdAt": "2026-03-01T09:00:00Z",
"enabled": true,
"etag": "\"c93de1740b6a2f85e0d4c118\"",
"execConfig": {
"baseAccess": {
"groups": [
"All Staff"
],
"licenses": [
"Microsoft 365 Business Premium"
],
"mailboxes": []
}
},
"formConfig": {
"sections": [
{
"id": "std-identity",
"title": "Who is leaving"
}
]
},
"listOnHomepage": false,
"updatedAt": "2026-09-06T16:41:02Z"
},
"clientId": "c1d2e3f4-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
"slug": "offboarding"
}{
"error": "<string>"
}{
"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
Body
application/json
Merge semantics: omitted keeps, null clears (formConfig/execConfig), an object replaces the whole section
⌘I

