---
title: "Set how many packs of an add-on the organisation holds"
description: "Admins only, on a paid plan, from an interactive Studio browser session (API keys and connected agents are rejected)."
canonical: "https://grid82.com/docs/builder-api/billing/addons"
updated: "2026-11-20"
---

# Set how many packs of an add-on the organisation holds

`POST https://studio.grid82.app/v1/organizations/{organizationId}/billing/addons`

Admins only, on a paid plan, from an interactive Studio browser session (API keys and connected agents are rejected).

`packs` is the number held after the call, not a number to add; 0 removes it. More packs are charged now, prorated, and a declined card refuses the change; fewer are credited on the next invoice. Sold this way: `steps_50k`, 50,000 more workflow steps a month per pack, and `ai_250k`, 250,000 more AI credits a month per pack. Refused while a plan change is scheduled; 501 while billing is not connected.

Requires the `account:write` scope. Operation `billing.addons`. Not an MCP tool. Buying is a person's act in a browser: the handler refuses every key and every connected agent, so as a tool it could only ever fail. CLI: `grid82 billing addons` (`npx @grid82/cli`).

## Path parameters

| Name             | Type   | Required | Description |
| ---------------- | ------ | -------- | ----------- |
| `organizationId` | string | yes      |             |

## Headers

| Name              | Type   | Required | Description                                                                                                                                                                                                                                                        |
| ----------------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Idempotency-Key` | string | no       | Any unique string. Sending the same key with the same request again returns the first response (marked `Idempotency-Replayed: true`) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |

## Request body

| Field   | Type    | Required | Description              |
| ------- | ------- | -------- | ------------------------ |
| `addon` | string  | yes      |                          |
| `packs` | integer | yes      | At least 0. At most 200. |

**Authorizations**

- `Authorization` (bearer, in header, required)

## Response

**200**: Success

- `data` (`object`, required)
- `data.addon` (`string`, required)
- `data.packs` (`integer`, required)
- `data.changed` (`boolean`, required)

```json
{
  "data": {
    "addon": "<string>",
    "packs": 123,
    "changed": true
  }
}
```

**4XX**: Refused

- `error` (`object`, required)
- `error.code` (`enum<string>`, required, one of: `not_found, forbidden, unauthenticated, validation_failed, conflict, rate_limited, payment_required, not_implemented, internal`)
- `error.message` (`string`, required)
- `error.details` (`Record<string, unknown>`)

```json
{
  "error": {
    "code": "not_found",
    "message": "<string>",
    "details": {}
  }
}
```

**Example request**

```bash
curl --request POST \
  --url 'https://studio.grid82.app/v1/organizations/<organizationId>/billing/addons' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "addon": "<string>",
  "packs": 123
}'
```
