P
Postmark CLI
Details
- Command
-
postmark - Docs
- https://postmarkapp.com/blog/feature-announcement-introducing-the-postmark-cli
Authentication
Server API token
env POSTMARK_SERVER_TOKEN + Account API token env POSTMARK_ACCOUNT_TOKEN discovered Sign in to your Postmark account, open the relevant server, then go to the server API Tokens tab to copy a Server API token. Postmark’s docs state this token is found on the server credentials/API Tokens page and is used for server-level API requests; a server can have up to 3 API tokens. See API overview, API Explorer, and token explanation.
Sign in to Postmark, open the account-level API Tokens page in the Account section, and copy the Account API token. Postmark’s docs say this token is required for account-level actions such as creating servers and managing sender signatures or domains. See API Explorer and token explanation.