ブランド

ロゴ・色・書体・言葉づかい・決まりと、AI への指示書

エンドポイント
GET/v1/brand

会社のブランドを取得

このワークスペースのブランド(ロゴ・主色・役目ごとの色・書体・言葉づかい・決まり)を返します。Tooon の資料・名刺・帳票と同じものです。brief は同じデータから作った AI への指示書で、外の AI に資料や文章を作らせるときにそのまま渡せます。

返る項目data の中身 · 200

  • companyNamestring
  • accentColorstring | null

    主色(#から始まる6けた)。未設定なら null(Tooon の標準)

  • colorsobject[]

    役目ごとに決めた色。決めていない役目は入らない

    中の項目 2
    • roleenum

      ink: 見出し / body: 本文 / muted: 補足 / paper: 紙 / soft: 面 / line: 線

      inkbodymutedpapersoftline
    • hexstring
  • fontsobject
    中の項目 2
    • sansstring | null

      本文・見出しの書体

    • displaystring | null

      見出しだけの書体

  • voiceobject
    中の項目 2
    • tonestring | null

      言葉づかい・トーン

    • avoidobject[]

      使わない言葉と、代わりに使う言葉

      中の項目 2
      • termstring
      • preferstring | null
  • rulesobject[]

    守る決まり(理由と出典つき)

    中の項目 4
    • idstring
    • textstring
    • reasonstring | null

      なぜそうするか

    • sourceobject | null

      読み取ったガイドなどの出典

      中の項目 2
      • namestring
      • pageinteger | null
  • logosobject[]
    中の項目 7
    • idstring
    • namestring
    • urlstring

      公開のURL

    • variantenum

      horizontal: 横長 / square: 正方形 / onDark: 濃い地用

      horizontalsquareonDark
    • mimeTypestring | null
    • widthinteger | null
    • heightinteger | null
  • briefstring

    同じデータから作った AI への指示書(Markdown)。資料や文章を作らせるときにそのまま渡せます

  • updatedAtstring (date-time) | null

起こりうるエラー共通のエラー

  • 403insufficient_scope

    キーにこの入口の権限(scope)が付いていない。requiredScopes に必要な権限が入ります

GET/v1/brand
curl https://tooon.app/api/v1/brand \
  -H "Authorization: Bearer $TOOON_API_KEY"
レスポンス
{
  "data": {
    "companyName": "山田デザイン事務所",
    "accentColor": "…",
    "colors": [
      {
        "role": "ink",
        "hex": "…"
      }
    ],
    "fonts": {
      "sans": "…",
      "display": "…"
    },
    "voice": {
      "tone": "…",
      "avoid": [
        {
          "term": "…",
          "prefer": "…"
        }
      ]
    },
    "rules": [
      {
        "id": "clx8k2m0a0001",
        "text": "…",
        "reason": "…",
        "source": {
          "name": "山田 太郎",
          "page": 0
        }
      }
    ],
    "logos": [
      {
        "id": "clx8k2m0a0001",
        "name": "山田 太郎",
        "url": "https://tooon.app/…",
        "variant": "horizontal",
        "mimeType": "…",
        "width": 0,
        "height": 0
      }
    ],
    "brief": "…",
    "updatedAt": "2026-11-01T09:00:00.000Z"
  }
}