Alianza Sip Trunk Caller ID Mapping API
Operations for managing Sip Trunk Caller ID mappings
Operations for managing Sip Trunk Caller ID mappings
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/alianza-sip-trunk-caller-id-mapping-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Alianza Sip Trunk Caller ID Mapping API
version: '2'
description: 'Operations tagged Sip Trunk Caller ID Mapping across 2 of this provider''s published API definitions: alianza-openapi-original.yml, alianza-sip-trunk-caller-id-mapping-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.d2.alianza.com
description: Development
- url: https://api.q2.alianza.com
description: QA
- url: https://api.b2.alianza.com
description: Beta
- url: https://api.alianza.com
description: Production
security:
- X-Auth-Token: []
tags:
- name: Sip Trunk Caller ID Mapping
description: Operations for managing Sip Trunk Caller ID mappings
paths:
/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/cid/fromnumber:
servers:
- url: https://api.d2.alianza.com
description: Development
- url: https://api.q2.alianza.com
description: QA
- url: https://api.b2.alianza.com
description: Beta
- url: https://api.alianza.com
description: Production
get:
tags:
- Sip Trunk Caller ID Mapping
summary: Retrieve list of all Custom FROM Numbers
description: Use to retrieve a list of all Custom FROM Numbers for the specified account ID and partition ID.
operationId: listCustomFromNumbers
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
responses:
'200':
description: Successful operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/FromTelephoneNumberResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
post:
tags:
- Sip Trunk Caller ID Mapping
summary: Create a FROM Number
description: Use to create a FROM Number for the specified account ID and partition ID.
operationId: createFromNumber
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FromTelephoneNumberRequest'
required: true
responses:
'201':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/FromTelephoneNumberResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/cid/fromnumber/{fromNumber}:
servers:
- url: https://api.d2.alianza.com
description: Development
- url: https://api.q2.alianza.com
description: QA
- url: https://api.b2.alianza.com
description: Beta
- url: https://api.alianza.com
description: Production
delete:
tags:
- Sip Trunk Caller ID Mapping
summary: Delete a FROM Number
description: Use to delete the FROM Number for the specified account ID, partition ID and FROM Number.
operationId: deleteFromNumber
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
- name: fromNumber
in: path
description: exact FROM Telephone Number or wildcard
required: true
schema:
type: string
responses:
'204':
description: Successful operation
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/cid/mapping:
servers:
- url: https://api.d2.alianza.com
description: Development
- url: https://api.q2.alianza.com
description: QA
- url: https://api.b2.alianza.com
description: Beta
- url: https://api.alianza.com
description: Production
get:
tags:
- Sip Trunk Caller ID Mapping
summary: Retrieve list of all FROM Number to Caller ID mappings
description: Use to retrieve a list of all FROM Number to Caller ID mappings for the specified account ID and partition ID.
operationId: listCallerIdMappings
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
responses:
'200':
description: Successful operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CidMappingResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
put:
tags:
- Sip Trunk Caller ID Mapping
summary: Update a FROM Number to Caller ID mapping
description: Use to update a FROM Number to Caller ID mapping by setting Custom Caller ID Number or set it to null to remove mapping for the specified account ID and partition ID.
operationId: updateFromNumber
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CidMappingRequest'
required: true
responses:
'200':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/CidMappingResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/cid/callerid:
servers:
- url: https://api.d2.alianza.com
description: Development
- url: https://api.q2.alianza.com
description: QA
- url: https://api.b2.alianza.com
description: Beta
- url: https://api.alianza.com
description: Production
get:
tags:
- Sip Trunk Caller ID Mapping
summary: Retrieve list of all Caller IDs
description: Use to retrieve a list of all Caller IDs for the specified account ID and partition ID.
operationId: listCallerIds
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
responses:
'200':
description: Successful operation
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CustomCallerIdNumberResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
post:
tags:
- Sip Trunk Caller ID Mapping
summary: Create a Caller ID
description: Use to create a Caller ID for the specified account ID and partition ID.
operationId: createCallerId
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomCallerIdNumberRequest'
required: true
responses:
'201':
description: Successful operation
content:
application/json:
schema:
$ref: '#/components/schemas/CustomCallerIdNumberResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
/v2/partition/{partitionId}/account/{accountId}/siptrunk_2/cid/callerid/{callerId}:
servers:
- url: https://api.d2.alianza.com
description: Development
- url: https://api.q2.alianza.com
description: QA
- url: https://api.b2.alianza.com
description: Beta
- url: https://api.alianza.com
description: Production
delete:
tags:
- Sip Trunk Caller ID Mapping
summary: Delete a Caller ID
description: Use to delete the Caller ID for the specified account ID, partition ID and Custom Caller ID Number with automatic cleanup of related mappings.
operationId: deleteCallerId
parameters:
- name: partitionId
in: path
description: ID of the partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of the account
required: true
schema:
type: string
- name: callerId
in: path
description: Custom Caller ID Number
required: true
schema:
type: string
responses:
'204':
description: Successful operation
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
'403':
description: User does not have enough permissions
content:
application/json:
schema:
$ref: '#/components/schemas/PublicApiException'
components:
schemas:
CustomCallerIdNumberResponse:
type: object
required:
- customCallerIdNumber
properties:
partitionId:
type: string
accountId:
type: string
customCallerIdNumber:
type: string
CustomCallerIdNumberRequest:
type: object
required:
- customCallerIdNumber
properties:
customCallerIdNumber:
type: string
FromTelephoneNumberRequest:
type: object
required:
- fromWildcard
properties:
fromWildcard:
type: string
PublicApiException:
type: object
properties:
status:
type: integer
messages:
type: array
items:
type: string
data:
type: object
additionalProperties: true
example:
key: value
key2: value2
CidMappingRequest:
type: object
required:
- fromWildcard
properties:
fromWildcard:
type: string
customCallerIdNumber:
type: string
FromTelephoneNumberResponse:
type: object
required:
- fromWildcard
properties:
partitionId:
type: string
accountId:
type: string
fromWildcard:
type: string
isCustom:
type: boolean
CidMappingResponse:
type: object
required:
- fromWildcard
properties:
partitionId:
type: string
accountId:
type: string
fromWildcard:
type: string
customCallerIdNumber:
type: string
isCustom:
type: boolean
securitySchemes:
X-Auth-Token:
type: apiKey
in: header
name: X-AUTH-TOKEN
x-refined-from:
- alianza-openapi-original.yml
- alianza-sip-trunk-caller-id-mapping-api-openapi.yml