canonical: https://jentic.com/apis/swaggerhub.tsp7/api-tsp

# Tsp7 API TSP

Esta é a documentação da API TSP. The API exposes 11 endpoints.

## For AI agents

Programmatically boletosfinanciado, dadoscontrato. Covers 11 operations.

## Scope

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

## Capabilities

- boletosFinanciado
- dadosContrato
- detalhesDivida
- downloadBoleto
- geraNegociacao

## Use cases

### Developer Tools Operations

Use the API TSP to perform developer tools operations programmatically. The API provides 11 endpoints covering core functionality including boletosfinanciado, dadoscontrato, detalhesdivida.

Example prompt: Call GET `/boletos_financiado/{id_financiado}` to boletosfinanciado

### Automated Validação Management

Automate validação operations by combining multiple API TSP endpoints. Agents can dadoscontrato and then detalhesdivida in a single workflow.

Example prompt: Call GET `/contrato/{id_financiado}` to dadoscontrato, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call API TSP 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 none tokens manually.

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

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/boletos_financiado/{id_financiado}` | boletosFinanciado |
| GET | `/contrato/{id_financiado}` | dadosContrato |
| GET | `/detalhes_divida/{id_contrato}` | detalhesDivida |
| GET | `/detalhes_divida_parcelado/{id_contrato}/{qntd_parcelas}/{valor_entrada}` | detalhesDividaParelado |
| GET | `/download_boleto/{id_boleto}` | downloadBoleto |
| GET | `/gera_negociacao/{opcao}/{id_contrato}` | geraNegociacao |
| GET | `/gera_negociacao_parcelado/{id_contrato}/{qntd_parcelas}/{valor_entrada}` | geraNegociacaoParcelada |
| GET | `/listagem_quebras/{cpf}` | listagemQuebras |

## Key resources

- **Validação** — Validação de acesso financiado
- **Dados** — Retorno de dados do financiado
- **Negociação** — Cálculo e geração de negociação
- **Download** — Downloads de arquivos

## Why Jentic

- **Setup:** Wiring the API TSP by hand means pointing at its tsprecuperadora.com.br host and building your own retries across the contract, boleto, and negotiation endpoints, even though it exposes no auth scheme. Through Jentic you install once, import API TSP from the API Directory, store the connection details once, and your agent calls it.
- **Permission scoping:** API TSP puts the contract and financed-party ids in the URL path (`/contrato/{id_financiado}`, `/detalhes_divida/{id_contrato}`), so a rule can pin your agent to one contract: it can read that contract's debt details and boletos and nothing else. Because you pick the allowed operations, the agent only runs the reads and negotiations you authorize.
- **Credential handling:** Any connection details for API TSP are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'get a contract's boletos' or 'get debt details for a contract', and Jentic returns the matching API TSP 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 TSP use?

The API TSP uses no authentication. 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 boletosfinanciado with the API TSP?

Yes. Use the GET `/boletos_financiado/{id_financiado}` endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the API TSP?

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 boletosfinanciado through Jentic?

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

### How many endpoints does the API TSP have?

The API TSP exposes 11 endpoints covering validação, dados, negociação operations.

### Can I limit what my agent is allowed to do with the API TSP?

Yes. Because Jentic One is self-hosted, you set the rules that decide which API TSP operations and connection details your agent may use. API TSP carries the contract and financed-party ids in the URL path, such as `/contrato/{id_financiado}` and `/detalhes_divida/{id_contrato}`, so a rule can pin the agent to a single contract and let it read only that contract's debt details and boletos. You choose the allowed operations, so the agent runs only the reads and negotiations you authorize and nothing else.
