Ok, so the documentation tells us how to get the tracking ID from the __ss_tk cookie using PHP -- super easy.
But what if I want to acquire the current lead's contact data via the API with PHP. I'd use the getLead method. The only problem is it requires me to pass the lead's ID (which of course is NOT the tracking ID). How would I get that?
I've looked just about everywhere but just cannot find how to get the current user's lead ID to look-up their contact info so I can pass some of this info in a url to Acuity Scheduling to prefill intake form fields in an embedded scheduler iframe.
Sorry if this is an amateur question... I'm doing what I can with my limited PHP experience.
Please sign in to leave a comment.