curl --request PUT \
--url https://api.gominerva.com/idv/v1/themes/{themeId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"company_name": "<string>",
"colors": {
"primary": "<string>",
"primary_foreground": "<string>",
"background": "<string>",
"foreground": "<string>",
"accent": "<string>"
},
"revision": 123
}
'import requests
url = "https://api.gominerva.com/idv/v1/themes/{themeId}"
payload = {
"name": "<string>",
"company_name": "<string>",
"colors": {
"primary": "<string>",
"primary_foreground": "<string>",
"background": "<string>",
"foreground": "<string>",
"accent": "<string>"
},
"revision": 123
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
company_name: '<string>',
colors: {
primary: '<string>',
primary_foreground: '<string>',
background: '<string>',
foreground: '<string>',
accent: '<string>'
},
revision: 123
})
};
fetch('https://api.gominerva.com/idv/v1/themes/{themeId}', 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.gominerva.com/idv/v1/themes/{themeId}",
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([
'name' => '<string>',
'company_name' => '<string>',
'colors' => [
'primary' => '<string>',
'primary_foreground' => '<string>',
'background' => '<string>',
'foreground' => '<string>',
'accent' => '<string>'
],
'revision' => 123
]),
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.gominerva.com/idv/v1/themes/{themeId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"colors\": {\n \"primary\": \"<string>\",\n \"primary_foreground\": \"<string>\",\n \"background\": \"<string>\",\n \"foreground\": \"<string>\",\n \"accent\": \"<string>\"\n },\n \"revision\": 123\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.gominerva.com/idv/v1/themes/{themeId}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"colors\": {\n \"primary\": \"<string>\",\n \"primary_foreground\": \"<string>\",\n \"background\": \"<string>\",\n \"foreground\": \"<string>\",\n \"accent\": \"<string>\"\n },\n \"revision\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gominerva.com/idv/v1/themes/{themeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"colors\": {\n \"primary\": \"<string>\",\n \"primary_foreground\": \"<string>\",\n \"background\": \"<string>\",\n \"foreground\": \"<string>\",\n \"accent\": \"<string>\"\n },\n \"revision\": 123\n}"
response = http.request(request)
puts response.read_body{
"data": {
"theme_id": "<string>",
"tenant_id": "<string>",
"workspace_id": "<string>",
"name": "<string>",
"status": "draft",
"is_default": true,
"logo": {
"asset_id": "<string>",
"content_type": "image/png",
"width": 2,
"height": 2
},
"logo_square": {
"asset_id": "<string>",
"content_type": "image/png",
"width": 2,
"height": 2
},
"colors": {
"primary": "<string>",
"primary_foreground": "<string>",
"background": "<string>",
"foreground": "<string>",
"accent": "<string>"
},
"font_family": "",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"revision": 2,
"company_name": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}Replace a theme
Requires the expected revision via If-Match: <revision> or body revision; 409 on a concurrent update. 409 idv_theme_archived while archived. Never touches status, the managed logo, or is_default; those have dedicated endpoints. Sessions already created keep their copied presentation.
curl --request PUT \
--url https://api.gominerva.com/idv/v1/themes/{themeId} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"company_name": "<string>",
"colors": {
"primary": "<string>",
"primary_foreground": "<string>",
"background": "<string>",
"foreground": "<string>",
"accent": "<string>"
},
"revision": 123
}
'import requests
url = "https://api.gominerva.com/idv/v1/themes/{themeId}"
payload = {
"name": "<string>",
"company_name": "<string>",
"colors": {
"primary": "<string>",
"primary_foreground": "<string>",
"background": "<string>",
"foreground": "<string>",
"accent": "<string>"
},
"revision": 123
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
company_name: '<string>',
colors: {
primary: '<string>',
primary_foreground: '<string>',
background: '<string>',
foreground: '<string>',
accent: '<string>'
},
revision: 123
})
};
fetch('https://api.gominerva.com/idv/v1/themes/{themeId}', 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.gominerva.com/idv/v1/themes/{themeId}",
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([
'name' => '<string>',
'company_name' => '<string>',
'colors' => [
'primary' => '<string>',
'primary_foreground' => '<string>',
'background' => '<string>',
'foreground' => '<string>',
'accent' => '<string>'
],
'revision' => 123
]),
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.gominerva.com/idv/v1/themes/{themeId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"colors\": {\n \"primary\": \"<string>\",\n \"primary_foreground\": \"<string>\",\n \"background\": \"<string>\",\n \"foreground\": \"<string>\",\n \"accent\": \"<string>\"\n },\n \"revision\": 123\n}")
req, _ := http.NewRequest("PUT", 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.put("https://api.gominerva.com/idv/v1/themes/{themeId}")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"colors\": {\n \"primary\": \"<string>\",\n \"primary_foreground\": \"<string>\",\n \"background\": \"<string>\",\n \"foreground\": \"<string>\",\n \"accent\": \"<string>\"\n },\n \"revision\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gominerva.com/idv/v1/themes/{themeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"company_name\": \"<string>\",\n \"colors\": {\n \"primary\": \"<string>\",\n \"primary_foreground\": \"<string>\",\n \"background\": \"<string>\",\n \"foreground\": \"<string>\",\n \"accent\": \"<string>\"\n },\n \"revision\": 123\n}"
response = http.request(request)
puts response.read_body{
"data": {
"theme_id": "<string>",
"tenant_id": "<string>",
"workspace_id": "<string>",
"name": "<string>",
"status": "draft",
"is_default": true,
"logo": {
"asset_id": "<string>",
"content_type": "image/png",
"width": 2,
"height": 2
},
"logo_square": {
"asset_id": "<string>",
"content_type": "image/png",
"width": 2,
"height": 2
},
"colors": {
"primary": "<string>",
"primary_foreground": "<string>",
"background": "<string>",
"foreground": "<string>",
"accent": "<string>"
},
"font_family": "",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"revision": 2,
"company_name": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}{
"error": {
"code": "idv_session_not_found",
"message": "<string>"
}
}Authorizations
Authorization: Api-Key <application_api_key> (legacy X-Api-Key also accepted).
Headers
Expected revision (takes precedence over body revision).
Path Parameters
^idvt_[0-9a-f]{24}$Body
1 - 120Empty string = unset.
80Canonical lowercase #rrggbb values only (validated + normalized at write time). Each color is null/omitted when unset.
Show child attributes
Show child attributes
Empty string = unset; otherwise the closed allowlist.
, Inter, system-ui, Roboto, Open Sans, Lato, Montserrat Create only: draft (default) or active; archived is rejected. PUT rejects it.
draft, active Replace only: the CAS expectation (or use If-Match).
Response
Replaced
Workspace-scoped reusable presentation block (replaces the inline workflow branding). Non-PII but an INJECTION SURFACE into the consumer page and invite email, so every field is a closed grammar; logos are managed uploads only (external URLs and SVG are unsupported by design).
Show child attributes
Show child attributes