# HubSpot docs: APIs Legacy CMS

## CMS

### Blogs

#### Authors

- [CMS API | Blog Authors](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/guide.md): The blog authors endpoints are used to create and manage hubspot blog authors
- [Create an author](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/create-author.md): Create a new Blog Author.
- [Retrieve an author](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/get-author.md): Retrieve the Blog Author object identified by the id in the path.
- [Get all authors](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/get-authors.md): Get the list of blog authors. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits.
- [Legacy blog-authors](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/legacy-blog-authors.md): Legacy v3 endpoints for creating and managing blog authors in HubSpot.
- [Update an author](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/update-author.md): Sparse updates a single Blog Author object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified.
- [Delete an author](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/delete-author.md): Delete the Blog Author object identified by the id in the path.

##### Batch

- [Create a batch of authors](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/batch/create-authors.md): Create the Blog Author objects detailed in the request body.
- [Retrieve a batch of authors](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/batch/get-authors.md): Retrieve the Blog Author objects identified in the request body.
- [Update a batch of authors](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/batch/update-authors.md): Update the Blog Author objects identified in the request body.
- [Delete a batch of authors](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/batch/delete-authors.md): Delete the Blog Author objects identified in the request body.

##### Multi-language

- [Attach an author to a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/multi-language/attach-to-lang-group.md): Attach a Blog Author to a multi-language group.
- [Create a new language variation](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/multi-language/create-language-variation.md): Create a new language variation from an existing Blog Author.
- [Detach an author from a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/multi-language/detach-from-lang-group.md): Detach a Blog Author from a multi-language group.
- [Set a new primary language](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/multi-language/set-new-lang-primary.md): Set a Blog Author as the primary language of a multi-language group.
- [Update languages of multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/authors/multi-language/update-languages.md): Explicitly set new languages for each Blog Author in a multi-language group.

#### Blog Settings

- [Get a specific blog revision](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/get-blog-revision.md): Get a specific blog revision.
- [Get all blog revisions](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/get-blog-revisions.md): Get the list of blog revisions. Results can be limited and filtered by creation or updated date.
- [Retrieve a blog](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/get-blog.md): Retrieve a specific blog by its ID.
- [Retrieve all blogs](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/get-blogs.md): Get the list of blogs. Results can be limited and filtered by creation or updated date.

##### Multi-language

- [Add a blog to a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/multi-language/attach-to-lang-group.md): Attach a blog to a multi-language group.
- [Update blog languages](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/multi-language/create-blog-setting.md): Explicitly set new languages for each blog in a multi-language group.
- [Create a language variation from an existing blog](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/multi-language/create-language-variation.md): Create a new language variation from an existing blog.
- [Remove a blog from a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/multi-language/detach-from-lang-group.md): Detaches a blog from a multi-language group.
- [Set primary language to match a specific blog](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/multi-language/set-new-lang-primary.md): Set a blog as the primary language of a multi-language group.

##### v2

- [Get a blog by ID](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/v2/get-BlogBy-id.md): Get the details for a specific blog.
- [Get the previous version of the blog](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/v2/get-BlogVersion.md): Get a specific revision of the settings for a blog. Version id is the id of the version from the list previous versions endpoint.
- [List blogs](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/v2/listBlogs.md): List all of the blogs for an account. Supports paging and filtering. If a parameter supports a filter type of 'gt', that means you can append a double underscore to the parameter name to find all items greater than the specified value. For example, the following query will find all blogs created aft…
- [List previous versions of the blog](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/blog-settings/v2/listBlogVersions.md): Get the previous revisions of the settings for a specific blog.

#### Comments

- [Get a blog comment by ID](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/comments/get-comments-v3-comments-comment_-id.md): Get a specific comment by ID.
- [List comments](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/comments/get-comments-v3-comments.md): List comments from your HubSpot blogs. Supports paging and filtering.
- [Restores a previously deleted comment](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/comments/post-comments-v3-comments-comment_id-restore.md): Restore a previously deleted comment.
- [Create a new comment](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/comments/post-comments-v3-comments.md): Create a new comment. This API is considered content agnostic, meaning it may record data for more than a single type of object (a blog post or a landing page, etc.) Due to this difference, the API requires additional fields that may seem redundant if the API were only concerned with a single type.
- [Delete the comment](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/comments/delete-comments-v3-comments-comment_-id.md): Marks the comment as deleted. The comment can be restored later via a POST to the restore-deleted endpoint.

#### Posts

