Creating Tables
Learn to create database tables using the HubDB API.
We'll cover the following
What is HubDB?
HubDB is HubSpot’s relational database. Users can create tables and insert data into these tables. The data in these tables power dynamic pages, which are website pages that display different content while keeping the layout and page styling consistent.
HubSpot provides a HubDB API through which we can automate database management tasks, such as table creation and updates.
To make successful requests to the endpoints available in HubDB, our application must have the hubdb
scope.
Create a table
To programmatically create a new draft table on HubDB, we can send a POST
request to the tables endpoint of the HubDB API.
The base URL of the tables endpoint is:
Get hands-on with 1400+ tech skills courses.