Skip to main content
URL redirects allow you to redirect traffic from a HubSpot-hosted page to any URL. In HubSpot, you can also update URL redirects in bulk and use a flexible pattern redirect to dynamically update the structure of URLs.

Retrieve redirects

You can retrieve URL redirects either individually by ID or by retrieving all redirects:
  • To retrieve all redirects, make a GET request to /cms/v3/url-redirects.
  • To retrieve an individual redirect, make a GET request to /cms/v3/url-redirects/{urlRedirectId}.

Retrieve all redirects

When retrieving all redirects, you can filter and sort the returned results using query parameters. For example, the following request would retrieve the first 10 redirects created after January 1, 2024:
The following query parameters are available: The response includes a total count and an array of redirect objects:

Retrieve a single redirect

To retrieve details for a specific redirect, make a GET request to /cms/v3/url-redirects/{urlRedirectId}. For example, the request below would retrieve the details for the redirect with ID 3212223134:

Create a redirect

To create a new URL redirect, make a POST request to /cms/v3/url-redirects. For example, the request below would create a permanent redirect from /old-page to /new-page:
The following request body parameters are available:

Update a redirect

To update an existing URL redirect, make a PATCH request to /cms/v3/url-redirects/{urlRedirectId}. For example, the request below would update the redirect with ID 3212223134 to change the destination URL:
The following request body parameters are available:

Delete a redirect

To delete an existing URL redirect, make a DELETE request to /cms/v3/url-redirects/{urlRedirectId}. For example, the request below would delete the redirect with ID 3212223134:
A successful deletion returns a 204 No Content response with no body.
Last modified on April 13, 2026