---
title: "Change Line Bundle"
method: POST
path: "/api/v1/billing/line-bundles/{agreement_id}/{action}"
tags: ["Billing"]
---

# Change Line Bundle

`POST /api/v1/billing/line-bundles/{agreement_id}/{action}`

## Request

- Base URL: `https://api.inkbox.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.inkbox.ai/api/v1/billing/line-bundles/{agreement_id}/{action}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `agreement_id` string, uuid, required
- `action` 'cancel' | 'resume', required

## Response `202`

Successful Response

- BundlesResponse
  - `offers` BundleOffer[], required
    - `code` 'voip_line_bundle' | 'personal_imessage_line_bundle', required
    - `name` string, required
    - `line_kind` 'voip' | 'imessage', required
    - `monthly_amount` string, required
    - `voice_seconds` integer, required
    - `messages` integer, required
  - `agreements` BundleAgreement[], required
    - `id` string, uuid, required
    - `code` 'voip_line_bundle' | 'personal_imessage_line_bundle', required
    - `name` string, required
    - `line_kind` 'voip' | 'imessage', required
    - `monthly_amount` string, required
    - `status` 'pending' | 'active' | 'suspended' | 'canceling' | 'canceled' | 'expired' | 'failed' | 'review', required
    - `paid_through` string, date-time, nullable, required
    - `cancel_at_period_end` boolean, required
    - `change_pending` boolean, required
  - `voice_seconds_remaining` integer, required
  - `messages_remaining` integer, required

## Other responses

- `422`: Validation Error
- `4XX`: Client error with Support Agent information.
- `5XX`: Server error with Support Agent information.

## Changes

- **2026-10-30** `77c7e3ee70cf`: 2 info
  - added `#/components/schemas/HTTPValidationError` to the response body `allOf` list for the response status `422`
  - removed `subschema #1` from the response body `allOf` list for the response status `422`
- **2026-10-30** `a0729c3c4a0b`: 2 info
  - added `subschema #1` to the response body `allOf` list for the response status `422`
  - removed `#/components/schemas/HTTPValidationError` from the response body `allOf` list for the response status `422`
- **2026-10-28** `ddeb7f8f0eff`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/inkbox/apis/inkbox-api/changes/api/v1/billing/line-bundles/:agreement_id/:action/post.md)

---

[API](https://skmtc.dev/inkbox/apis/inkbox-api.md) - [All operations](https://skmtc.dev/inkbox/apis/inkbox-api/llms.txt) - [OpenAPI document](https://skmtc.dev/inkbox/apis/inkbox-api/revisions/7e848337e8bf?raw)
