Skip to main content

API Reference

srvly exposes both tRPC (internal) and REST (agent-facing) endpoints.

REST Endpoints

EndpointMethodDescription
/api/deployGETDownload the all-in-one deployment script
/api/agent/docker/deployPOSTDeploy a Docker app on a server
/api/agent/install/registerPOSTRegister an app installation
/api/domains/enable-sslPOSTEnable SSL for a domain
/api/dispatchPOSTExecute a command on a server

Base URL

All endpoints are relative to your srvly instance:

https://YOUR_DOMAIN/api/...