Basic PHP code example for adding new leads

Basic PHP code example for adding new leads

Good afternoon, I have searched everywhere for a simple example of a PHP code that allows me to add potential customers when processing a form of assistance / consultation on a website. The form has several boxes, including email, and registration of other types of data required to register the user.

I just need a snippet or something to show that I am taking the form data that has been collected and sent through the API to our Zoho account, to create a new prospective customer.

A functional code today as an example would be very useful, thank you.