---
title: "Import local calling areas prefixes"
method: POST
path: "/v2/partition/{partitionId}/localprefixes/import"
tags: ["Local Calling Areas"]
---

# Import local calling areas prefixes

`POST /v2/partition/{partitionId}/localprefixes/import`

## Request

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

## Path parameters

- `partitionId` string, required

## Request body `multipart/form-data`

- MultipartFormDataInput
  - `file` string, binary

## Response `200`

Successful operation

- FileImportValidationErrorX[]
  - `lineNumber` integer
  - `error` string
  - `column` string
  - `input` string

## 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)
