curl --request PUT \
--url https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square \
--header 'Authorization: <api-key>' \
--header 'Content-Type: image/png' \
--data '"<string>"'import requests
url = "https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square"
payload = "<string>"
headers = {
"Authorization": "<api-key>",
"Content-Type": "image/png"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'image/png'},
body: JSON.stringify('<string>')
};
fetch('https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square', 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}/logo/square",
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('<string>'),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: image/png"
],
]);
$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}/logo/square"
payload := strings.NewReader("\"<string>\"")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "image/png")
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}/logo/square")
.header("Authorization", "<api-key>")
.header("Content-Type", "image/png")
.body("\"<string>\"")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square")
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"] = 'image/png'
request.body = "\"<string>\""
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>"
}
}Upload the square logo
Square (1:1) QR-centre mark; an INDEPENDENT asset slot from the wide header logo (no forced crop, so the tenant controls the mark’s framing). Raw body (not multipart), Content-Type image/png|image/jpeg|image/webp, hard cap 2 MiB (413 idv_logo_too_large). The image is decoded (400 idv_logo_invalid_image for undecodable bytes or sides under 32px), downscaled aspect-preserving when the max side exceeds 1024px, and re-encoded to PNG (alpha preserved, ancillary metadata stripped). Each upload mints an IMMUTABLE asset id; prior assets are retained so session copies keep resolving. 409 idv_theme_archived while archived.
curl --request PUT \
--url https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square \
--header 'Authorization: <api-key>' \
--header 'Content-Type: image/png' \
--data '"<string>"'import requests
url = "https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square"
payload = "<string>"
headers = {
"Authorization": "<api-key>",
"Content-Type": "image/png"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: '<api-key>', 'Content-Type': 'image/png'},
body: JSON.stringify('<string>')
};
fetch('https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square', 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}/logo/square",
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('<string>'),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: image/png"
],
]);
$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}/logo/square"
payload := strings.NewReader("\"<string>\"")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "image/png")
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}/logo/square")
.header("Authorization", "<api-key>")
.header("Content-Type", "image/png")
.body("\"<string>\"")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gominerva.com/idv/v1/themes/{themeId}/logo/square")
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"] = 'image/png'
request.body = "\"<string>\""
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).
Path Parameters
^idvt_[0-9a-f]{24}$Body
The body is of type file.
Response
Updated theme (logo_square reference swapped)
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