Integrate your systems with LRV Cloud Manager simply and securely.
The LRV Cloud Manager public API allows you to manage VPS, domains, tickets, subscriptions and more programmatically. Use API Keys or Bearer Tokens to authenticate.
Base URL: https://cloud.lrvweb.com.br/api/v1/
Formato: todas as respostas são JSON. Envie Content-Type: application/json no body de POST/PUT.
There are two ways to authenticate: via API Key directly in the header or using a Bearer Token obtained from the API Key.
Envie sua chave no header X-API-Key em cada requisição. Simples e direto.
Troque sua API Key por um token de curta duração (1h). Ideal para aplicações que não devem expor a API Key diretamente.
Cada API Key tem escopos que definem o que ela pode acessar. Se tentar acessar um recurso sem o escopo necessário, receberá HTTP 403.
Escopos disponíveis: hosting.read hosting.write tickets.read tickets.write domains.read domains.write billing.read billing.write backups.read backups.write monitoring.read databases.read databases.write applications.read applications.write emails.read emails.write webhooks.read webhooks.write
Integrar com a API leva menos de 5 minutos:
hosting.read, tickets.write)lrv_test_ (writes são simulados, reads retornam dados reais)lrv_live_Todos os endpoints seguem REST. Recursos disponíveis:
Escopo: hosting.read / hosting.write
GET /api/v1/hostingGET /api/v1/hosting/show?id=POST /api/v1/hosting/restart?id=GET /api/v1/hosting/metrics?id=
Escopo: tickets.read / tickets.write
GET /api/v1/ticketsGET /api/v1/tickets/show?id=POST /api/v1/ticketsPOST /api/v1/tickets/replyPOST /api/v1/tickets/close?id=
Escopo: domains.read / domains.write
GET /api/v1/domainsGET /api/v1/domains/show?id=POST /api/v1/domainsPOST /api/v1/domains/remove?id=
Escopo: billing.read
GET /api/v1/subscriptionsGET /api/v1/subscriptions/show?id=GET /api/v1/subscriptions/invoices?subscription_id=
Escopo: databases.read / databases.write
GET /api/v1/databasesPOST /api/v1/databasesPOST /api/v1/databases/remove?id=
Escopo: backups.read / backups.write
GET /api/v1/backupsPOST /api/v1/backupsPOST /api/v1/backups/restore
Endpoints de listagem retornam dados paginados. Use ?page= e ?per_page= (máx 100).
page — Número da página (padrão: 1)per_page — Itens por página (padrão: 25, máx: 100)search — Busca textual (quando disponível)status — Filtrar por statussort — Ordenação: asc ou descEach API Key has a configurable request limit per minute. When exceeded, the API returns HTTP 429 with the Retry-After header.
Configure URLs to receive real-time notifications when events occur. All payloads are signed with HMAC SHA-256.
ticket.created ticket.replied ticket.closed hosting.created hosting.suspended hosting.restarted payment.received payment.overdue subscription.created subscription.cancelled backup.created domain.added application.installed monitoring.alert
Todas as respostas de erro seguem o mesmo formato:
| Código | Significado | Quando ocorre |
|---|---|---|
200 | OK | Requisição processada com sucesso |
201 | Created | Recurso criado (ticket, domínio, etc.) |
202 | Accepted | Ação enfileirada (restart, backup) |
400 | Bad Request | Parâmetros faltando ou inválidos |
401 | Unauthorized | API Key inválida ou ausente |
403 | Forbidden | Escopo insuficiente |
404 | Not Found | Recurso não encontrado |
409 | Conflict | Recurso já existe ou conflito de estado |
422 | Validation Error | Dados inválidos (com detalhes por campo) |
429 | Rate Limited | Limite de requisições excedido |
500 | Server Error | Erro interno (reporte ao suporte) |
UNAUTHORIZED FORBIDDEN NOT_FOUND VALIDATION_ERROR RATE_LIMIT_EXCEEDED MISSING_ID DOMAIN_ALREADY_EXISTS VPS_NOT_RUNNING TICKET_CLOSED INVALID_API_KEY INVALID_SCOPES ENVIRONMENT_MISMATCH
Download collections and specifications to start integrating quickly.
composer require lrv/cloud-manager-sdk
npm install @lrv/cloud-manager
pip install lrv-cloud-manager