Alianza Calling Plan API
The Calling Plan API from Alianza — 2 operation(s) for calling plan.
The Calling Plan API from Alianza — 2 operation(s) for calling plan.
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-calling-plan-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 Calling Plan API
version: '2'
description: 'Operations tagged Calling Plan across 3 of this provider''s published API definitions: alianza-apidocs-swagger2-original.json, alianza-calling-plan-api-openapi.yml, alianza-openapi-original.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
tags:
- name: Calling Plan
paths:
/v2/partition/{partitionId}/account/{accountId}/callingplan:
get:
tags:
- Calling Plan
summary: Get Calling Plans for a given reference
description: will get a callingplan
operationId: getPlans
parameters:
- name: X-AUTH-TOKEN
in: header
required: false
schema:
type: string
- name: partitionId
in: path
description: ID of partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of account
required: true
schema:
type: string
- name: referenceType
in: query
required: false
schema:
type: string
enum:
- SIP_TRUNK
- END_USER
- IVR
- ACCOUNT
- SPECIALTY_LINE
- CONTACT_CENTER
- name: referenceId
in: query
required: false
schema:
type: string
responses:
'200':
description: successful operation
responseSchema:
type: array
items:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
content:
application/json:
schema:
type: array
items:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
'400':
description: Invalid ID supplied
'404':
description: Reference or Calling Plan Product not found
responsesObject:
'200':
description: successful operation
responseSchema:
type: array
items:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
schema:
type: array
items:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
'400':
description: Invalid ID supplied
'404':
description: Reference or Calling Plan Product not found
put:
tags:
- Calling Plan
summary: Add Calling Plan for a given reference
description: will add a callingplan
operationId: addPlan
parameters:
- name: X-AUTH-TOKEN
in: header
required: false
schema:
type: string
- name: partitionId
in: path
description: ID of partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of account
required: true
schema:
type: string
responses:
'200':
description: successful operation
responseSchema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
content:
application/json:
schema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
'400':
description: Invalid ID supplied
'404':
description: Reference or Calling Plan Product not found
responsesObject:
'200':
description: successful operation
responseSchema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
schema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
'400':
description: Invalid ID supplied
'404':
description: Reference or Calling Plan Product not found
requestBody:
content:
application/json:
schema:
originalRef: ModifyCallingPlanX
$ref: '#/components/schemas/ModifyCallingPlanX'
delete:
tags:
- Calling Plan
summary: Remove Calling Plan for a given reference
description: will remove a callingplan
operationId: removePlan
parameters:
- name: X-AUTH-TOKEN
in: header
required: false
schema:
type: string
- name: partitionId
in: path
description: ID of partition
required: true
schema:
type: string
- name: accountId
in: path
description: ID of account
required: true
schema:
type: string
responses:
'200':
description: successful operation
responseSchema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
content:
application/json:
schema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
'400':
description: Invalid ID supplied
'404':
description: Reference or Calling Plan Product not found
responsesObject:
'200':
description: successful operation
responseSchema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
schema:
originalRef: CallingPlanX
$ref: '#/components/schemas/CallingPlanX'
'400':
description: Invalid ID supplied
'404':
description: Reference or Calling Plan Product not found
requestBody:
content:
application/json:
schema:
originalRef: ModifyCallingPlanX
$ref: '#/components/schemas/ModifyCallingPlanX'
/v2/ref/default-callingplan-definition:
get:
tags:
- Calling Plan
summary: Retrieve the default calling plan definition file
description: Use to retrieve the default calling plan definition file
operationId: getCallingPlanDefinition
parameters:
- name: X-AUTH-TOKEN
in: header
required: false
schema:
type: string
responses:
'200':
description: successful operation
responseSchema:
type: string
content:
text/csv:
schema:
type: string
'400':
description: Invalid
'404':
description: File not found
responsesObject:
'200':
description: successful operation
responseSchema:
type: string
schema:
type: string
'400':
description: Invalid
'404':
description: File not found
components:
schemas:
ModifyCallingPlanX:
type: object
properties:
referenceType:
type: string
enum:
- SIP_TRUNK
- END_USER
- IVR
- ACCOUNT
- SPECIALTY_LINE
- CONTACT_CENTER
referenceId:
type: string
callingPlanProductId:
type: string
description: Deprecated. Use the callingPlanReferenceId
callingPlanReferenceId:
type: string
description: When modifying an existing calling plan list, this is the calling plan product id. When opting to share an existing calling plan list, this is the the reference id that has the calling plan list that the new reference would share.
callingPlanType:
type: string
description: Indicates if the request is for a change to an existing calling plan list, share a calling plan list with another reference, or stop sharing the configured list with other references.
enum:
- SHARED_CALLING_PLAN
- NEW_CALLING_PLAN
- UNSHARED_CALLING_PLAN
pending:
type: boolean
description: If false then the calling plan change will apply immediately. If true then the change will take place at the account billing date. Does not apply when the request is to share a calling plan.
minutesUsed:
type: integer
format: int32
description: Only used on add. Will only be applied to new plans. Will not be applied to pending plans plans. Does not apply when the request is to share a calling plan.
CallingPlanX:
type: object
properties:
id:
type: string
referenceId:
type: string
referenceType:
type: string
enum:
- SIP_TRUNK
- END_USER
- IVR
- ACCOUNT
- SPECIALTY_LINE
- CONTACT_CENTER
callingPlanProductId:
type: string
endDate:
type: string
format: date-time
startDate:
type: string
format: date-time
planMinutes:
type: integer
format: int32
secondsRemaining:
type: integer
format: int64
securitySchemes:
X-Auth-Token:
type: apiKey
in: header
name: X-AUTH-TOKEN
x-refined-from:
- alianza-apidocs-swagger2-original.json
- alianza-calling-plan-api-openapi.yml
- alianza-openapi-original.yml