# grant

URL: /business/nouns/offer/grant · Id: `verb:Offer.grant` · Call: `await $.Offer.grant({ … })` (SDK) or the `do` tool at `https://api.sb/mcp`. Inputs says what to pass, Outputs what returns, When it waits who approves.

> Grant adds an Entitlement to an Offer: a Verb its Customers may call, optionally bounded by a Limit.

Grant adds an [Entitlement](/business/nouns/entitlement) to an [Offer](/business/nouns/offer): a [Verb](/business/nouns/verb) its [Customers](/business/nouns/customer) may call, optionally bounded by a [Limit](/business/nouns/limit).

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `offer` | [Offer](/business/nouns/offer) | Yes | The Offer that grants it. |
| `verb` | [Verb](/business/nouns/verb) | Yes | The Verb its Customers may call, as `Noun.verb`. |
| `limit` | [Limit](/business/nouns/limit) | No | The Limit that bounds it. Unset: a feature, called as often as the Customer likes. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `entitlement` | [Entitlement](/business/nouns/entitlement) | Yes | The new Entitlement, granted by the Offer. |
| `offer` | [Offer](/business/nouns/offer) | Yes | The Offer, with the Entitlement added. |

## Effects
- Emits [`Offer.granted`](/business/events/Offer.granted).
- Performed by the [Product Lead](/agents/product/product-lead).
- Two-way: it runs at once, in the `try`, `send` and `do` modes.
- Every Customer holding the Offer holds the Entitlement on their next call; no Subscription changes.
- Adds the Verb to the Offer’s row in the pricing table and the Portal’s plan comparison.

## Refuses when
| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | [Offer.grant](/business/nouns/offer/grant) |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Low: two-way, nothing at stake |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | None: it runs once review passes. |
| Limit | The call [Limit](/business/nouns/limit) of the [Permission](/business/nouns/permission) it runs under. |
| Over the Limit | It waits `pending` for an [Approval](/business/nouns/approval) from the [Founder](/agents/founding/founder). Approved, it runs; refused, it ends `refused` with [`limit-exceeded`](/code/api/errors/limit-exceeded); unanswered by its deadline, it ends `canceled`. |

## Example

**Ask**

```text
Grant the offer “Saturday sourdough” with a verb.
```

**API**

```bash
curl -X POST https://api.sb/kilnbakery.com/offers/offer_1/grant \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"verb":"verb_1"}'
```

```json
{
  "api": "https://api.sb/kilnbakery.com",
  "entitlement": {
    "$id": "https://api.sb/kilnbakery.com/entitlements/entitlement_1",
    "$type": "Entitlement",
    "verb": "verb_1"
  },
  "offer": {
    "$id": "https://api.sb/kilnbakery.com/offers/offer_1",
    "$type": "Offer",
    "price": {
      "amount": 9,
      "currency": "USD"
    }
  },
  "action": {
    "$id": "https://api.sb/kilnbakery.com/actions/action_1",
    "operation": "Offer.grant",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/kilnbakery.com/actions/action_1"
  }
}
```

**SDK**

```ts
import { $ } from 'startup-builder'

const { entitlement, offer } = await $.Offer.grant({ offer: 'offer_1', verb: 'verb_1' })
```

**CLI**

```bash
npx startup-builder do Offer.grant --json '{"offer":"offer_1","verb":"verb_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Offer.grant({ offer: 'offer_1', verb: 'verb_1' })"
  }
}
```

Next: [`Offer.update`](/business/nouns/offer/update) (in `guide:cap-usage-on-a-plan`).

Guides that call it: [Lock a feature to a plan](/products/offers/lock-a-feature-to-a-plan), [Cap usage on a plan](/products/offers/cap-usage-on-a-plan).