Skip to main content
GET
/
cms
/
v3
/
hubdb
/
tables
/
draft
Return all draft tables
curl --request GET \
  --url https://api.hubapi.com/cms/v3/hubdb/tables/draft \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "allowChildTables": true,
      "allowPublicApiAccess": true,
      "columnCount": 123,
      "columns": "{name: \"column1\"",
      "createdAt": "2023-11-07T05:31:56Z",
      "deleted": true,
      "deletedAt": "2023-11-07T05:31:56Z",
      "dynamicMetaTags": {},
      "enableChildTablePages": true,
      "id": "<string>",
      "label": "<string>",
      "name": "<string>",
      "published": true,
      "publishedAt": "2023-11-07T05:31:56Z",
      "rowCount": 123,
      "updatedAt": "2023-11-07T05:31:56Z",
      "useForPages": true,
      "createdBy": {
        "email": "<string>",
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>"
      },
      "isOrderedManually": true,
      "updatedBy": {
        "email": "<string>",
        "firstName": "<string>",
        "id": "<string>",
        "lastName": "<string>"
      }
    }
  ],
  "total": 123,
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    }
  }
}

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Professional
Data HubData Hub -Free

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

after
string

The 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.

archived
boolean

Specifies whether to return archived tables. Defaults to false.

contentType
string

Specifies the content type for the response.

createdAfter
string<date-time>

Only return tables created after the specified time.

createdAt
string<date-time>

Only return tables created at exactly the specified time.

createdBefore
string<date-time>

Only return tables created before the specified time.

isGetLocalizedSchema
boolean

Indicates whether to retrieve the localized schema.

limit
integer<int32>

The maximum number of results to return. Default is 1000.

sort
string[]

Specifies which fields to use for sorting results. Valid fields are name, createdAt, updatedAt, createdBy, updatedBy. createdAt will be used by default.

updatedAfter
string<date-time>

Only return tables last updated after the specified time.

updatedAt
string<date-time>

Only return tables last updated at exactly the specified time.

updatedBefore
string<date-time>

Only return tables last updated before the specified time.

Response

successful operation

results
object[]
required
total
integer<int32>
required

The total number of tables available in the collection.

paging
object
Last modified on December 16, 2025