Articles on: WaaS

WaaS Integrations

Integration with WooCommerce and SureCart



Integration for WooCommerce and SureCart is now available via this plugin. Videos for setting up the integration is provided in the Github Repository itself.

Integration with WHMCS



Integration with WHMCS is also available. You can download it here.

Webhook



It lets you enable operations like WaaS custom checkout for SureCart, making it easier to manage your website and keep it running smoothly.
You can also use following way to generate unique links to a WaaS, which gives access to any user to create a WaaS site for only time. In other words, it is a one time use only link, which expires in 7 days.

To generate the webhook follow these steps:



Open the Webhook modal as show above.
Copy the Webhook URL.
You can now call the Webhook via Zapier or programatically.

Here is an example:
curl 'https://app.instawp.io/api/waas/lifter-waas/generate-link/56e0f961-f42c-494f-a1bd-565221013668/4af74b7aa59052cd7e928f0253246c47b9b335361de318cfde5dd330c934d25b?name=InstaWP&email=demo%40instawp.com'


How WaaS Webhook works:



Note: API always need InstaWP API token from admin user.

WaaS request sent by "GET" method and "Bearer Token" API type.

Method: GET
{URL}/api/v2/waas


When user buying WaaS using SureCart or so, it will generate the following Links which include WaaS slug, UUID and hash.

Unique link for creating new WaaS with prefilled Name & Email.

Method: POST
/api/v2/waas/{waas_slug}/generate-link/{uuid}/{hash}
Required Body: email,name


Cancel WaaS subscription link for cancelling the plan.

Method: DELETE
/api/v2/waas/{waas_slug}/{link_id}/cancel-subscription


💡 Did you know - You can add integration such as email marketing, automation to create a straightforward, delightful workflow experience for yourself, your team, and your clients. Learn about Supported Integration.

Updated on: 27/05/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!