canonical: https://jentic.com/apis/swaggerhub.vonix-tecnologia/api-de-calculo-de-tarifas

# Vonix Tecnologia Api de calculo de tarifas

Esta é a API que calcula a tarifação das chamadas ativas dos clientes. The API exposes 9 endpoints secured with bearer authentication.

## For AI agents

Programmatically adiciona um plano, lista todos os planos. Covers 9 operations with bearer authentication.

## Scope

Does not handle payments, communications, or crm - use for developer tools only.

## Capabilities

- adiciona um plano
- Lista todos os planos
- Atualiza um plano
- vincunla um tronco da tabela trunkings a um plano cadastrado
- Monitor API de calculo de tarifas operational status and events

## Use cases

### Developer Tools Operations

Use the API de calculo de tarifas to perform developer tools operations programmatically. The API provides 9 endpoints covering core functionality including adiciona um plano, lista todos os planos, atualiza um plano.

Example prompt: Call POST /plans to adiciona um plano

### Automated calls Management

Automate calls operations by combining multiple API de calculo de tarifas endpoints. Agents can lista todos os planos and then atualiza um plano in a single workflow.

Example prompt: Call GET /plans to lista todos os planos, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call API de calculo de tarifas endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle bearer tokens manually.

Example prompt: Search Jentic for 'adiciona um plano', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/plans` | adiciona um plano |
| GET | `/plans` | Lista todos os planos |
| PUT | `/plans/{id}` | Atualiza um plano |
| POST | `/tariffs` | adiciona uma nova tarifa em um plano existente |
| PUT | `/tariffs/{id}` | Atualiza uma Tarifa |
| POST | `/trunkings` | vincunla um tronco da tabela trunkings a um plano cadastrado |
| GET | `/trunkings` | Lista todos os troncos cadastrados |
| PUT | `/trunkings/{id}` | Atualiza um tronco |

## Key resources

- **calls** — Operations related to calls
- **plans** — Operations related to plans
- **tariffs** — Operations related to tariffs
- **trunkings** — Operations related to trunkings

## Why Jentic

- **Setup:** Wiring API de calculo de tarifas by hand means acquiring a JWT bearer token, resolving your customer-specific host (the customerId subdomain on api.vonixcc.com.br), and attaching the token to every plans, tariffs, and trunkings call. Through Jentic you install once, import API de calculo de tarifas from the API Directory, store the bearer token once, and your agent calls it.
- **Permission scoping:** API de calculo de tarifas puts the resource id in the URL path (`/plans/{id}`, `/tariffs/{id}`, `/trunkings/{id}`), so a rule can pin your agent to reading and updating specific plans, tariffs, or trunkings. You choose the operations it may call, so creating new plans or trunkings is not included unless you add it.
- **Credential handling:** Your API de calculo de tarifas bearer token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'add a billing plan' or 'update a tariff', and Jentic returns the matching API de calculo de tarifas operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Github** — Alternative developer tools API
- **Gitlab** — Alternative developer tools API

## FAQ

### What authentication does the API de calculo de tarifas use?

The API de calculo de tarifas uses a Bearer token in the Authorization header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I adiciona um plano with the API de calculo de tarifas?

Yes. Use the POST /plans endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the API de calculo de tarifas?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I adiciona um plano through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'adiciona um plano'. Jentic returns the matching API de calculo de tarifas operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the API de calculo de tarifas have?

The API de calculo de tarifas exposes 9 endpoints covering calls, plans, tariffs operations.

### Can I limit what my agent is allowed to do with the API de calculo de tarifas?

Yes. Jentic One runs self-hosted, so your own rules decide which API de calculo de tarifas operations and credentials the agent may use. Because the resource id sits in the URL path (`/plans/{id}`, `/tariffs/{id}`, `/trunkings/{id}`), you can pin the agent to reading and updating specific plans, tariffs, or trunkings while withholding creation of new ones. You pick the exact operations it may call, so POST /plans or POST /trunkings stays off limits unless you grant it.
