Quickstart

There are two ways to run Prelay: self-hosted on your own server, or Prelay Cloud, the zero-knowledge hosted option. Either way the sender is one request.

Send something

curl -X POST "https://your-server.example.com/v1/notify" \
  -H "Authorization: Bearer $PRELAY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "device": "phone",
    "title": "Hello from Prelay",
    "message": "The first notification"
  }'

For zero-knowledge setups the CLI encrypts before sending:

prelay send --encrypted --device phone --title "Hello from Prelay"

On this page