Listar modelos de organização disponíveis
RegistosGET /tenant/organization-templates
List published templates from the account's administrative organization
Returns the published templates of the organization that administers this tenant, taken from the active organization link or else the owning organization. The list is empty when the tenant has neither. Only utility staff with business:organization:read can call it.
Devolve
200 Published templates available for explicit adoption
Mostrar atributos
keyversionnamedescriptionsettingsPortable setting snapshots. Implemented kinds are tariffs, billing_schedules, automation_rules, notification_templates, and connector_definitions. Secret references, health state, customer data, and other tenant records are rejected or omitted; connectors are created disabled and schedules remain paused.
idorganization_idstateum de
draft,publishedcreated_bypublished_bypublished_atcreated_at
Erros 403
Permissões business:organization:read · Funções: admin, analyst, billing_clerk, customer_service, field_reader, field_supervisor, finance, operations, owner, viewer
curl -X GET "$BUSINESS_API/tenant/organization-templates" \
-H "Authorization: Bearer sk_test_..."
# Sem comando CLI equivalente; use cURL ou HTTP directo.
const res = await fetch("$BUSINESS_API/tenant/organization-templates", {
method: "GET",
headers: {
Authorization: "Bearer sk_test_..."
}
});
const data = await res.json();
import requests
res = requests.get(
"$BUSINESS_API/tenant/organization-templates",
headers={
"Authorization": "Bearer sk_test_..."
}
)
data = res.json()
req, _ := http.NewRequest("GET", "$BUSINESS_API/tenant/organization-templates", nil)
req.Header.Set("Authorization", "Bearer sk_test_...")
resp, err := http.DefaultClient.Do(req)
[
{
"key": "key",
"version": "version",
"name": "Ana Matsinhe",
"description": "Leitura confirmada no local.",
"settings": {},
"id": "org_2sCTxsOpzeEdvmgLlwMjjwUVH08",
"organization_id": "org_2ZNeUPlw01Za6RbKMZDGGbR4cV5",
"state": "draft",
"created_by": "created by",
"published_by": "published by",
"published_at": "2026-11-19T09:30:00Z",
"created_at": "2026-11-19T09:30:00Z"
}
]