The 0.16 documentation for a caddy reverse proxy here still uses (in the stalwart.service example file) the REST API in order to reload the certificates. If I understood it correctly, Stalwart 0.16 won’t have this REST API anymore, but JMAP API. So how would this look like using the JMAP API?
ExecStart=/usr/bin/curl -X GET -H "Accept: application/json" -H "Authorization: Bearer <TOKEN>" ``https://mail.example.com/api/reload/certificate