/v1/companyMCP: get_companyThe company and this key
Name, website, languages and what this key may do.
curl "https://mne.rent/functions/api?path=/v1/company" \ -H "Authorization: Bearer omc_YOUR_KEY"
Programeri
Povežite svoje sisteme i AI asistente sa Monte Credit: loan products, applications, clients and loans, portfolio figures, leads and publishing. Version 1.0.0.
REST API
JSON preko HTTPS-a sa API ključem.
MCP server
Iste operacije kao alati za AI asistente.
WebMCP
Alati na sajtu za agente u pregledaču.
Administrator kompanije Monte Credit kreira API ključ na panelu (Podešavanja → API & MCP) i bira šta on može da radi. Svaki poziv je HTTPS zahtjev ka jednoj adresi; putanja operacije ide u path parametar.
https://mne.rent/functions/api?path=/v1/products
Potpuni mašinski čitljiv opis (OpenAPI 3.1): openapi.json
Pošaljite ključ u Authorization zaglavlje. Ključ vidi samo Monte Credit’s data, and only the parts its permissions allow.
Authorization: Bearer omc_YOUR_KEY
| products:read | Loan products and branches |
| applications:read | Loan applications and their status |
| clients:read | Clients and loans from the core system |
| portfolio:read | Portfolio figures: outstanding, PAR, arrears, collections |
| leads:read | Lead-ovi |
| leads:write | Create leads |
| posts:read | Publishing: posts and their results |
| posts:write | Publishing: create drafts, schedule and publish posts |
Čuvajte ključeve na serverima. Nikada ne stavljajte ključ na sajt, u mobilnu aplikaciju ili dijeljeni dokument.
Answers are JSON. Lists return data, total i next_offset (pass it as offset for the next page; limit do 100). Greške izgledaju ovako:
{ "error": { "code": "forbidden", "message": "This key does not have the \"leads:write\" scope." } }400 invalid input · 401 missing or invalid key · 403 missing permission · 404 not found · 429 more than 120 calls a minute per key.
AI asistenti koji govore Model Context Protocol (Claude, Cursor i drugi) mogu koristiti iste operacije kao alate. Server koristi Streamable HTTP i isti API ključ.
https://mne.rent/functions/mcp
Claude Code
claude mcp add --transport http monte-credit https://mne.rent/functions/mcp \ --header "Authorization: Bearer omc_YOUR_KEY"
Klijenti konfigurisani sa JSON-om
{
"mcpServers": {
"monte-credit": {
"url": "https://mne.rent/functions/mcp",
"headers": {
"Authorization": "Bearer omc_YOUR_KEY"
}
}
}
}Alati: get_companylist_productslist_branchessearch_applicationsget_applicationsearch_clientsget_clientlist_loansportfolio_summarylist_leadscreate_leadlist_publish_accountslist_postscreate_post — each shown only when the key has its permission.
Uključeno Monte Credit’s website, AI agents running in the visitor’s browser can call these tools directly (WebMCP, document.modelContext). No key is needed: they use only public information, and a call-back request is sent only with the visitor’s consent. Browsers without WebMCP show the site as always.
| list_loan_products | Kreditni proizvodi sa stopama, iznosima i rokovima. |
| calculate_loan | Procjena mjesečne rate za proizvod, iznos i rok. |
| list_branches | Filijale sa adresom, telefonom i radnim vremenom. |
| open_page | Otvara stranicu sajta (proizvodi, prijava, filijale, blog…). |
| start_application | Otvara popunjen formular za prijavu; posjetilac ga dopunjuje. |
| request_callback | Traži od kreditora da pozove posjetioca — samo uz saglasnost posjetioca. |
/v1/companyMCP: get_companyName, website, languages and what this key may do.
curl "https://mne.rent/functions/api?path=/v1/company" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/productsproducts:readMCP: list_productsThe active loan products with rates, amounts and terms.
curl "https://mne.rent/functions/api?path=/v1/products" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/branchesproducts:readMCP: list_branchesFilijale sa adresom, telefonom i radnim vremenom.
curl "https://mne.rent/functions/api?path=/v1/branches" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/applicationsapplications:readMCP: search_applicationsApplications, newest first. Filter by status, date or text (name, phone, e-mail, number).
| Parametar | U | Tip | Opis |
|---|---|---|---|
| status | query | new_application | documents_review | credit_scoring | approved | disbursed | active_loan | closed | rejected | Status |
| from | query | string | Created on or after (YYYY-MM-DD) |
| to | query | string | Created on or before (YYYY-MM-DD) |
| q | query | string | Text to find |
| limit | query | number | How many to return (1–100, default 25). |
| offset | query | number | Where to start (from next_offset). |
curl "https://mne.rent/functions/api?path=/v1/applications&status=…" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/applications/{id}applications:readMCP: get_applicationOne application with its timeline and documents (names and status).
| Parametar | U | Tip | Opis |
|---|---|---|---|
| id* | putanja | string | Application id |
curl "https://mne.rent/functions/api?path=/v1/applications/:id" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/clientsclients:readMCP: search_clientsClients from the core system. Search by name, phone, e-mail or personal number.
| Parametar | U | Tip | Opis |
|---|---|---|---|
| q | query | string | Text to find |
| limit | query | number | How many to return (1–100, default 25). |
| offset | query | number | Where to start (from next_offset). |
curl "https://mne.rent/functions/api?path=/v1/clients&q=…" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/clients/{id}clients:readMCP: get_clientA client from the core system with every loan, balance and days past due.
| Parametar | U | Tip | Opis |
|---|---|---|---|
| id* | putanja | string | Client id in the core system |
curl "https://mne.rent/functions/api?path=/v1/clients/:id" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/loansclients:readMCP: list_loansLoans from the core system. Filter to late ones with min_days_past_due.
| Parametar | U | Tip | Opis |
|---|---|---|---|
| min_days_past_due | query | number | Only loans this many days late or more |
| status | query | active | all | active (default) or all |
| branch | query | string | Branch name |
| limit | query | number | How many to return (1–100, default 25). |
| offset | query | number | Where to start (from next_offset). |
curl "https://mne.rent/functions/api?path=/v1/loans&min_days_past_due=…" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/portfolioportfolio:readMCP: portfolio_summaryOutstanding portfolio, PAR30/PAR90, arrears buckets, collections and disbursements this month, by product and branch.
curl "https://mne.rent/functions/api?path=/v1/portfolio" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/leadsleads:readMCP: list_leadsLeads from ads, the website and conversations, newest first.
| Parametar | U | Tip | Opis |
|---|---|---|---|
| status | query | string | Lead status |
| source | query | string | meta, google, linkedin, tiktok, web, chat, manual, other |
| limit | query | number | How many to return (1–100, default 25). |
| offset | query | number | Where to start (from next_offset). |
curl "https://mne.rent/functions/api?path=/v1/leads&status=…" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/leadsleads:writeMCP: create_leadAdds a lead. It is assigned to an officer, summarised by AI and sent to Terra like any other lead.
| Parametar | U | Tip | Opis |
|---|---|---|---|
| full_name* | body | string | Ime |
| phone | body | string | Phone (international format) |
| body | string | ||
| city | body | string | Grad |
| product_interest | body | string | Product the person wants |
| amount | body | number | Amount wanted |
| notes | body | string | Bilo šta drugo |
| external_id | body | string | Your id, to avoid duplicates |
curl -X POST "https://mne.rent/functions/api?path=/v1/leads" \
-H "Authorization: Bearer omc_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"full_name": "…",
"phone": "…"
}'/v1/publish/accountsposts:readMCP: list_publish_accountsConnected pages and channels: Facebook, Instagram, LinkedIn, TikTok, Viber, Telegram, blog, financial education.
curl "https://mne.rent/functions/api?path=/v1/publish/accounts" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/publish/postsposts:readMCP: list_postsPosts with their status and the result on each network.
| Parametar | U | Tip | Opis |
|---|---|---|---|
| status | query | draft | scheduled | publishing | published | partial | failed | Status |
| limit | query | number | How many to return (1–100, default 25). |
| offset | query | number | Where to start (from next_offset). |
curl "https://mne.rent/functions/api?path=/v1/publish/posts&status=…" \ -H "Authorization: Bearer omc_YOUR_KEY"
/v1/publish/postsposts:writeMCP: create_postOne post to the accounts you pick. when = draft (default), schedule (needs scheduled_at) or now. Media must be public https URLs.
| Parametar | U | Tip | Opis |
|---|---|---|---|
| text* | body | string | The text |
| title | body | string | Title, for blog and financial education |
| account_ids | body | array | Accounts from /v1/publish/accounts |
| variants | body | object | Text per network, e.g. {"instagram": "…"} |
| media | body | array | Fotografije ili video: [{url, type}] |
| link | body | string | A link |
| when | body | draft | schedule | now | What to do |
| scheduled_at | body | string | ISO date and time, for schedule |
curl -X POST "https://mne.rent/functions/api?path=/v1/publish/posts" \
-H "Authorization: Bearer omc_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "…",
"account_ids": [],
"when": "draft"
}'