Postmark Connector
Using Descope's connectors allows you to use Postmark, a fast and reliable email delivery service designed for transactional emails, in your authentication flow. This article will guide you through setting up the connector and incorporating it into your flow.
Configure Postmark connector
Descope uses your Postmark Server API Token and Sender address to integrate with the service. Start at your dashboard. Navigate to the Postmark connector: Dashboard -> Connectors -> Postmark
Now, complete the required fields:
- Connector name: Custom name for your connector. This will come in handy when creating multiple connectors from the same connector template.
- Connector description: (Optional) Describe what your connector is used for.
- Server API Token: The Server API Token from your Postmark server. You can find this in your Postmark account under Servers -> API Tokens.
- Message Stream ID: The ID of the message stream to use for the emails.
- From Email Address: The email address that will appear in the 'From' field of the sent email.

Testing
You can test if your connector's configuration is working properly simply by hitting the Test button and viewing the Test Results panel.
Save your configuration by hitting Create.
Using the Connector in Authentication Methods
The Postmark connector can be used to send OTP codes and Magic Links in your authentication methods.
One-time Password (OTP)
To use the Postmark connector for email OTP messages:
- Navigate to Authentication Methods -> One-time Password
- In the Email section, select your configured Postmark connector from the dropdown
- Customize your email template if needed
Your OTP emails will now be sent through Postmark.
Magic Link
To use the Postmark connector for Magic Link emails:
- Navigate to Authentication Methods -> Magic Link
- In the Email section, select your configured Postmark connector from the dropdown
- Customize your email template if needed
Your Magic Link emails will now be sent through Postmark.
Add your Postmark connector to a flow
You can also use the Postmark connector to send custom emails within your flows.
Navigate to: Flows, choose your flow. Then, tap the create button
(designated via the + icon), select Connector, and choose Postmark.
Click to set down the connector in your flow editor and fill out the fields:
- Recipient: The email address of the recipient. Setting this dynamically based on previous attributes is recommended (eg.
{{form.email}}). - Subject: The subject of the email.
- Body: The body text of the email.
