Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
Switch to light modeSwitch to dark mode
APIs / Marketing / Hubspot / Url Redirects
Url Redirects logo

HubSpot Url Redirects

Browse all Hubspot APIs
Official vendor OpenAPI document · agent-readyMarketingContent Managementoauth2, apiKey5 EndpointsREST

For Agents

Create, list, update, and delete URL redirects on HubSpot-hosted sites. Useful for agents handling site migrations, link maintenance, and SEO redirect rules.

Use for: Create a 301 redirect from an old blog URL to a new landing page, List all URL redirects on the HubSpot CMS site, Update the destination of an existing redirect rule, Delete a stale redirect that is no longer needed

Not supported: Does not handle DNS configuration, domain attachment, or page content edits - use for HubSpot CMS URL redirect rules only.

The HubSpot URL Redirects API manages 301 and 302 redirects on HubSpot-hosted CMS sites. It supports listing existing redirects, creating new ones, fetching a redirect by ID, updating destination URLs and precedence, and deleting stale rules. Useful during site migrations, content reorganisation, and SEO maintenance to preserve link equity and avoid broken inbound links.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Url Redirects to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Url Redirects, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.

Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.

1

Step 1: Jentic One Host machine

# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fhubspot.com%2Fhubspot-cms-url-redirects" | sh
2

Step 2: Agent machine

# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fhubspot.com%2Fhubspot-cms-url-redirects" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.

Capabilities

What an agent can do with Url Redirects API.

List all current URL redirects with paging support

Create a new redirect from a routePrefix to a destination URL

Retrieve a specific redirect rule by its urlRedirectId

Update the destination, precedence, or match type of a redirect

Delete a redirect rule when its source path is retired

Use Cases

Patterns agents use Url Redirects API for, with concrete tasks.

★ Site Migration Redirect Mapping

When migrating content into HubSpot or restructuring an existing HubSpot site, the URL Redirects API lets an agent create 301 redirects for every legacy path so SEO equity and inbound links survive the move. Each call to POST /cms/v3/url-redirects/ accepts source path, destination, precedence, and redirect type.

Read a CSV of legacy-to-new URL pairs and POST /cms/v3/url-redirects/ for each row with redirectStyle 301 and the target path.

Broken Link Maintenance

List existing redirects via GET /cms/v3/url-redirects/, identify rules whose destination now returns a 404, and update or delete them. This keeps the redirect ruleset clean and avoids redirect chains that hurt page load and crawl budgets.

GET /cms/v3/url-redirects/ paginated, check each destination URL with HEAD requests, and PATCH /cms/v3/url-redirects/{urlRedirectId} or DELETE for any redirect whose target is dead.

Campaign Vanity URL Provisioning

Create short, memorable redirect rules pointing campaign vanity paths to long landing page URLs. The Redirects API supports flexible match types, so an agent can spin up a vanity URL per campaign as part of a marketing automation workflow.

POST /cms/v3/url-redirects/ with routePrefix `/spring-sale` and destination set to the full sale landing page URL.

Agent-Managed SEO Hygiene

Give an SEO agent the ability to inspect and maintain HubSpot redirects through Jentic. The agent searches by intent for the right Redirects operation, loads the schema, and executes - no HubSpot-specific code in the agent. Jentic isolates the HubSpot token from the agent's reasoning context.

Use Jentic search 'create a HubSpot URL redirect', load the POST /cms/v3/url-redirects/ schema, and execute with source and destination URLs from the SEO ticket.

Key Endpoints

5 endpoints — the hubspot url redirects api manages 301 and 302 redirects on hubspot-hosted cms sites.

METHOD

PATH

DESCRIPTION

GET

/cms/v3/url-redirects/

List current redirects

POST

/cms/v3/url-redirects/

Create a redirect

GET

/cms/v3/url-redirects/{urlRedirectId}

Get details for a redirect

PATCH

/cms/v3/url-redirects/{urlRedirectId}

Update a redirect

DELETE

/cms/v3/url-redirects/{urlRedirectId}

Delete a redirect

GET

/cms/v3/url-redirects/

List current redirects

POST

/cms/v3/url-redirects/

Create a redirect

GET

/cms/v3/url-redirects/{urlRedirectId}

Get details for a redirect

PATCH

/cms/v3/url-redirects/{urlRedirectId}

Update a redirect

DELETE

/cms/v3/url-redirects/{urlRedirectId}

Delete a redirect

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Setup

Wiring HubSpot URL Redirects by hand means registering an OAuth app or minting a private app token, targeting api.hubapi.com, and coding the list, create, patch, and delete calls plus paging yourself. Through Jentic you install once, import URL Redirects from the API Directory, store the token once, and your agent calls it.

Permission scoping

Permission scoping

URL Redirects puts the redirect id in the URL path (/cms/v3/url-redirects/{urlRedirectId}), so a rule can pin your agent to reading or updating one redirect rule. You choose the operations it may call, so deleting a redirect is not included unless you add it.

Credential management

Credential isolation

Your HubSpot OAuth token or private app token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.

Intent-based discovery

Intent-based discovery

Agents search Jentic by intent such as 'create a 301 redirect in HubSpot', and Jentic returns the matching URL Redirects operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Complementary

HubSpot CMS Pages

→

Manage the pages whose URLs are being redirected to or from.

Use CMS-pages when the agent needs to confirm a destination page exists before creating a redirect to it.

Complementary

HubSpot CMS Domains

→

Manage primary and secondary domains served by HubSpot CMS.

Pick CMS-domains when the agent needs to verify a domain is connected before configuring redirects on it.

Complementary

HubSpot CMS Blog Posts

→

Inspect blog post URLs that may need redirects after slug changes.

Use CMS-posts when an agent must detect blog URL changes and create matching redirects.

FAQs

Specific to using Url Redirects API through Jentic.

What authentication does the HubSpot URL Redirects API use?

OAuth 2.0 authorization code flow or a private app token in the `private-app-legacy` header. Through Jentic, credentials are stored encrypted and the agent only ever sees a scoped execution token.

Can I create a 301 redirect with the URL Redirects API?

Yes. POST /cms/v3/url-redirects/ accepts a `redirectStyle` field - set it to 301 for permanent redirects or 302 for temporary, along with `routePrefix` (source) and `destination` URL.

What are the rate limits for the URL Redirects API?

Standard HubSpot CMS API limits apply - roughly 100 requests per 10 seconds per OAuth app, with daily caps of 250,000 on most paid tiers. Throttle bulk redirect imports to stay within those limits.

How do I bulk-create redirects after a migration through Jentic?

Search Jentic for `create a URL redirect`, load the POST /cms/v3/url-redirects/ schema, and call execute in a loop over your migration mapping. Install with `pip install jentic` and use your `JENTIC_AGENT_API_KEY` for auth.

Does the URL Redirects API support pattern matching?

Yes. Each redirect record has a `precedence` and `matchType` field that supports exact-match and prefix-style routing, controlled via the create and PATCH endpoints.

Can I limit what my agent is allowed to do with the HubSpot URL Redirects API?

Yes. Jentic One is self-hosted, so you write the rules that decide which URL Redirects operations your agent may call and which HubSpot credentials it may use. Because the redirect id sits in the path (/cms/v3/url-redirects/{urlRedirectId}), you can pin the agent to listing or updating a single redirect rule while withholding create or delete. Deleting a redirect is not available to the agent unless you explicitly add that operation to its allowed set.

GET STARTED

Start building with Url Redirects API

Explore with Jentic One
View OpenAPI Document