Skip to content

Authentication

Igor Balos edited this page May 21, 2019 · 4 revisions

Each command requires an account or server token depending on the level of access required.

Tokens can be passed in as environment variables: POSTMARK_SERVER_TOKEN and POSTMARK_ACCOUNT_TOKEN.

$ POSTMARK_SERVER_TOKEN=123 email raw [options]

$ POSTMARK_ACCOUNT_TOKEN=123 servers list [options]

If a token is not supplied as an environment variable, you will be prompted for the server or account token after running the command.

You can’t perform that action at this time.