![]() |
VOOZH | about |
The CData ODBC Driver for Postmark enables access to live data from Postmark under the ODBC standard, allowing you work with Postmark data in a wide variety of BI, reporting, and ETL tools and directly, using familiar SQL queries. This article shows how to connect to Postmark data as a generic ODBC Data Provider and create charts, reports, and dashboards based on Postmark data in Dundas BI.
Postmark uses server API tokens to authenticate requests. Each Postmark server has its own API token, which controls access to messages, bounces, templates, and statistics associated with that server.
To obtain your Server API Token, log in to your Postmark account and navigate to the server you want to connect to. Go to API Tokens under the server settings and copy the token labeled Server API token.
After setting the following connection properties, you are ready to connect:
Profile=C:\profiles\Postmark.apip;AuthScheme=APIKey;ProfileSettings="APIKey=your-server-api-token"
Once the authentication is configured, you can connect to Postmark and query data from any of the available tables such as OutboundMessages, Bounces, and Templates.
When you configure the DSN, you may also want to set the Max Rows connection property. This will limit the number of rows returned, which is especially helpful for improving performance when designing reports and visualizations.
You are now ready to create a dashboard with Postmark data.
Connect to live data from Postmark with the API Driver
Connect to Postmark