---
title: "UrlRedirectById (HubSpot)"
description: "URL Redirect by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/hubspot/UrlRedirects.Basic.UrlRedirectById
original: https://documentation.invantive.eu/en/datamodels/hubspot/UrlRedirects.Basic.UrlRedirectById
updated: 2026-05-19T15:51:43Z
license: https://documentation.invantive.eu/en/
---

# UrlRedirectById: HubSpot URL Redirect by ID

`read only` `REST`

- Catalog: `UrlRedirects`
- Schema: `Basic`
- Label: URL Redirect by ID

Get details for a redirect
Returns the details for a single existing URL redirect by ID.

Can only retrieve data.

## API Source

- Endpoint: `/cms/v3/url-redirects/{urlRedirectId}`
- Operation: `get /cms/v3/url-redirects/{urlRedirectId}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `urlRedirectId` | `` | [x] |  |  |

## Table Columns

The columns of the table `UrlRedirectById` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `created` | `datetime` | Created at | [ ] |  | The date and time when the URL mapping was initially created. |
| `destination` | `varchar2` | Destination | [ ] |  | The destination URL, where the target URL should be redirected if it matches the `routePrefix`. |
| `id` | `varchar2` | ID | [ ] |  | The unique ID of this URL redirect. |
| `isMatchFullUrl` | `char` | Is Match Full URL | [ ] |  | Whether the `routePrefix` should match on the entire URL, including the domain. |
| `isMatchQueryString` | `char` | Is Match Query String | [ ] |  | Whether the `routePrefix` should match on the entire URL path, including the query string. |
| `isOnlyAfterNotFound` | `char` | Is Only after not Found | [ ] |  | Whether the URL redirect mapping should apply only if a live page on the URL isn't found. If False, the URL redirect mapping will take precedence over any existing page. |
| `isPattern` | `char` | Is Pattern | [ ] |  | Whether the `routePrefix` should match based on pattern. |
| `isProtocolAgnostic` | `char` | Is Protocol Agnostic | [ ] |  | Whether the `routePrefix` should match both HTTP and HTTPS protocols. |
| `isTrailingSlashOptional` | `char` | is Trailing Slash Optional | [ ] |  | Whether a trailing slash will be ignored. |
| `precedence` | `int32` | Precedence | [ ] |  | Used to prioritize URL redirection. If a given URL matches more than one redirect, the one with the **lower** precedence will be used. |
| `redirectStyle` | `int32` | Redirect Style | [ ] |  | The type of redirect to create. Options include: 301 (permanent), 302 (temporary), or 305 (proxy). Find more details [here](https://knowledge.hubspot.com/cos-general/how-to-redirect-a-hubspot-page). |
| `routePrefix` | `varchar2` | Route Prefix | [ ] |  | The target incoming URL, path, or pattern to match for redirection. |
| `updated` | `datetime` | Updated at | [ ] |  | The date and time when the URL mapping was last modified. |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [HubSpot](/en/release-notes/drivers/hubspot)

