---
title: "Import a brand kit"
description: "Build a profile from a website (url, or a bare domain) or the brand's own words (text). `POST /api/v1/brand-kits/imports`"
url: https://www.unitpost.com/docs/email/post-brand-kits-imports
section: "Email API reference"
updated: 2026-10-13
---
# Import a brand kit

`POST /api/v1/brand-kits/imports`

Build a profile from a website (`url`, or a bare domain) or the brand's own words (`text`). It runs in the background, usually under a minute (`202`; follow it with [Retrieve a brand kit import](https://www.unitpost.com/docs/email/get-brand-kits-imports-id)). By default the result is applied when it lands: to `brand_kit_id`, else the default profile, or a new one when the default already has content. With `review: true` it stops at a proposal (`preview_ready`) for [Accept a brand kit import](https://www.unitpost.com/docs/email/post-brand-kits-imports-id-accept); one review import is open at a time, and a new one replaces it. Applying an import started here never adds a sending domain (add one with [Add a domain](https://www.unitpost.com/docs/email/post-email-domains)). Requires the `branding:write` capability.

## Request body

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | no | The site to read: an https URL or a bare domain (`acme.com`). |
| `text` | string | no | Or paste the brand's own words (an about page, a style guide). |
| `website_url` | string \| null | no | With `text`: the brand's site, for the profile. |
| `brand_kit_id` | string | no | The profile to fill (`bk_…`). Default: the default profile, or a new one when it already has content. |
| `review` | boolean | no | `true` stops at the proposal for you to accept (POST …/accept); default `false` applies it when ready. |
| `sync_visual` | boolean | no | Also set the email branding's accent from the imported colors (the default profile only). |

## Response fields (202)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | string | yes | — |
| `id` | string | yes | — |
| `status` | enum | yes | `preview_ready`: the proposal waits for an accept (review imports) or is being applied (one-shot); with an `error` on a one-shot import, applying it failed: accept or cancel it. One of: `pending`, `running`, `preview_ready`, `completed`, `failed`, `cancelled`. |
| `review` | boolean | yes | Whether it waits for an accept (false: applied when the crawl lands). |
| `source` | object | yes | — |
| `brand_kit_id` | string \| null | yes | The profile it fills. |
| `proposal` | object \| null | yes | What the import found, once ready. |
| `warnings` | string[] | yes | — |
| `error` | string \| null | yes | — |
| `created_at` | string | yes | — |
| `updated_at` | string | yes | — |
| `completed_at` | string \| null | yes | — |

## Responses

| Status | Description |
| --- | --- |
| 202 | The import (`pending`, or `failed` when the importer couldn't be reached). |
| 400 | The body isn't JSON. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope (`branding:write` is opt-in on a key). |
| 404 | `brand_kit_id` not found. |
| 422 | Neither or both of `url` and `text`, an invalid site, or an unknown key or query key. |
| 429 | Too many imports; retry after the wait. |

## Example request

```bash
curl -X POST 'https://www.unitpost.com/api/v1/brand-kits/imports' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0' \
  -H 'Content-Type: application/json' \
  -d '{ }'
```

## Example response (202)

```json
{
  "object": "brand_import",
  "id": "id_123",
  "status": "pending",
  "review": false,
  "source": {
    "kind": "url",
    "url": "https://example.com"
  },
  "brand_kit_id": "brand_kit_123",
  "proposal": {
    "name": "Example",
    "website_url": "https://example.com",
    "description": "string",
    "tone": "NEUTRAL",
    "voice_notes": "string",
    "industry": "string",
    "core_pages": [
      {
        "url": "https://example.com",
        "title": "string"
      }
    ],
    "extracted": {
      "colors": [
        {
          "hex": "string",
          "label": "string"
        }
      ],
      "logo_urls": [
        "string"
      ],
      "background_urls": [
        "string"
      ],
      "fonts": [
        "string"
      ]
    },
    "memory_facts": [
      {
        "key": "string",
        "content": "string"
      }
    ]
  },
  "warnings": [
    "string"
  ],
  "error": "string",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "completed_at": "2026-01-01T00:00:00.000Z"
}
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/email/post-brand-kits-imports
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
