• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

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: 64
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