API reference
API reference
Every client-facing endpoint, with typed parameters and request and response examples in cURL, Python and Node.js.
Base URL
Send every request over HTTPS to:
https://nofy.encipher.co.tzThe same API also answers on https://ens.encipher.co.tz, the original host. Existing integrations can keep using it; new ones should use https://nofy.encipher.co.tz, which every example in these docs uses.
Authentication
v2 endpoints take a client-credentials Bearer token in the Authorization header. Mint one with Create a token; the Authentication guide covers expiry and keeping the secret safe. POST /v2/messages also requires an Idempotency-Key header.
Errors
Errors are JSON. Validation errors name the field; everything else carries a detail message.
Endpoints
Messages
Tenants & devices
Authentication
Legacy v1
Internal paths (Meta webhooks, profiling, admin callbacks) are intentionally unpublished.