Use this skill when a user wants to send or test a letter/PDF/fax through PixelLetter, query PixelLetter account information, or build workflows around PixelLetter's HTTPS API.
export PIXELLETTER_EMAIL="your@email.com"
export PIXELLETTER_PASSWORD="yourpassword"
Or use secret injection (e.g. Proton Pass):
PIXELLETTER_EMAIL='pass://Personal/Pixelletter/email' \
PIXELLETTER_PASSWORD='pass://Personal/Pixelletter/password' \
pass-cli run -- node scripts/pixelletter.mjs account
PIXELLETTER_EMAILPIXELLETTER_PASSWORD100 as "transmission accepted", not final delivery. PixelLetter sends final confirmation later by email.Bundled script: scripts/pixelletter.mjs
Run from the skill directory or pass the full script path.
PIXELLETTER_EMAIL="..." PIXELLETTER_PASSWORD="..." \
node scripts/pixelletter.mjs account
node scripts/pixelletter.mjs send-text \
--address-file /path/address.txt \
--message-file /path/message.txt \
--subject "Betreff" \
--destination DE \
--dry-run
PIXELLETTER_EMAIL="..." PIXELLETTER_PASSWORD="..." \
node scripts/pixelletter.mjs send-upload \
--file /path/letter.pdf \
--destination DE
Only after explicit user confirmation:
PIXELLETTER_ALLOW_REAL_SEND=true \
PIXELLETTER_EMAIL="..." PIXELLETTER_PASSWORD="..." \
node scripts/pixelletter.mjs send-upload \
--file /path/letter.pdf \
--destination DE \
--production \
--confirm-real-send
--action 1|2|31 = postal letter only (default)2 = fax only3 = postal letter and fax--fax "+49 ..." is required for action 2 or 3.--destination DE is required for postal letter actions 1 or 3.--location 1|2|31 = München (default)2 = Hausleiten bei Wien3 = Hamburg--addoption registered-mail options, comma-separated:27 Einschreiben28 Rückschein, only with 2729 Eigenhändig, only with 2730 Einschreiben Einwurf, not combinableFor endpoint details and response shape, read references/api.md only when needed.
共 1 个版本