Get public branding information
curl --request GET \
--url https://v1.api.altostrat.io/organizations/{id}/brandingimport requests
url = "https://v1.api.altostrat.io/organizations/{id}/branding"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v1.api.altostrat.io/organizations/{id}/branding', 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://v1.api.altostrat.io/organizations/{id}/branding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://v1.api.altostrat.io/organizations/{id}/branding"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://v1.api.altostrat.io/organizations/{id}/branding")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.api.altostrat.io/organizations/{id}/branding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "ACME Corporation",
"picture": "https://cdn.altostrat.io/logos/acme.png",
"branding": {
"display_name": "ACME Corp",
"login_hint": "acme-corp",
"colors": {
"primary": "#FF5733",
"page_background": "#FFFFFF"
}
}
}{
"type": "not_found_error",
"code": "resource_not_found",
"message": "Organization not found.",
"doc_url": "https://docs.altostrat.io/errors/resource_not_found"
}Public
Get public branding information
Retrieves the public branding information for an organization, such as its display name, logo, and theme colors. You can use either the organization’s primary ID (org_...) or its external UUID as the identifier. This is a public, unauthenticated endpoint.
GET
/
organizations
/
{id}
/
branding
Get public branding information
curl --request GET \
--url https://v1.api.altostrat.io/organizations/{id}/brandingimport requests
url = "https://v1.api.altostrat.io/organizations/{id}/branding"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://v1.api.altostrat.io/organizations/{id}/branding', 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://v1.api.altostrat.io/organizations/{id}/branding",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://v1.api.altostrat.io/organizations/{id}/branding"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://v1.api.altostrat.io/organizations/{id}/branding")
.asString();require 'uri'
require 'net/http'
url = URI("https://v1.api.altostrat.io/organizations/{id}/branding")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"name": "ACME Corporation",
"picture": "https://cdn.altostrat.io/logos/acme.png",
"branding": {
"display_name": "ACME Corp",
"login_hint": "acme-corp",
"colors": {
"primary": "#FF5733",
"page_background": "#FFFFFF"
}
}
}{
"type": "not_found_error",
"code": "resource_not_found",
"message": "Organization not found.",
"doc_url": "https://docs.altostrat.io/errors/resource_not_found"
}Path Parameters
The ID (org_...) or external UUID of the organization.
Was this page helpful?