---
title: "Reserve a telephone number"
method: PUT
path: "/v2/partition/{partitionId}/telephonenumber/{tn}/reserve"
tags: ["Telephone Number"]
---

# Reserve a telephone number

`PUT /v2/partition/{partitionId}/telephonenumber/{tn}/reserve`

## Request

- Base URL: `https://api.alianza.com`
- URL: `https://api.alianza.com/v2/partition/{partitionId}/telephonenumber/{tn}/reserve`
- Auth: API key in header `X-AUTH-TOKEN`
- TypeScript: <https://skmtc.dev/alianza/apis/alianza-public-api/docs/v2/partition/:partitionId/telephonenumber/:tn/reserve/put.ts> (a function with typed inputs; its response is checked against the schema)

Use to reserve a telephone number, making it unavailable for use by another

## Path parameters

- `partitionId` string, required
- `tn` string, required

## Response `200`

Successful operation

- TelephoneNumberReservedX
  - `tn` string
  - `reservedTime` string, date-time
  - `reserved` boolean
  - `id` string

## Other responses

- `400`: Invalid parameters supplied
- `401`: Unauthorized
- `404`: Entity not found

---

[API](https://skmtc.dev/alianza/apis/alianza-public-api.md) - [All operations](https://skmtc.dev/alianza/apis/alianza-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alianza/apis/alianza-public-api/revisions/7223246c352c?raw)
