Contents
On this page

Address History - Plugixa Permalink Manager

GET /plugixa-permalink-manager/v1/uris/{kind}/{id}/history

Read the latest 50 changes to an item’s address and update mode, newest first.

Needs the plugixa_permalink_manager_view capability.

Note. An id that does not exist answers 200 with an empty list, not 404.

Request

GET https://your-site.example/wp-json/plugixa-permalink-manager/v1/uris/post/36/history

Path parameters

Name Type Description
kind string post or term
id integer The post or term id

Responses

200 OK. data is the history, newest first.

{
  "success": true,
  "data": [
    {
      "id": 905,
      "action": "change",
      "reason": "manual",
      "old_uri": "product/skyline-2",
      "new_uri": "shop/tents/skyline-2",
      "old_mode": 0,
      "new_mode": -1,
      "changed_at": "2026-11-12 09:30:00",
      "changed_by": "Claire Martin"
    }
  ]
}
Field Type Meaning
data[].id integer The history entry
data[].action string set (a first address), change, remove or mode (only the mode changed)
data[].reason string What caused it, such as manual, auto, reset, mode, regenerate, find_replace, import or undo
data[].old_uri string|null The address before
data[].new_uri string|null The address after
data[].old_mode integer|null The update mode before
data[].new_mode integer|null The update mode after
data[].changed_at string UTC datetime
data[].changed_by string|null The user’s display name, null when the user no longer exists or the change was automatic

Errors

Plus the errors every endpoint can return.

Examples

curl -s "https://your-site.example/wp-json/plugixa-permalink-manager/v1/uris/post/36/history" \
  -u "admin:$WP_APP_PASSWORD"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-permalink-manager/v1/uris/post/36/history');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_USERPWD        => 'admin:' . getenv('WP_APP_PASSWORD'),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const auth = 'Basic ' + btoa(`admin:${process.env.WP_APP_PASSWORD}`);
const response = await fetch('https://your-site.example/wp-json/plugixa-permalink-manager/v1/uris/post/36/history', {
  headers: { 'Authorization': auth },
});
const { data } = await response.json();

Quick Links

Share