Optional
requestFactory: TablesApiRequestFactoryOptional
responseProcessor: TablesApiResponseProcessorThe ID or name of the table to archive.
Optional
_options: ConfigurationArchive (soft delete) an existing HubDB table. This archives both the published and draft versions. Archive a table
The ID or name of the table to archive.
Optional
_options: ConfigurationClone an existing HubDB table. The newName
and newLabel
of the new table can be sent as JSON in the request body. This will create the cloned table as a draft.
Clone a table
The ID or name of the table to clone.
Optional
_options: ConfigurationClone an existing HubDB table. The newName
and newLabel
of the new table can be sent as JSON in the request body. This will create the cloned table as a draft.
Clone a table
The ID or name of the table to clone.
Optional
_options: ConfigurationCreates a new draft HubDB table given a JSON schema. The table name and label should be unique for each account. Create a new table
Optional
_options: ConfigurationCreates a new draft HubDB table given a JSON schema. The table name and label should be unique for each account. Create a new table
Optional
_options: ConfigurationExports the draft version of a table to CSV / EXCEL format. Export a draft table
The ID or name of the table to export.
Optional
format: stringThe file format to export. Possible values include `CSV`, `XLSX`, and `XLS`.
Optional
_options: ConfigurationExports the draft version of a table to CSV / EXCEL format. Export a draft table
The ID or name of the table to export.
Optional
format: stringThe file format to export. Possible values include `CSV`, `XLSX`, and `XLS`.
Optional
_options: ConfigurationExports the published version of a table in a specified format. Export a published version of a table
The ID or name of the table to export.
Optional
format: stringThe file format to export. Possible values include `CSV`, `XLSX`, and `XLS`.
Optional
_options: ConfigurationExports the published version of a table in a specified format. Export a published version of a table
The ID or name of the table to export.
Optional
format: stringThe file format to export. Possible values include `CSV`, `XLSX`, and `XLS`.
Optional
_options: ConfigurationReturns the details for each draft table defined in the specified account, including column definitions. Return all draft tables
Optional
sort: string[]Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.
Optional
after: stringThe cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.
Optional
limit: numberThe maximum number of results to return. Default is 1000.
Optional
createdAt: DateOnly return tables created at exactly the specified time.
Optional
createdAfter: DateOnly return tables created after the specified time.
Optional
createdBefore: DateOnly return tables created before the specified time.
Optional
updatedAt: DateOnly return tables last updated at exactly the specified time.
Optional
updatedAfter: DateOnly return tables last updated after the specified time.
Optional
updatedBefore: DateOnly return tables last updated before the specified time.
Optional
contentType: stringOptional
archived: booleanSpecifies whether to return archived tables. Defaults to `false`.
Optional
_options: ConfigurationReturns the details for each draft table defined in the specified account, including column definitions. Return all draft tables
Optional
sort: string[]Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.
Optional
after: stringThe cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.
Optional
limit: numberThe maximum number of results to return. Default is 1000.
Optional
createdAt: DateOnly return tables created at exactly the specified time.
Optional
createdAfter: DateOnly return tables created after the specified time.
Optional
createdBefore: DateOnly return tables created before the specified time.
Optional
updatedAt: DateOnly return tables last updated at exactly the specified time.
Optional
updatedAfter: DateOnly return tables last updated after the specified time.
Optional
updatedBefore: DateOnly return tables last updated before the specified time.
Optional
contentType: stringOptional
archived: booleanSpecifies whether to return archived tables. Defaults to `false`.
Optional
_options: ConfigurationReturns the details for the published version of each table defined in an account, including column definitions. Get all published tables
Optional
sort: string[]Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.
Optional
after: stringThe cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.
Optional
limit: numberThe maximum number of results to return. Default is 1000.
Optional
createdAt: DateOnly return tables created at exactly the specified time.
Optional
createdAfter: DateOnly return tables created after the specified time.
Optional
createdBefore: DateOnly return tables created before the specified time.
Optional
updatedAt: DateOnly return tables last updated at exactly the specified time.
Optional
updatedAfter: DateOnly return tables last updated after the specified time.
Optional
updatedBefore: DateOnly return tables last updated before the specified time.
Optional
contentType: stringOptional
archived: booleanSpecifies whether to return archived tables. Defaults to `false`.
Optional
_options: ConfigurationReturns the details for the published version of each table defined in an account, including column definitions. Get all published tables
Optional
sort: string[]Specifies which fields to use for sorting results. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. `createdAt` will be used by default.
Optional
after: stringThe cursor token value to get the next set of results. You can get this from the `paging.next.after` JSON property of a paged response containing more results.
Optional
limit: numberThe maximum number of results to return. Default is 1000.
Optional
createdAt: DateOnly return tables created at exactly the specified time.
Optional
createdAfter: DateOnly return tables created after the specified time.
Optional
createdBefore: DateOnly return tables created before the specified time.
Optional
updatedAt: DateOnly return tables last updated at exactly the specified time.
Optional
updatedAfter: DateOnly return tables last updated after the specified time.
Optional
updatedBefore: DateOnly return tables last updated before the specified time.
Optional
contentType: stringOptional
archived: booleanSpecifies whether to return archived tables. Defaults to `false`.
Optional
_options: ConfigurationGet the details for the draft version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table. Get details for a draft table
The ID or name of the table to return.
Optional
isGetLocalizedSchema: booleanOptional
archived: booleanSet this to `true` to return an archived table. Defaults to `false`.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the result.
Optional
_options: ConfigurationGet the details for the draft version of a specific HubDB table. This will include the definitions for the columns in the table and the number of rows in the table. Get details for a draft table
The ID or name of the table to return.
Optional
isGetLocalizedSchema: booleanOptional
archived: booleanSet this to `true` to return an archived table. Defaults to `false`.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the result.
Optional
_options: ConfigurationReturns the details for the published version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. Note: This endpoint can be accessed without any authentication if the table is set to be allowed for public access. To do so, you'll need to include the HubSpot account ID in a portalId
query parameter.
Get details of a published table
The ID or name of the table to return.
Optional
isGetLocalizedSchema: booleanOptional
archived: booleanSet this to `true` to return details for an archived table. Defaults to `false`.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the result.
Optional
_options: ConfigurationReturns the details for the published version of the specified table. This will include the definitions for the columns in the table and the number of rows in the table. Note: This endpoint can be accessed without any authentication if the table is set to be allowed for public access. To do so, you'll need to include the HubSpot account ID in a portalId
query parameter.
Get details of a published table
The ID or name of the table to return.
Optional
isGetLocalizedSchema: booleanOptional
archived: booleanSet this to `true` to return details for an archived table. Defaults to `false`.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the result.
Optional
_options: ConfigurationImport the contents of a CSV file into an existing HubDB table. The data will always be imported into the draft version of the table. Use the /publish
endpoint to push these changes to the published version. This endpoint takes a multi-part POST request. The first part will be a set of JSON-formatted options for the import and you can specify this with the name as config
. The second part will be the CSV file you want to import and you can specify this with the name as file
. Refer the overview section to check the details and format of the JSON-formatted options for the import.
Import data into draft table
The ID of the destination table where data will be imported.
Optional
config: stringOptional
file: HttpFileOptional
_options: ConfigurationImport the contents of a CSV file into an existing HubDB table. The data will always be imported into the draft version of the table. Use the /publish
endpoint to push these changes to the published version. This endpoint takes a multi-part POST request. The first part will be a set of JSON-formatted options for the import and you can specify this with the name as config
. The second part will be the CSV file you want to import and you can specify this with the name as file
. Refer the overview section to check the details and format of the JSON-formatted options for the import.
Import data into draft table
The ID of the destination table where data will be imported.
Optional
config: stringOptional
file: HttpFileOptional
_options: ConfigurationPublishes the table by copying the data and table schema changes from draft version to the published version, meaning any website pages using data from the table will be updated. Publish a table from draft
The ID or name of the table to publish.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the response.
Optional
_options: ConfigurationPublishes the table by copying the data and table schema changes from draft version to the published version, meaning any website pages using data from the table will be updated. Publish a table from draft
The ID or name of the table to publish.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the response.
Optional
_options: ConfigurationReplaces the data in the draft version of the table with values from the published version. Any unpublished changes in the draft will be lost after this call is made. Reset a draft table
The ID or name of the table to reset.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the response.
Optional
_options: ConfigurationReplaces the data in the draft version of the table with values from the published version. Any unpublished changes in the draft will be lost after this call is made. Reset a draft table
The ID or name of the table to reset.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the response.
Optional
_options: ConfigurationUnpublishes the table, meaning any website pages using data from the table will not render any data. Unpublish a table
The ID or name of the table to publish.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the response.
Optional
_options: ConfigurationUnpublishes the table, meaning any website pages using data from the table will not render any data. Unpublish a table
The ID or name of the table to publish.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the response.
Optional
_options: ConfigurationUpdate an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the draft verion of the table. Use the /publish
endpoint to push all the changes to the published version. To restore a table, include the query parameter archived=true
and \"archived\": false
in the json body. Note: You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.
Update an existing table
The ID or name of the table to update.
Optional
isGetLocalizedSchema: booleanOptional
archived: booleanSpecifies whether to return archived tables. Defaults to `false`.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the result.
Optional
_options: ConfigurationUpdate an existing HubDB table. You can use this endpoint to add or remove columns to the table as well as restore an archived table. Tables updated using the endpoint will only modify the draft verion of the table. Use the /publish
endpoint to push all the changes to the published version. To restore a table, include the query parameter archived=true
and \"archived\": false
in the json body. Note: You need to include all the columns in the input when you are adding/removing/updating a column. If you do not include an already existing column in the request, it will be deleted.
Update an existing table
The ID or name of the table to update.
Optional
isGetLocalizedSchema: booleanOptional
archived: booleanSpecifies whether to return archived tables. Defaults to `false`.
Optional
includeForeignIds: booleanSet this to `true` to populate foreign ID values in the result.
Optional
_options: Configuration
Archive (soft delete) an existing HubDB table. This archives both the published and draft versions. Archive a table