• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

Adding dynamic urls

So I am implementing Pabbly into my plugin North Commerce (WordPress Plugin) and wanted to double check I understand the API endpoint correctly.

https://forum.pabbly.com/attachments/1635770959609-png.5022/<------- In this image it shows how to setup my webhook endpoint. How am i able to add a dynamic url into the url here based on the domain the user's pluigin is installed. I saw this note "Note: you can use parameters within double curly braces e.g. https://{{subdomain}}.example.com/api/v3/contacts?api-key={{api-key}} in the API Endpoint URL (if required)" but wanted to double check I could use an entire domain for this?

I have also attached a photo of what it looks like in Zapier. Is it possible to store the site_url somewhere when a user authenticates like in Zapier?
 

Attachments

  • Screenshot 2022-01-28 105321.jpg
    Screenshot 2022-01-28 105321.jpg
    15 KB · Views: 92
P

Pabblymember11

Guest
Hey @northplugins

In the case of a dynamic domain or subdomain in the API URL, you can pass the subdomain in the following ways.

1) Subdomain:
https://{{subdomain}}.example.com/api/v3/contacts

2) Domain:
https://{{domain}}/api/v3/contacts
 
Top