---
title: "Set the names and copy this partner's customers see [admin]"
method: PUT
path: "/partner/brand"
tags: ["partner"]
---

# Set the names and copy this partner's customers see \[admin\]

`PUT /partner/brand`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/partner/brand`
- Auth: HTTP bearer

All fields together. A partial brand is refused rather than half-applied: every field left unset falls back to a platform value carrying our name, which would reach their customer.

## Request body

- PartnerBrand
  - `productName` string, required
  - `requestIdHeader` string, required: Written into responses verbatim; must look like x-something.
  - `spendGateHeader` string, required: Must look like x-something.
  - `spendGateMessage` string, required: What this partner's customer reads when their balance is empty.
  - `billingUrl` string, uri, required
  - `docsUrl` string, uri, required
  - `supportUrl` string, uri, required
  - `frameAncestors` string, uri, required: A bare https origin naming one of this partner's own hostnames — it becomes the CSP on their customers' session pages.

## Response `200`

Saved

- object
  - `partner` Partner
    - `id` string
    - `slug` string
    - `name` string
    - `status` 'pending' | 'active' | 'suspended'
    - `key_prefix` string, nullable: Null until claimed.
    - `brand` object
    - `brand_missing` string[]: Brand fields still falling back to ours.
    - `rate_limit_per_min` integer, nullable
    - `hostname_quota` integer
    - `hostnames` PartnerHostname[]
      - `hostname` string
      - `plane` 'API' | 'GATEWAY' | 'APP' | 'ACCOUNTS' | 'STUDIO_POOL' | 'STUDIO_WILDCARD'
      - `ssl_status` string
      - `serving` boolean: Only a serving hostname counts toward going live.

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - added the optional property `error/request_id` to the response with the `default` status

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/partner/brand/put.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
