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

# goody_order_batches_list

> List previously-sent gift batches in a workspace, most recent first.

**Permission:** `Read` · **Workspace:** required (from `goody_workspaces_list`)

Lists previously-sent gift batches in a workspace, most recent first. This is how you answer "what did I send recently?".

## Parameters

**workspace\_id** `string` *required*

Workspace UUID — from `goody_workspaces_list`. Listing is always scoped to this workspace.

**page** `integer` (default: 1)

Page number, starting at `1`.

**per\_page** `integer` (default: 25)

Batches per page. Defaults to `25`, max `100`.

## Returns

**order\_batches** `object[]`

Batch summaries, most recent first. Each object also includes additional summary fields beyond those listed here.

**order batch**

**id** `string`

Batch UUID — pass as `order_batch_id` to [`goody_order_batches_get`](https://developer.ongoody.com/mcp-reference/tools/order-batches-get) or [`goody_orders_list`](https://developer.ongoody.com/mcp-reference/tools/orders-list).

**batch\_name** `string | null`

The batch's name.

**send\_status** `string`

Where the batch is in its lifecycle.

**from\_name** `string | null`

The "From" name recipients see.

**message** `string | null`

The gift-card message.

**funding\_source** `string | null`

`card`, `balance`, `workspace_balance`, `corporate_account`, or `commerce_stored_value`; null when unknown or for commerce app orders. For a batch, this describes the selected funding source, not a combined payment result for its orders.

**payment\_method\_id** `string (uuid) | null`

Goody card payment method UUID, including inactive cards. Null for account funding, commerce app orders, or when the card is unknown.

**orders\_count** `integer`

Number of orders in the batch.

**recipients\_count** `integer`

Number of recipients.

**scheduled\_send\_on** `string | null`

When the batch is scheduled to send, if scheduled.

**total\_count** `integer`

Total number of batches across all pages.

## Example

```text 💬 Prompt theme={null}
"Show me my last few gifts."
```

```json 🔧 Tool call theme={null}
{
  "name": "goody_order_batches_list",
  "arguments": { "workspace_id": "3f8a…", "per_page": 3 }
}
```

```json ↩️ Result theme={null}
{
  "order_batches": [
    {
      "id": "b92e…",
      "batch_name": "Q2 client thank-yous",
      "send_status": "sent",
      "from_name": "Jordan at Acme",
      "message": "Thank you for a great quarter, {{firstname}}!",
      "funding_source": "card",
      "payment_method_id": "79eec4e2-9022-4d4d-b9e1-81ca2807db2f",
      "orders_count": 12,
      "recipients_count": 12,
      "scheduled_send_on": null
    },
    {
      "id": "4a07…",
      "batch_name": "Welcome — new hires",
      "send_status": "scheduled",
      "from_name": "The Acme Team",
      "message": "Welcome aboard, {{firstname}}!",
      "funding_source": "workspace_balance",
      "payment_method_id": null,
      "orders_count": 3,
      "recipients_count": 3,
      "scheduled_send_on": "2026-07-01T09:00:00Z"
    }
  ],
  "total_count": 47
}
```

> [!TIP]
>
> For the full detail of one batch use [`goody_order_batches_get`](https://developer.ongoody.com/mcp-reference/tools/order-batches-get); to list the individual orders inside a batch use [`goody_orders_list`](https://developer.ongoody.com/mcp-reference/tools/orders-list).


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