---
title: "Retrieve list of all FROM Number to Caller ID mappings"
method: GET
path: "/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/cid/mapping"
tags: ["Sip Trunk Caller ID Mapping"]
---

# Retrieve list of all FROM Number to Caller ID mappings

`GET /v2/partition/{partitionId}/account/{accountId}/siptrunk_2/cid/mapping`

## Request

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

Use to retrieve a list of all FROM Number to Caller ID mappings for the specified account ID and partition ID.

## Path parameters

- `partitionId` string, required
- `accountId` string, required

## Response `200`

Successful operation

- FromTelephoneNumber[]
  - `partitionId` string
  - `accountId` string
  - `fromWildcard` string, required
  - `customCallerIdNumber` string
  - `isCustom` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: User does not have enough permissions

---

[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/cb514a0728ed?raw)
