Working with Contacts without leaving Hubspot



I am trying to create a contact based on some parameters which I receive in a GET request in my URL. Is there a way to utilize the Contacts API for Creating, Updating and Removing a contact based on the parameters passed in the URL, without leaving the Hubspot environment? That is, the page performing all these needs to be hosted on Hubspot. I thought about using a hidden form which will pull the info from URL into the fields, however, this doesn’t seems to allow to delete a contact. Any ideas are appreciated.