Credentials
Postmark API token
Missive uses the same configuration as postmark-rails. Follow the postmark-rails configuration instructions to set up your Postmark API credentials, e.g.:
yaml
postmark_api_token: your-server-api-tokenWebhook secret
The webhooks endpoint reads its shared secret from Rails.application.credentials.postmark.webhooks_secret:
yaml
postmark:
webhooks_secret: a-long-random-stringGenerate one with bin/rails secret, and set the same value in the X-Postmark-Secret custom header of your Postmark webhooks.
DANGER
Always set postmark.webhooks_secret in every environment where the engine is mounted.