canonical: https://jentic.com/apis/swaggerhub.tsorfano/swaggerhub-tsorfano

# Tsorfano API - GBTP - Boletos de Terceiros

API - GBTP - Boletos de Terceiros. The API exposes 5 endpoints secured with oauth2 authentication.

## For AI agents

Programmatically cadastre um novo boleto de terceiro, buscar um boleto registrado pelo id. Covers 5 operations with oauth2 authentication.

## Scope

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

## Capabilities

- Cadastre um novo boleto de Terceiro
- Buscar um boleto registrado pelo Id
- Pesquisa de boletos emitidos, buscando por CPF/CNPJ e período
- ConsultaBoletos_GetConsultaBoletos_NossoNumero
- ConsultaBoletos_GetConsultaBoletos_SeuNumero

## Use cases

### Developer Tools Operations

Use the API - GBTP - Boletos de Terceiros to perform developer tools operations programmatically. The API provides 5 endpoints covering core functionality including cadastre um novo boleto de terceiro, buscar um boleto registrado pelo id, pesquisa de boletos emitidos, buscando por cpf/cnpj e período.

Example prompt: Call POST /boletos to cadastre um novo boleto de terceiro

### Automated Boleto Management

Automate boleto operations by combining multiple API - GBTP - Boletos de Terceiros endpoints. Agents can buscar um boleto registrado pelo id and then pesquisa de boletos emitidos, buscando por cpf/cnpj e período in a single workflow.

Example prompt: Call GET /boletos to buscar um boleto registrado pelo id, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call API - GBTP - Boletos de Terceiros 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 oauth2 tokens manually.

Example prompt: Search Jentic for 'cadastre um novo boleto de terceiro', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/boletos` | Cadastre um novo boleto de Terceiro |
| GET | `/boletos` | Buscar um boleto registrado pelo Id |
| GET | `/boletos/cpf-cnpj` | Pesquisa de boletos emitidos, buscando por CPF/CNPJ e período |
| GET | `/boletos/nosso-numero` | ConsultaBoletos_GetConsultaBoletos_NossoNumero |
| GET | `/boletos/seu-numero` | ConsultaBoletos_GetConsultaBoletos_SeuNumero |

## Key resources

- **Boleto** — Cadastro Boletos de Terceiros
- **ConsultaBoletos** — Consulta Boletos Emitidos

## Why Jentic

- **Setup:** Wiring the GBTP Boletos de Terceiros API by hand means implementing its OAuth2 flow, managing token refresh against the Banco BMG sandbox host, and building your own retries. Through Jentic you install once, import this API from the API Directory, store the OAuth2 credentials once, and your agent calls it.
- **Permission scoping:** Limit the agent to the operations it needs, such as registering a boleto or querying boletos by CPF or CNPJ, rather than the whole surface. Because you pick the allowed operations, the agent only ever runs the calls you authorize.
- **Credential handling:** Your GBTP Boletos de Terceiros OAuth2 credentials 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 'register a new third-party boleto' or 'look up boletos by CPF', and Jentic returns the matching 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 - GBTP - Boletos de Terceiros use?

The API - GBTP - Boletos de Terceiros uses OAuth 2.0 for authorization. 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 cadastre um novo boleto de terceiro with the API - GBTP - Boletos de Terceiros?

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

### What are the rate limits for the API - GBTP - Boletos de Terceiros?

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 cadastre um novo boleto de terceiro through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'cadastre um novo boleto de terceiro'. Jentic returns the matching API - GBTP - Boletos de Terceiros operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the API - GBTP - Boletos de Terceiros have?

The API - GBTP - Boletos de Terceiros exposes 5 endpoints covering boleto, consultaboletos operations.

### Can I limit what my agent is allowed to do with the GBTP Boletos de Terceiros API?

Yes. Jentic One runs self-hosted in your own environment, so your rules decide which operations and OAuth2 credentials the agent may use. You can allow only the calls the agent needs, such as registering a new third-party boleto or querying boletos by CPF or CNPJ, while withholding the rest of the surface. Because you pick the authorized operations, the agent only ever runs the calls you have permitted.
