I have API access. I have created the API key. I know how to retrieve the page id, page variant, and visitor ID. I know that I need to trigger a new Lead creation in Unbounce via the API with conversion = true. But I am finding the API instructions at https://api.unbounce.com/doc/leads?co… not detailed enough.
How do I tell my php to open a connection to my API?
Do I need to include my new API key? If so, where do I put it (code example please).
How do I send a new lead creation request with conversion = true and the relevant page ID, variant, and visitor ID (code example please) .
Many thanks,
Axel