Can you populate a search query from a URL?

I am using the API to synchronize contacts between InfusionSoft and a 3rd party app. When I sync the contacts, I create a tag for that transaction and apply it to the contacts. This is all working fine, but I want to give the user a link to display all contacts with that tag in InfusionSoft.

Something like the following would be ideal:

https://myapp.infusionsoft.com/Reports/searchTemplate.jsp?reportClass=AdvContactSearch &tagid=123 &view=resultsPage

Much in the way you can search for “Infusionsoft” on Google by following this URL:

https://www.google.com/search?q=Infusionsoft

Is this possible to do with one click using a URL like the above? Or does the user have to make an advanced search, manually enter the tag then click Search with 4 clicks or more?

If you go into your CRM - Settings - Tags.
Go to the tag you want. Click the ’show number’ button on the right.
Click the number that is there (that shows who has that tag).

After doing that, copy the URL in the address bar above and you should be able to use that to pull up your list of people regularly.

email-sig-storybrand-certified-guide-60.png

1 Like

Perfect @Jeff_Arnold.

I can integrate that into my software easily as the argument I am looking for is Tags_DATA which refers to the Tag ID. So the URL would look something like this:

https://myapp.infusionsoft.com/Reports/searchTemplate.jsp?reportClass=AdvContactSearch&view=resultsPage&RunSearch=true &Tags_DATA=123

Many thanks!

The XML-RPC will also allow you to collect the results from a saved search using the api, should that also be a possible solution for you.

Thanks for the tip @John_Borelli. I may come to use that in the future. Cheers!