RECENT UPDATES:
05-Jun-2026 | v7.10.7 | All new article

Change Log

  • 05-Jun-2026 | v7.10.7 | All new article

Contributors:

{
  "id": 2418,
  "name": "Adam Wilson",
  "url": "/adam-wilson"
}
Adam Wilson - Logo Pogo

URL Rewrites API

Create, Retrieve, Update and Delete URL Rewrites via the public API endpoint using "where" filtering.

GET URL Rewrites List

Retrieves a list of URL Rewrites as a JSON response based on your provided query parameters.

/api/v2/admin/url-rewrites

Parameters

Parameter
Values
Required
Where
{<where query>}
Order_By
<propertyAlias>
Semantic_Query
<string>
Min_Score
<double>
Offset
<integer>
Limit
<integer>

Data / Response:

N/A
{
  "Items": [
    {
      "Id": "string",
      "RewrittenUrl": "string",
      "RewriteTo": "string",
      "Enabled": true
    }
  ],
  "TotalItemsCount": 0
}

POST URL Rewrite Create

Creates a new URL Rewrite based on the provided data.

/api/v2/admin/url-rewrites

Data / Response:

{
  "RewrittenUrl": "string",
  "RewriteTo": "string",
  "Enabled": true
}
{
  "Id": "string",
  "RewrittenUrl": "string",
  "RewriteTo": "string",
  "Enabled": true
}

GET URL Rewrite Item

Retrieves a single URL Rewrite based on the ID passed in the endpoint URL.

/api/v2/admin/url-rewrites/{id}

Data / Response:

N/A
{
  "Id": "string",
  "RewrittenUrl": "string",
  "RewriteTo": "string",
  "Enabled": true
}

PUT URL Rewrite Update

Updates a single URL Rewrite based on the ID passed in the endpoint URL and data provided.

/api/v2/admin/url-rewrites/{id}

Data / Response:

{
  "RewrittenUrl": "string",
  "RewriteTo": "string",
  "Enabled": true
}
{
  "Id": "string",
  "RewrittenUrl": "string",
  "RewriteTo": "string",
  "Enabled": true
}

DELETE URL Rewrite Delete

Deletes a single URL Rewrite based on the ID passed in the endpoint URL.

/api/v2/admin/url-rewrites/{id}

Data / Response:

N/A
Status 204