Skip to content

Public Endpoints

By default, all Wrapd endpoints require an API key. Setting public: true on an endpoint makes it callable by anyone without authentication.

version: 1
endpoints:
- name: health
method: GET
command: echo
args:
- name: msg
default: "ok"
public: true
- name: deploy
command: ./deploy.sh
method: POST
# public not set → requires X-API-Key
  • Health checks — let monitoring services ping your endpoint without managing API keys
  • Status pages — expose system status for embedding in dashboards
  • Webhooks — accept POSTs from services that can’t send custom headers (e.g. GitHub, Stripe)
  • Demos — share an endpoint URL that anyone can try

Public endpoints still run real commands on your server. Only expose safe, read-only commands as public. Avoid exposing endpoints that write data, delete files, or accept untrusted input.

Public endpoint calls count toward your monthly execution quota, same as private calls. This prevents abuse of public endpoints from draining your account.

In the dashboard, public endpoints are labeled with a PUBLIC badge. The endpoint detail panel shows the shareable URL and a cURL example without the X-API-Key header.