Start in webmail
- Open Settings → Apps and integrations.
- Create a key and select your primary mailbox or a subaccount.
- Copy the key once and keep it on your application server.
curl --fail-with-body \
-H "Authorization: Bearer $LFMAIL_API_KEY" \
"https://mail.lfmail.com.br/api/v1/messages?limit=25"