Telnyx Charges Breakdown API
The Charges Breakdown API from Telnyx — 1 operation(s) for charges breakdown.
The Charges Breakdown API from Telnyx — 1 operation(s) for charges breakdown.
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/telnyx:telnyx-charges-breakdown-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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: Telnyx Charges Breakdown API
version: 2.0.0
contact:
email: support@telnyx.com
x-endpoint-cost: light
x-refined-note:
- x-latency-category differs across the merged source definitions and was not carried
description: 'Operations tagged Charges Breakdown across 3 of this provider''s published API definitions: telnyx-openapi.json, telnyx-openapi.yml, telnyx-openapi_2.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.telnyx.com/v2
description: Version 2.0.0 of the Telnyx API
security:
- bearerAuth: []
tags:
- name: Charges Breakdown
paths:
/charges_breakdown:
get:
summary: Get monthly charges breakdown
operationId: GetMonthlyChargesBreakdown
description: Retrieve a detailed breakdown of monthly charges for phone numbers in a specified date range. The date range cannot exceed 31 days.
parameters:
- name: start_date
in: query
description: Start date for the charges breakdown in ISO date format (YYYY-MM-DD)
required: true
schema:
type: string
format: date
example: '2025-05-01'
- name: end_date
in: query
description: End date for the charges breakdown in ISO date format (YYYY-MM-DD). If not provided, defaults to start_date + 1 month. The date is exclusive, data for the end_date itself is not included in the report. The interval between start_date and end_date cannot exceed 31 days.
required: false
schema:
type: string
format: date
example: '2025-06-01'
- name: format
in: query
description: Response format
required: false
schema:
type: string
enum:
- json
- csv
default: json
example: json
responses:
'200':
description: Monthly charges breakdown
content:
application/json:
schema:
$ref: '#/components/schemas/MonthlyChargesBreakdownResponse'
text/csv:
schema:
type: string
description: CSV format of the charges breakdown
'400':
$ref: '#/components/responses/charges_BadRequestErrorResponse'
'422':
$ref: '#/components/responses/charges_UnprocessableEntityErrorResponse'
default:
$ref: '#/components/responses/charges_GenericErrorResponse'
tags:
- Charges Breakdown
servers:
- url: https://api.telnyx.com/v2
description: Version 2.0.0 of the Telnyx API
components:
schemas:
charges_Error:
required:
- code
- title
properties:
code:
type: string
format: integer
title:
type: string
detail:
type: string
source:
type: object
properties:
pointer:
description: JSON pointer (RFC6901) to the offending entity.
type: string
format: json-pointer
parameter:
description: Indicates which query parameter caused the error.
type: string
meta:
type: object
charges_Errors:
properties:
errors:
type: array
items:
$ref: '#/components/schemas/charges_Error'
ServiceDetail:
type: object
properties:
cost_type:
type: string
description: Type of cost (MRC or OTC)
example: MRC
name:
type: string
description: Service name
example: Local DIDs
cost:
type: string
description: Cost per unit as decimal string
example: '1.50'
required:
- cost_type
- name
- cost
NumberBreakdownResult:
type: object
properties:
tn:
type: string
description: Phone number
example: '+15551234567'
charge_type:
type: string
description: Type of charge for the number
example: local
service_owner_user_id:
type: string
description: User ID of the service owner
example: 0db0b4aa-a83d-4d4f-ad9b-3ba7c1ac2ce8
service_owner_email:
type: string
format: email
description: Email address of the service owner
example: user@example.com
services:
type: array
items:
$ref: '#/components/schemas/ServiceDetail'
description: List of services associated with this number
required:
- tn
- charge_type
- service_owner_user_id
- service_owner_email
- services
BreakdownData:
type: object
properties:
user_id:
type: string
description: User identifier
example: 0db0b4aa-a83d-4d4f-ad9b-3ba7c1ac2ce8
start_date:
type: string
format: date
description: Start date of the breakdown period
example: '2025-05-01'
end_date:
type: string
format: date
description: End date of the breakdown period
example: '2025-06-01'
user_email:
type: string
format: email
description: User email address
example: user@example.com
currency:
type: string
description: Currency code
example: USD
results:
type: array
items:
$ref: '#/components/schemas/NumberBreakdownResult'
description: List of phone number charge breakdowns
required:
- user_id
- start_date
- end_date
- user_email
- currency
- results
MonthlyChargesBreakdownResponse:
type: object
properties:
data:
$ref: '#/components/schemas/BreakdownData'
required:
- data
responses:
charges_GenericErrorResponse:
description: Unexpected error
content:
application/json:
schema:
$ref: '#/components/schemas/charges_Errors'
example:
errors:
- code: '10007'
title: Unexpected error
detail: An unexpected error occured.
charges_UnprocessableEntityErrorResponse:
description: User account not found
content:
application/json:
schema:
$ref: '#/components/schemas/charges_Errors'
example:
errors:
- code: '10027'
title: Unprocessable Entity
detail: The server understood the syntax of the request but was unable to process the instructions.
charges_BadRequestErrorResponse:
description: Invalid request parameters or date range
content:
application/json:
schema:
$ref: '#/components/schemas/charges_Errors'
example:
errors:
- code: '10015'
title: Bad Request
detail: The request failed because it was not well-formed.
charges_GenericErrorResponse_2:
content:
application/json:
schema:
$ref: '#/components/schemas/charges_Errors'
description: Unexpected error
charges_UnprocessableEntityErrorResponse_2:
content:
application/json:
schema:
$ref: '#/components/schemas/charges_Errors'
description: User account not found
charges_BadRequestErrorResponse_2:
content:
application/json:
schema:
$ref: '#/components/schemas/charges_Errors'
description: Invalid request parameters or date range
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: API key
description: 'Telnyx API key supplied as `Authorization: Bearer <token>`. In production, auth may be validated by the API gateway and forwarded via Telnyx auth headers.'
Payment:
type: apiKey
in: header
name: Authorization
description: 'Machine Payment Protocol credential used on paid retries, sent as `Authorization: Payment ...`. Obtained by paying a challenge returned in the `WWW-Authenticate` header of a 402 response. This is not a Telnyx API key; initial challenge requests use standard bearer authentication instead.'
agent-memory_bearerAuth:
type: http
scheme: bearer
description: Telnyx API key
bearerAuth:
type: http
scheme: bearer
branded-calling_bearerAuth:
type: http
scheme: bearer
description: Telnyx API key. Generate one at https://portal.telnyx.com/#/app/api-keys.
collections_bearerAuth:
type: http
scheme: bearer
description: Telnyx API key. Collections and results are automatically scoped to the authenticated user's organization.
number-reputation_bearerAuth:
type: http
scheme: bearer
description: Telnyx API key. Generate one at https://portal.telnyx.com/#/app/api-keys.
oauthClientAuth:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://api.telnyx.com/v2/oauth/token
scopes:
admin: Administrative access to Telnyx resources
authorizationCode:
authorizationUrl: https://api.telnyx.com/v2/oauth/authorize
tokenUrl: https://api.telnyx.com/v2/oauth/token
refreshUrl: https://api.telnyx.com/v2/oauth/token
scopes:
admin: Administrative access to Telnyx resources
description: OAuth 2.0 authentication for Telnyx API and MCP integrations
outbound-voice-profiles_bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
pronunciation-dicts_bearerAuth:
type: http
scheme: bearer
description: Telnyx API v2 key. Obtain from https://portal.telnyx.com
rcs-registration_bearerAuth:
type: http
scheme: bearer
bearerFormat: API key
stored-payment-transactions_bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
transcriptions-search_bearerAuth:
type: http
scheme: bearer
description: Telnyx API key. Results are automatically scoped to the authenticated user's organization.
web-search_bearerAuth:
type: http
scheme: bearer
description: Telnyx API key
pay-connectors_bearerAuth:
type: http
scheme: bearer
description: Telnyx API key, not the processor bearer token.
telnyxApiKey:
type: http
scheme: bearer
description: Management-only Telnyx account credential.
x-refined-from:
- telnyx-openapi.json
- telnyx-openapi.yml
- telnyx-openapi_2.json
x-service-info:
categories:
- communication
- developer-tools
docs:
apiReference: https://developers.telnyx.com
homepage: https://telnyx.com
llms: https://telnyx.com/llms.txt