---
title: "Export the partition's telephone number inventory as csv, synchronously"
method: GET
path: "/v2/partition/{partitionId}/telephonenumber/export"
tags: ["Telephone Number"]
---

# Export the partition's telephone number inventory as csv, synchronously

`GET /v2/partition/{partitionId}/telephonenumber/export`

## Request

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

Use to retrieve a report on the partition's telephone number inventory.  Inventory from subpartitions is also included.<br/><br/> Note that telephone numbers currently assigned are NOT part of the inventory and are not listed in this report.<br/><br/> This version is synchronous, and if the inventory is large, then this single call can take a long time.  Please use <a href="#/~operation/Telephone%20Number/asyncExportTnInventory">asyncExportTnInventory</a> instead, if possible.<span hidden><br/><br/> Please see <a href="tnInventory.html">here</a> for more information about how the CSV is formatted.</span>

## Path parameters

- `partitionId` string, required

## Response `200`

Successful operation

## Other responses

- `400`: Invalid request parameters
- `401`: Unauthorized
- `404`: 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)