- [CMS API | Blog Posts](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/guide.md): Use the blog posts API to create, manage, and publish blog posts on your website.
- [Clone a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/clone-post.md): Clone a blog post, making a copy of it in a new blog post.
- [Create a new post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/create-post.md): Create a new blog post, specifying its content in the request body.
- [Retrieve a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/get-post.md): Retrieve a blog post by the post ID.
- [Get all posts](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/get-posts.md): Retrieve all blog posts, with paging and filtering options. This method would be useful for an integration that ingests posts and suggests edits.
- [Schedule a post to be published](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/schedule-post.md): Schedule a blog post to be published at a specified time.
- [Update a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/update-post.md): Partially updates a single blog post by ID. You only need to specify the values that you want to update.
- [Delete a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/delete-post.md): Delete a blog post by ID.

##### Batch

- [Create a batch of posts](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/batch/create-posts.md): Create a batch of blog posts, specifying their content in the request body.
- [Retrieve a batch of posts](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/batch/get-posts.md): Retrieve a batch of blog posts by ID. identified in the request body.
- [Update a batch of posts](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/batch/update-posts.md): Update a batch of blog posts.
- [Delete a batch of posts](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/batch/delete-posts.md): Delete a blog post by ID.  Note: This is not the same as the in-app `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to `true`.

##### Drafts

- [Retrieve the full draft version of a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/drafts/get-post-draft.md): Retrieve the full draft version of a blog post.
- [Reset post draft to the live version](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/drafts/reset-post.md): Discard all drafted content, resetting the draft to contain the content in the currently published version.
- [Restore a draft to a previous version](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/drafts/restore-to-draft.md): Takes a specified version of a blog post, sets it as the new draft version of the blog post.
- [Update the draft of a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/drafts/update-post-draft.md): Partially updates the draft version of a single blog post by ID. You only need to specify the values that you want to update.

##### Multi-language

- [Attach post to a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/multi-language/attach-to-lang-group.md): Attach a blog post to a [multi-language group](https://developers.hubspot.com/docs/guides/cms/content/multi-language-content).
- [Create a language variation](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/multi-language/create-language-variation.md): Create a new language variation from an existing blog post
- [Detach post from a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/multi-language/detach-from-lang-group.md): Detach a blog post from a [multi-language group](https://developers.hubspot.com/docs/guides/cms/content/multi-language-content).
- [Set a new primary language](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/multi-language/set-new-lang-primary.md): Set the primary language of a [multi-language group](https://developers.hubspot.com/docs/guides/cms/content/multi-language-content) to the language of the provided post (specified as an ID in the request body)
- [Update languages of multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/multi-language/update-languages.md): Explicitly set new languages for each post in a [multi-language group](https://developers.hubspot.com/docs/guides/cms/content/multi-language-content).

##### Revisions

- [Retrieve a previous version of a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/revisions/get-post-version.md): Retrieve a previous version of a blog post.
- [Retrieves all previous versions of a post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/revisions/get-post-versions.md): Retrieve all the previous versions of a blog post.
- [Restore a previous version](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/revisions/restore-post.md): Restores a blog post to one of its previous versions.

##### v2

- [Get a blog post by ID](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/get-content-api-v2-blog-posts-blog_post_-id.md): Get a specific blog post by ID.
- [Gets the current contents of the auto-save buffer](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/get-content-api-v2-blog-posts-blog_post_id-buffer.md): The auto-save buffer is updated continuously when a user is editing the content through the UI. Only when the user clicks 'Save' or 'Publish' does the auto-save buffer get copied to the live object.
- [Determine if the auto-save buffer differs from the live blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/get-content-api-v2-blog-posts-blog_post_id-has-buffer-ed-changes.md): Returns a dictionary: {"has_buffered_changes": false/true} depending on if the buffer is different from the live object.
- [Get the previous version of the blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/get-content-api-v2-blog-posts-blog_post_id-versions-version_-id.md): Get a specific revision of a blog post. Version id is the id of the version from the list previous versions endpoint.
- [List previous versions of the blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/get-content-api-v2-blog-posts-blog_post_id-versions.md): Get the previous versions of a blog post.
- [List blog posts](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/get-content-api-v2-blog-posts.md): Get the posts from your HubSpot blogs. Supports paging and filtering. This method would be useful for an integration that examined blog posts and used an external service to suggest edits.
- [Clone the blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/post-content-api-v2-blog-posts-blog_post_id-clone.md): Clones an existing blog post.
- [Publish, schedule or unpublish a blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/post-content-api-v2-blog-posts-blog_post_id-publish-action.md): Either schedules or cancels publishing based on the POSTed JSON. Note that this endpoint must always be used to publish a blog post. Use the Create or Update endpoints to set the publish_date, but then use this endpoint to trigger the actual publish event.
- [Copies the contents of the auto-save buffer into the live blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/post-content-api-v2-blog-posts-blog_post_id-push-buffer-live.md): Copies the contents of the auto-save buffer into the live blog post.
- [Validates the auto-save buffer version of the blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/post-content-api-v2-blog-posts-blog_post_id-validate-buffer.md): Validates the auto-save buffer version of the blog post. No post body is needed.
- [Restore a previous version of the blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/post-content-api-v2-blog-posts-blog_post_id-versions-restore.md): Restore a specific revision for the specified blog post.
- [Create a new blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/post-content-api-v2-blog-posts.md): Create a new blog post.
- [Update the blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/put-content-api-v2-blog-posts-blog_post_-id.md): Update a blog post. If any fields are omitted from the body, we will only update the included fields.
- [Updates the auto-save buffer](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/put-content-api-v2-blog-posts-blog_post_id-buffer.md): Updates the auto-save buffer. Live objects will not be impacted.
- [Restores a previously deleted blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/put-content-api-v2-blog-posts-blog_post_id-restore-deleted.md): Restore a previously deleted blog post.
- [Delete the blog post](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/posts/v2/delete-content-api-v2-blog-posts-blog_post_-id.md): Marks the blog post as deleted. The blog post can be restored later via a POST to the restore-deleted endpoint.

#### Tags

- [CMS API | Blog tags](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/guide.md): Use the blog tags API to create, manage, and organize blog post tags.
- [Create a tag](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/create-tag.md): Create a new Blog Tag.
- [Retrieve a tag](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/get-tag.md): Retrieve the Blog Tag object identified by the id in the path.
- [Retrieve all tags](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/get-tags.md): Get the list of blog tags. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits.
- [Update a tag](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/update-tag.md): Sparse updates a single Blog Tag object identified by the id in the path. All the column values need not be specified. Only the that need to be modified can be specified.
- [Delete a tag](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/delete-tag.md): Delete the Blog Tag object identified by the id in the path.

##### Batch

- [Create a batch of tags](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/batch/create-tags.md): Create the Blog Tag objects detailed in the request body.
- [Retrieve a batch of tags](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/batch/get-tags.md): Retrieve the Blog Tag objects identified in the request body.
- [Update a batch of tags](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/batch/update-tags.md): Update the Blog Tag objects identified in the request body.
- [Delete a batch of tags](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/batch/delete-tags.md): Delete the Blog Tag objects identified in the request body.

##### Multi-language

- [Attach a tag to a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/multi-language/attach-to-lang-group.md): Attach a Blog Tag to a multi-language group.
- [Create a new language variation](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/multi-language/create-language-variation.md): Create a new language variation from an existing Blog Tag
- [Detach a tag from a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/multi-language/detach-from-lang-group.md): Detach a Blog Tag from a multi-language group.
- [Set a new primary language](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/multi-language/set-new-lang-primary.md): Set a Blog Tag as the primary language of a multi-language group.
- [Update languages of multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/tags/multi-language/update-languages.md): Explicitly set new languages for each Blog Tag in a multi-language group.

#### Topics

- [Create a new blog topic](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/topics/create-BlogTopic.md): Create a new blog topic.
- [Get a blog topic by ID](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/topics/get-BlogTopicBy-id.md): Get the details for a specific topic by its ID.
- [Group blog topics](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/topics/groupBlogTopics.md): Merge multiple topics by ID into a single topic group.
- [List blog topics](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/topics/listBlogTopics.md): List all blog topics. Supports paging and filtering. Some parameters support "range" filters via double-underscored param suffixes, like `__gt`. If a parameter supports a filter type of 'gt', that means you can append a double-underscore and 'gt' to the parameter name to find all items greater than…
- [Search blog topics](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/topics/search-BlogTopics.md): Search for blog topics by various criteria. See the options below for details about filtering. Supports paging for the case where a large number of topics match the criteria. Some parameters support "range" filters via double-underscored param suffixes, like `__gt`. If a parameter supports a filter…
- [Update a blog topic](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/topics/update-BlogTopic.md): Update an existing blog topic.
- [Delete blog topic](https://developers.hubspot.com/docs/api-reference/legacy/cms/blogs/topics/delete-BlogTopic.md): Marks a blog topic as deleted.

### Content audit

- [CMS content audit API](https://developers.hubspot.com/docs/api-reference/legacy/cms/content-audit/guide.md): The CMS content audit API allows you to filter and sort on content changes by type, time period, or HubSpot user ID to understand content change history.
- [Retrieve content audit logs](https://developers.hubspot.com/docs/api-reference/legacy/cms/content-audit/get-content-audit.md)

### Domains

- [Domains API](https://developers.hubspot.com/docs/api-reference/legacy/cms/domains/guide.md): Retrieve domains and their associated details from a HubSpot account.
- [Retrieve a domain](https://developers.hubspot.com/docs/api-reference/legacy/cms/domains/get-domain.md): Returns a single domains with the id specified.
- [Retrieve all domains](https://developers.hubspot.com/docs/api-reference/legacy/cms/domains/get-domains.md)

#### v1

- [Get domain by ID](https://developers.hubspot.com/docs/api-reference/legacy/cms/domains/v1/get-domain.md): Returns a specific domain by ID.
- [Get all domains](https://developers.hubspot.com/docs/api-reference/legacy/cms/domains/v1/get-domains.md): Returns a list of domains for the portal.

### HubDB

- [CMS API | HubDB](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/guide.md): The HubDB endpoints are used to get and manage data in your HubDB data tables.

#### Rows

- [Get a set of rows from draft table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/batch-get-rows.md): Returns rows in the draft version of the specified table, given a set of row IDs.
- [Replace rows in batch in draft table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/batch-replace-rows.md): Replaces multiple rows as a batch in the draft version of the table, with a maximum of 100 rows per call. See the endpoint `PUT /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
- [Update rows in batch in draft table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/batch-update-rows.md): Updates multiple rows as a batch in the draft version of the table, with a maximum of 100 rows per call. See the endpoint `PATCH /tables/{tableIdOrName}/rows/{rowId}/draft` for details on updating a single row.
- [Clone a row](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/clone-row.md): Clones a single row in the draft version of a table.
- [Add a row to a table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/create-row.md): Add a new row to a HubDB table. New rows will be added to the draft version of the table. Use the `/publish` endpoint to push these changes to published version.
- [Get a row from the draft table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/get-row-draft.md): Get a single row by ID from a table's draft version.
- [Get rows for a table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/get-rows.md): Returns a set of rows in the published version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with value…
- [Update a row](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/update-row-draft.md): Partially update a single row in the table's draft version. All the column values need not be specified. Only the columns or fields that needs to be modified can be specified. See the "Create a row" endpoint for instructions on how to format the JSON row definitions.
- [Permanently deletes a row](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/rows/delete-row-draft.md): Permanently deletes a row from a table's draft version.

