Skip to content

Authentication

Every endpoint except /api/json-escape requires a Bearer token in the Authorization header.

Authorization: Bearer sk_morso_...
Terminal window
curl -X POST https://morso.dev/api/hash \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"algorithm": "sha256", "input": "hello world"}'
ScenarioStatusBody
Missing Authorization header401 Unauthorized{"message": "missing api key"}
Invalid or revoked key401 Unauthorized{"message": "invalid api key"}

Create and revoke keys from your Dashboard. Keys are prefixed with sk_morso_ and shown only once at creation — store them somewhere safe.

/api/json-escape is free and requires no authentication.