HubSpot serverless function samples. To utilize a function, upload the entire .functions
folder, and read the README.md
for details on configuration.
-
Hello, World! (GET) - A simple endpoint that returns "Hello, World!".
-
Hit API and Return JSON (GET) - An endpoint that hits an external API, and returns the JSON response.
-
Hit HubSpot Authenticated API using @hubspot/api-client and Return JSON (GET) - An endpoint that hits the authenticated HubSpot GET all contacts API using the @hubspot/api-client, and returns the JSON response from the external API.
-
Create HubDB Table Row and Publish Table (POST) - An endpoint that accepts request body JSON through a POST request, that creates a HubDB table row based on the submitted data, and published the table.