I’m facing problem that I can’t found any of leads api in documentation of yours. So I wonder that is there only one way to create lead from hubspot website’s form ?
You might be interested in HubSpot’s “Contacts API” documentation. For further reading on HubSpot “Leads” vs. “Contacts”, you might also be interested in this related community post, where @karstenkoehler gives a good top level overview of this topic and links out to other good resources.
I hope that proves helpful. Please let me know if you have any follow-up questions.