Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Nfon trunks API

Trunk management operations

Nfon trunks API is one of 52 APIs that Nfon publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include trunks. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 2 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 2.0-early-access.

Requests are made against a single base URL, https://api.nfon.com/call-history.

3 operations 2 paths 6 schemas 1 DELETE1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0-early-access
Base URL
https://api.nfon.net/configuration/v1
Authentication
HTTP Bearer
Contact
License
NFON proprietary
Terms of Service
Resource Areas
1

Authentication & Security 1

Nfon trunks API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearer_auth).

  • bearer_auth — JSON Web Token

Paths & Operations 3

Across 2 paths, the API surfaces 3 operations — 1 DELETE, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

trunks 3

Trunk management operations

DELETE
/tenants/{tenant}/trunks/{trunkId}
Delete tenant trunk
deleteTenantTrunk 2 params → 404400503204500
PUT
/tenants/{tenant}/trunks/{trunkId}
Update tenant trunk
updateTenantTrunk 2 params body → 404400503204500
POST
/tenants/{tenant}/trunks
Create tenant trunk
createTenantTrunk 1 param body → 500400401503422403201

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are CreateTenantTrunkRequest (15 properties), UpdateTenantTrunkRequest (8 properties), BaseNumber (4 properties), Error (4 properties). Each schema is shown below with its type and property counts.

Error
object
Error represents the standard API error response.
4 properties
TrunkResponse
object
TrunkResponse represents the configure Trunk response structure.
2 properties
BaseNumber
object
BaseNumberCreateTrunkRequest represents base number for trunk creation. This is named BaseNumber in the OpenAPI spec.
4 properties 3 required
CreateTenantTrunkRequest
object
CreateTenantTrunkRequest represents the request to create a trunk for a tenant. The tenant identifier is provided in the URL path /tenants/{tenant}/trunks.
15 properties 4 required
ErrorDetail
object
ErrorDetail represents error details in the delete response.
2 properties
UpdateTenantTrunkRequest
object
UpdateTenantTrunkRequest represents the request to update a trunk for a tenant. The tenant identifier is provided in the URL path /tenants/{tenant}/trunks/{tru…
8 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

nfon-trunks-api-openapi.yml Raw ↑

Other APIs Nfon publishes across the network.

NFON Service Portal API (legacy)
Nfon Accounts API
Nfon address API
Nfon authentication API
Nfon Blacklist Profiles API
Nfon clip-screened-prefixes API
Nfon Contract Types API
Nfon Customer Announcements API
Nfon Customer Conference API
Nfon Customer Contracts API
Nfon Customer Device Types API
Nfon Customer Devices API