> ## Documentation Index
> Fetch the complete documentation index at: https://polar.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# polar organizations

> Arguments and flags for every polar organizations command

```bash theme={null}
polar organizations <subcommand> [flags]
```

**Subcommands**

* [`polar organizations add_embed_hosts`](#polar-organizations-add_embed_hosts) Allow hosts to embed an organization's checkout. (preview, API 2027-01)
* [`polar organizations get`](#polar-organizations-get) Get an organization by ID.
* [`polar organizations list`](#polar-organizations-list) List organizations.
* [`polar organizations list_embed_hosts`](#polar-organizations-list_embed_hosts) List the hosts allowed to embed an organization's checkout. (preview, API 2027-01)
* [`polar organizations remove_embed_host`](#polar-organizations-remove_embed_host) Stop a host from embedding an organization's checkout. (preview, API 2027-01)

## polar organizations add\_embed\_hosts

Allow hosts to embed an organization's checkout. (preview, API 2027-01)

```bash theme={null}
polar organizations add_embed_hosts [flags] <id>
```

**Arguments**

| Argument | Type | Description |
| - | - | - |
| `id` | `string` | |

**Flags**

| Flag | Type | Description |
| - | - | - |
| `--fields` | `string` | Only print these fields, comma-separated; use dots for nested ones, e.g. id,name,prices.price\_amount |
| `--org` | `string` | Organization ID or slug for this invocation only |
| `--data`, `-d` | `string` | JSON object; explicitly supplied flags override its top-level keys |
| `--hosts` | `string` | Required. Hosts allowed to embed this organization's checkout. An entry is a host and an optional port, without a scheme: HTTPS is always allowed, and HTTP too for local hosts — `localhost`, any `.localhost` or `.local` name, and loopback or private addresses. `*.example.com` matches any subdomain, but not `example.com` itself. An app origin such as `chrome-extension://abcdef` carries its scheme, having no host to match on. |

## polar organizations get

Get an organization by ID.

```bash theme={null}
polar organizations get [flags] <id>
```

**Arguments**

| Argument | Type | Description |
| - | - | - |
| `id` | `string` | |

**Flags**

| Flag | Type | Description |
| - | - | - |
| `--fields` | `string` | Only print these fields, comma-separated; use dots for nested ones, e.g. id,name,prices.price\_amount |
| `--org` | `string` | Organization ID or slug for this invocation only |

## polar organizations list

List organizations.

```bash theme={null}
polar organizations list [flags]
```

**Flags**

| Flag | Type | Description |
| - | - | - |
| `--fields` | `string` | Only print these fields, comma-separated; use dots for nested ones, e.g. id,name,prices.price\_amount |
| `--org` | `string` | Organization ID or slug for this invocation only |
| `--data`, `-d` | `string` | JSON object; explicitly supplied flags override its top-level keys |
| `--slug` | `string` | Filter by slug. |
| `--page` | `integer` | Page number, defaults to 1. |
| `--limit` | `integer` | Size of a page, defaults to 10. Maximum is 100. |
| `--sorting` | `choice` | Sorting criterion. Several criteria can be used simultaneously and will be applied in order. Add a minus sign `-` before the criteria name to sort by descending order. (choices: created\_at, -created\_at, slug, -slug, name, -name, next\_review\_threshold, -next\_review\_threshold, days\_in\_status, -days\_in\_status) |

## polar organizations list\_embed\_hosts

List the hosts allowed to embed an organization's checkout. (preview, API 2027-01)

```bash theme={null}
polar organizations list_embed_hosts [flags] <id>
```

**Arguments**

| Argument | Type | Description |
| - | - | - |
| `id` | `string` | |

**Flags**

| Flag | Type | Description |
| - | - | - |
| `--fields` | `string` | Only print these fields, comma-separated; use dots for nested ones, e.g. id,name,prices.price\_amount |
| `--org` | `string` | Organization ID or slug for this invocation only |

## polar organizations remove\_embed\_host

Stop a host from embedding an organization's checkout. (preview, API 2027-01)

```bash theme={null}
polar organizations remove_embed_host [flags] <id>
```

**Arguments**

| Argument | Type | Description |
| - | - | - |
| `id` | `string` | |

**Flags**

| Flag | Type | Description |
| - | - | - |
| `--confirm`, `-c` | `boolean` | Skip the confirmation prompt for destructive requests |
| `--fields` | `string` | Only print these fields, comma-separated; use dots for nested ones, e.g. id,name,prices.price\_amount |
| `--org` | `string` | Organization ID or slug for this invocation only |
| `--data`, `-d` | `string` | JSON object; explicitly supplied flags override its top-level keys |
| `--host` | `string` | Required. The host to remove, as written on the list. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.