CMS
English
cURL
curl --request GET \ --url https://api.hubapi.com/cms/v3/url-redirects/{urlRedirectId} \ --header 'Authorization: Bearer <token>'
{ "id": "3212223134", "createdAt": "2017-07-24T17:24:09.141Z", "updatedAt": "2017-07-24T17:24:09.141Z", "routePrefix": "http://test.hs-sites.com/(?P<page_slug>.*)", "destination": "http://www.example.online/{page_slug}", "isOnlyAfterNotFound": true, "isMatchFullUrl": true, "isMatchQueryString": false, "isPattern": false, "isTrailingSlashOptional": true, "isProtocolAgnostic": true }
Returns the details for a single existing URL redirect by ID.
content
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the target redirect.
successful operation
The response is of type object.
object
Was this page helpful?