---
title: "Buy Calling Country"
method: POST
path: "/api/v1/billing/calling-countries"
tags: ["Billing"]
---

# Buy Calling Country

`POST /api/v1/billing/calling-countries`

## 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/calling-countries`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Request body

- CountryPurchaseRequest
  - `country_code` string, nullable
  - `country_codes` string[], nullable
  - `quote` string, required
  - `request_key` string, uuid, required

## Response `202`

Successful Response

- CallingCountriesResponse
  - `countries` CallingCountryResponse[], required
    - `country_code` string, required
    - `name` string, required
    - `monthly_amount` string, required
    - `currency` string, required
    - `status` string, required
    - `agreement_id` string, uuid, nullable, required
  - `agreements` CountryAgreementResponse[], required
    - `id` string, uuid, required
    - `name` string, required
    - `country_codes` string[], required
    - `monthly_amount` string, required
    - `currency` string, required
    - `status` 'pending' | 'active' | 'suspended' | 'canceling' | 'canceled' | 'expired' | 'failed' | 'review', required
    - `covered_through` string, date-time, nullable, required
    - `cancel_at_period_end` boolean, required
    - `change_pending` boolean, required
    - `created_at` string, date-time, required
  - `included_country_codes` string[], 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/calling-countries/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/3e862146bf53?raw)
