ActiveCampaign / postmark-wordpress

The Official Postmark Wordpress Plugin
GNU General Public License v2.0
17 stars 17 forks source link

Rest API #32

Open bhubbard opened 7 years ago

bhubbard commented 7 years ago

It would be great to have rest api endpoints for each of the webhooks needed in Postmark. This could allow the site to handle the actions as it sees best.

bhubbard commented 2 years ago

@pgraham3 I started a branch to look into creating a Rest Api for the plugin. You can view the branch here: https://github.com/bhubbard/postmark-wordpress/tree/32-rest-api-support

I started to look into authentication, and wanted to use the application password feature in WordPress which is basic auth, however I noticed in Postmark it appears there is no way for the inbound webhook to provide custom headers and basic auth like there is for the webhook endpoint tool. Thoughts or Suggestions?