#### Tables

- [Create a table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/create-table.md): Creates a new draft HubDB table given a JSON schema. The table name and label should be unique for each account.
- [Get rows from draft table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/get-draft-rows.md): Returns rows in the draft version of the specified table. Row results can be filtered and sorted. Filtering and sorting options will be sent as query parameters to the API request. For example, by adding the query parameters `column1__gt=5&sort=-column1`, API returns the rows with values for column…
- [Return all draft tables](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/get-draft-tables.md): Returns the details for each draft table defined in the specified account, including column definitions.
- [Get all published tables](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/get-tables.md): Returns the details for the published version of each table defined in an account, including column definitions.
- [Unpublish a table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/unpublish-table.md): Unpublishes the table, meaning any website pages using data from the table will not render any data.
- [Update an existing table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/update-table-draft.md): Update 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 res…
- [Delete a table version](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/delete-table-version.md): Delete a specific version of a table
- [Archive a table](https://developers.hubspot.com/docs/api-reference/legacy/cms/hubdb/tables/delete-table.md): Archive (soft delete) an existing HubDB table. This archives both the published and draft versions.

### Legacy modules

- [Get the details for a module by ID](https://developers.hubspot.com/docs/api-reference/legacy/cms/legacy-modules/get-ModuleBy-id.md): Get the details for a specific module using its ID.
- [Get the details for a module by path](https://developers.hubspot.com/docs/api-reference/legacy/cms/legacy-modules/get-ModuleByPath.md): Get the details for a specific module using its path.

### Media Bridge

- [CMS API | Media Bridge](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/guide.md)

#### Batch

- [Create multiple properties](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/batch/create-properties.md): Create a batch of properties of the specified object type.
- [Get the details for multiple properties](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/batch/get-properties.md): Get the details for a batch of properties for a specified object type.
- [Archive multiple properties](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/batch/delete-properties.md): Archive a batch of existing properties for the specified types.

#### Events

- [Create an attention span event](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/events/create-attention-span-event.md): Create an event containing the viewers attention span details for the media.
- [Create a played event](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/events/create-played-event.md): Create an event for when a user begins playing a piece of media.
- [Create a quartile event](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/events/create-quartile-event.md): Create an event representing a user reaching quarterly milestones in a piece of media they're viewing.

#### Groups

- [Create a new property group](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/groups/create-property-group.md): Create a new property group for the specified object type.
- [Get a specific property group](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/groups/get-property-group.md): Get the details of an existing property group by name.
- [Get property groups](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/groups/get-property-groups.md): Get the property groups for a specified object type.
- [Update a property group](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/groups/update-property-group.md): Update an existing property group by name.
- [Delete a property group](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/groups/delete-property-group.md): Delete an existing property group by name

#### Integrator Settings

- [Set up a new oEmbed domain](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/configure-oembed-domain.md): Set up a new oEmbed domain for your media bridge app.
- [Create a new object type](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/create-object-type.md): Create a new media object type
- [View event visibility settings](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/get-event-visibility.md): Get the visibility settings for media bridge events for your apps.
- [Get object types for a supported media](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/get-object-types.md): Get the existing objects types that belong to the specified media type.
- [Get an oEmbed domain](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/get-oembed-domain.md): Get the details for an existing oEmbed domain.
- [Get oEmbed domains](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/get-oembed-domains.md): Get the details for existing oEmbed domains for your app
- [Register the media bridge app name](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/register-app.md): Register the name that your app will display when a user is selecting media bridge items.
- [Update the media bridge app name](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/update-app-name.md): Update the name that your app will display when a user is selecting media bridge items.
- [Create or update event visibility settings](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/update-event-visibility.md): Set the visibility settings for media bridge events created by your app.
- [Update an oEmbed domain](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/update-oembed-domain.md): Update an existing oEmbed domain.
- [Delete an oEmbed domain](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/integrator-settings/delete-oembed-domain.md): Delete an existing oEmbed domain.

#### Properties

- [Create a new property](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/properties/create-property.md): Create a new property for the specified media type
- [Get the properties for an object type.](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/properties/get-properties.md): Get the existing properties defined for a media object type.
- [Get the details for a property](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/properties/get-property-details.md): Get the details for an existing property by name.
- [Update a property](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/properties/update-property.md): Update an existing property for an object type.
- [Delete a property](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/properties/delete-property.md): Delete an existing property for an object type.

#### Schemas

- [Create association definition](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/schemas/create-association-definition.md): Create a new association definition for the specified object type.
- [Get the schema for an object type](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/schemas/get-schema.md): Get the schema for a specified object type.
- [Get all schemas ](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/schemas/get-schemas.md): Get the schemas for all object types.
- [Update the schema for an object type](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/schemas/update-schema.md): Update the schema for an existing object type
- [Delete an association definition](https://developers.hubspot.com/docs/api-reference/legacy/cms/media-bridge/schemas/delete-association-definition.md): Delete an existing association definition for an object type.

### Pages

- [CMS API | Pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/guide.md): The pages endpoint is used to create and manage HubSpot pages

#### Landing Pages

- [Clone a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/clone-landing-page.md): Create a copy of an existing landing page.
- [Create a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/create-landing-page.md): Create a new landing page.
- [Retrieve a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/get-landing-page.md): Retrieve a landing page, specified by its ID.
- [Get all landing pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/get-landing-pages.md): Get the list of landing pages. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits.
- [Schedule landing page publishing](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/schedule-landing-page.md): Schedule a landing page to be published.
- [Update a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/update-landing-page.md): Sparse updates a single Landing Page object identified by the id in the path. You only need to specify the column values that you are modifying.
- [Delete a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/delete-landing-page.md): Delete a landing page, specified by its ID.

##### A/B tests

- [Create a new A/B test variation](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/ab-tests/create-variation.md): Create a new A/B test variation based on the information provided in the request body.

##### Batch

- [Delete landing pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/batch/archive-landing-pages.md): Delete landing pages specified by ID in the request body. Note: this is not the same as the dashboard `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to `true`.
- [Create landing pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/batch/create-landing-pages.md): Create a batch of landing pages as detailed in the request body.
- [Retrieve landing pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/batch/read-landing-pages.md): Retrieve a batch of landing pages as specified in the request body.
- [Update landing pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/batch/update-landing-pages.md): Update a batch of landing pages as specified in the request body.

##### Drafts

- [Reset a landing page draft](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/drafts/reset-landing-page-draft.md): Discards any edits and resets the draft to match the live version.
- [Update the draft of a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/drafts/update-landing-page-draft.md): Partially updates the draft version of a single landing page, specified by its ID. You only need to specify the column values that you are modifying.

##### Folders

- [Retrieve folders](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/batch-read-folders.md): Retrieve a batch of landing page folders as identified in the request body.
- [Create a landing page folder](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/create-folder.md): Create a new folder for landing pages.
- [Retrieve a previous version of a folder](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/get-folder-revision.md): Retrieve a previous version of a folder, specified by the folder ID and revision ID.
- [Retrieves previous versions of a folder](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/get-folder-revisions.md): Retrieves all the previous versions of a landing page folder.
- [Retrieve a landing page folder](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/get-folder.md): Retrieve a landing page folder, specified by its ID.
- [Get all landing page folders](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/get-folders.md): Get the list of Landing Page Folders. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits.
- [Restore a previous version of a folder](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/restore-folder-revision.md): Takes a specified version of a landing page folder and restores it.
- [Update a landing page folder](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/update-folder.md): Partially update a landing page folder, specified by the folder ID. You only need to specify the details values that you are modifying.
- [Delete a landing page folder](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/folders/delete-folder.md): Delete a landing page folder, specified by its ID.

##### Multi-language

- [Add a landing page to a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/multi-language/attach-to-lang-group.md): Attach a landing page to a multi-language group.
- [Create a new language variation](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/multi-language/create-language-variation.md): Create a new language variation from an existing landing page
- [Remove a landing page from a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/multi-language/detach-from-lang-group.md): Detach a landing page from a multi-language group.
- [Set a new primary language](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/multi-language/set-new-lang-primary.md): Set a landing page as the primary language of a multi-language group.
- [Update languages of multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/multi-language/update-languages.md): Explicitly set new languages for each landing page in a multi-language group.

##### Revisions

- [Retrieve a previous version of a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/revisions/get-landing-page-revision.md): Retrieve a previous version of a landing page, specified by page ID and revision ID.
- [Retrieve all previous versions of a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/revisions/get-landing-page-revisions.md): Retrieve all the previous versions of a landing page, specified by page ID.
- [Restore a previous version of a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/revisions/restore-landing-page-revision.md): Restores a previous version of a landing page, specified by page ID and revision ID.
- [Restore a previous version of a landing page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/landing-pages/revisions/restore-landing-page-to-draft.md): Specify a previous version of a landing page to set as the page draft.

#### Website pages

- [Clone a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/clone-website-page.md): Create a copy of an existing website page.
- [Create a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/create-website-page.md): Create a new website page.
- [Retrieve a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/get-website-page.md): Retrieve a website page by its ID.
- [Retrieve all website pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/get-website-pages.md): Retrieve all website pages. Supports paging and filtering. This method would be useful for an integration that examined these models and used an external service to suggest edits.
- [Schedule a website page to be published](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/schedule-website-page.md): Schedule a website page to published at a future time.
- [Update a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/update-website-page.md): Partially updates a single website page, specified by its ID. You only need to specify the column values that you are modifying.
- [Delete a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/delete-website-page.md): Delete a website page, specified by its ID.

##### A/B tests

- [Create a new A/B test variation](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/ab-tests/create-variation.md): Create a new A/B test variation based on the information provided in the request body.
- [End an active A/B test](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/ab-tests/end-ab-test.md): End an active A/B test and designate a winner.
- [Rerun a previous A/B test](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/ab-tests/rerun-ab-test.md): Rerun a previous A/B test.

##### Batch

- [Delete website pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/batch/archive-website-pages.md): Delete a batch of website pages as specified in the request body. Note: this is not the same as the dashboard `archive` function. To perform a dashboard `archive` send an normal update with the `archivedInDashboard` field set to `true`.
- [Create website pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/batch/create-website-pages.md): Create a batch of website pages as specified in the request body.
- [Retrieve website pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/batch/read-website-pages.md): Retrieve a batch of website pages as specified in the request body.
- [Update website pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/batch/update-website-pages.md): Update a batch of website pages as specified in the request body.

##### Drafts

- [Retrieve a website page draft](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/drafts/get-website-page-draft.md): Retrieve the full draft version of a website page, specified by its ID.
- [Publish website page draft](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/drafts/publish-website-page-draft.md): Take any changes from the draft version of the website page and apply them to the live version.
- [Reset the draft of a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/drafts/reset-website-page-draft.md): Discards any edits and resets the draft to match the live version.
- [Update a website page draft](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/drafts/update-website-page-draft.md): Partially update the draft version of a website page, specified by page ID. You only need to specify the values for the details that you're modifying.

##### Multi-language

- [Add a website page to a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/multi-language/attach-to-lang-group.md): Attach a site page to a multi-language group.
- [Create a new language variation](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/multi-language/create-language-variation.md): Create a new language variation from an existing site page
- [Remove a website page from a multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/multi-language/detach-from-lang-group.md): Detach a website page from a multi-language group.
- [Set a new primary language](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/multi-language/set-new-lang-primary.md): Set a site page as the primary language of a multi-language group.
- [Update languages of multi-language group](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/multi-language/update-languages.md): Explicitly set new languages for each site page in a multi-language group.

##### Revisions

- [Retrieve a previous version of a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/revisions/get-website-page-revision.md): Retrieve a previous version of a website page by the revision ID.
- [Retrieve all previous versions of a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/revisions/get-website-page-revisions.md): Retrieves all the previous versions of a website page, specified by page ID.
- [Restore a previous version of a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/revisions/restore-website-page-revision.md): Restores a website page to a previous version, specified by page ID and version ID.
- [Restore a previous draft of a website page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/website-pages/revisions/restore-website-page-to-draft.md): Takes a specified version of a website page and sets it as the new draft version of the page.

#### v2

- [Determine if the auto-save buffer differs from the live Page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/checkPageBufferChanges.md): Returns a dictionary indicating if the buffer is different from the live object.
- [Clone a page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/clone-Page.md): Clone an existing page. All page fields can be overridden via the POST body.
- [Create a new page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/create-Page.md): Create a new page.
- [Gets the current contents of the auto-save buffer](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/get-PageBuffer.md): Returns the current contents of the auto-save buffer for the page.
- [Get the Page by ID](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/get-PageBy-id.md): Retrieve a specific page by its unique identifier.
- [List pages](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/get-Pages.md): Get all pages. Supports paging and filtering.
- [List previous versions of a Page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/get-PageVersions.md): Get all previous versions of a page.
- [Publishes or unpublishes a Page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/pagePublishAction.md): Either publishes or cancels publishing based on the POSTed JSON.
- [Copies the contents of the auto-save buffer into the live Page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/push-PageBufferLive.md): Updates the page with the contents of the UI save buffer. This works effectively the same as clicking the save button in the UI.
- [Restore a previously deleted Page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/restore-DeletedPage.md): Restore a previously deleted page.
- [Restore a previous version of a Page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/restore-PageVersion.md): Restore a previous revision of a page.
- [Update a page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/update-Page.md): Updates a page in the database. If not all top level fields are included in the body, we will only update the included fields.
- [Updates the auto-save buffer](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/update-PageBuffer.md): Updates the auto-save buffer. Live objects will not be impacted.
- [Validates the auto-save buffer version of the Page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/validate-PageBuffer.md): Validate the current contents of the auto-save buffer. No data should be included in the request.
- [Delete a page](https://developers.hubspot.com/docs/api-reference/legacy/cms/pages/v2/delete-Page.md): Delete a page. The page will be moved to the trash and can be restored.

### Site Search

- [Site search API](https://developers.hubspot.com/docs/api-reference/legacy/cms/site-search/guide.md): Use the site search API to search for content across your HubSpot-hosted sites and retrieve indexed data for specific assets.
- [Get indexed properties](https://developers.hubspot.com/docs/api-reference/legacy/cms/site-search/get-indexed-data.md): Return all indexed data for an asset (e.g., page, blog post, HubDB table), specified by ID. This is useful when debugging why a particular asset is not returned from a custom search.
- [Search your site](https://developers.hubspot.com/docs/api-reference/legacy/cms/site-search/search-site.md)

#### v2

- [Get indexed properties](https://developers.hubspot.com/docs/api-reference/legacy/cms/site-search/v2/get-indexed-properties.md): For a given portal and document ID (page ID, blog post ID, HubDB row ID, etc.), return all indexed data for the document. This is useful when debugging why a particular document is not returned from a custom search.
- [Search your site](https://developers.hubspot.com/docs/api-reference/legacy/cms/site-search/v2/search-site.md): For a given portal, return any content related to a search term from your HubSpot hosted site. Searches can return data from the specified content types, domains, or URL paths.

### Source code

- [CMS | Source Code API](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/guide.md): Create, fetch, update, and delete, files in the HubSpot developer file system. Additionally you can validate files for different types of errors & warnings
- [Create a file](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/create-source-code-file.md): Creates a file at the specified path in the specified environment. Accepts multipart/form-data content type. Throws an error if a file already exists at the specified path.
- [Retrieve file metadata](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/get-file-metadata.md): Gets the metadata object for the file at the specified path in the specified environment.
- [Download a file](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/get-source-code-file.md): Downloads the byte contents of the file at the specified path in the specified environment.
- [Create or update a file](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/update-source-code-file.md): Upserts a file at the specified path in the specified environment. Accepts multipart/form-data content type.
- [Validate the contents of a file](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/validate-source-code-file.md): Validates the file contents passed to the endpoint given a specified path and environment. Accepts multipart/form-data content type.
- [Delete a file](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/delete-source-code-file.md): Deletes the file at the specified path in the specified environment.

#### Extract

- [Extract source code in a zip file](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/extract/extract-source-code.md): Extract a zip file in the developer file system. Extraction status can be checked with the `/extract/async/tasks/taskId/status` endpoint below.
- [Get extraction status](https://developers.hubspot.com/docs/api-reference/legacy/cms/source-code/extract/get-extraction-status.md): Get the status of an extraction by the `taskId` returned from the initial `extract/async` request.

### URL mappings

- [Create a mapping](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-mappings/create-url-mapping.md)
- [Retrieve a mapping](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-mappings/get-url-mapping.md)
- [Retrieve mappings](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-mappings/get-url-mappings.md)
- [Delete a mapping](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-mappings/delete-url-mapping.md)

### URL redirects

- [URL redirects API](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-redirects/guide.md): Use the URL redirects API to manage URL redirects for HubSpot-hosted pages
- [Create a redirect](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-redirects/create-url-redirect.md)
- [Retrieve redirect details](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-redirects/get-url-redirect.md): Returns the details for a single existing URL redirect by ID.
- [Retrieve current redirects](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-redirects/get-url-redirects.md)
- [Update a redirect](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-redirects/update-url-redirect.md): Updates the settings for an existing URL redirect.
- [Delete a redirect](https://developers.hubspot.com/docs/api-reference/legacy/cms/url-redirects/delete-url-redirect.md): Delete one existing redirect, so it is no longer mapped.

### v2

- [Layouts API guide](https://developers.hubspot.com/docs/api-reference/legacy/cms/v2/layout.md): Read-only access to CMS layout (global group) data via the legacy v2 API.
- [Templates API guide](https://developers.hubspot.com/docs/api-reference/legacy/cms/v2/templates.md): Create, read, update, and delete CMS templates via the legacy v2 API.

## OpenAPI Specs

- [cms-authors-v3](/docs/specs/legacy/v3/cms-authors-v3.json)
- [cms-blog-settings-v3](/docs/specs/legacy/v3/cms-blog-settings-v3.json)
- [blog-details-v2](/docs/specs/legacy/v2/blog-details-v2.json)
- [blog-comments-v3](/docs/specs/legacy/v3/blog-comments-v3.json)
- [cms-posts-v3](/docs/specs/legacy/v3/cms-posts-v3.json)
- [blog-posts-v2](/docs/specs/legacy/v2/blog-posts-v2.json)
- [cms-tags-v3](/docs/specs/legacy/v3/cms-tags-v3.json)
- [blog-topics-v3](/docs/specs/legacy/v3/blog-topics-v3.json)
- [cms-cms-content-audit-v3](/docs/specs/legacy/v3/cms-cms-content-audit-v3.json)
- [cms-domains-v3](/docs/specs/legacy/v3/cms-domains-v3.json)
- [domains-v1](/docs/specs/legacy/v1/domains-v1.json)
- [cms-hubdb-v3](/docs/specs/legacy/v3/cms-hubdb-v3.json)
- [modules-v4](/docs/specs/legacy/v4/modules-v4.json)
- [cms-media-bridge-v1](/docs/specs/legacy/v1/cms-media-bridge-v1.json)
- [cms-pages-v3](/docs/specs/legacy/v3/cms-pages-v3.json)
- [pages-v2](/docs/specs/legacy/v2/pages-v2.json)
- [cms-site-search-v3](/docs/specs/legacy/v3/cms-site-search-v3.json)
- [site-search-v2](/docs/specs/legacy/v2/site-search-v2.json)
- [cms-source-code-v3](/docs/specs/legacy/v3/cms-source-code-v3.json)
- [cms-url-mappings-v3](/docs/specs/legacy/v3/cms-url-mappings-v3.json)
- [cms-url-redirects-v3](/docs/specs/legacy/v3/cms-url-redirects-v3.json)
