← Home
GET/hyax-api/v1/posts/:id/redirects

List a post's redirects

Every redirect that leads to this post: the ones added in its SEO & URL settings and any rule on the Redirects page whose destination is the post's address.

Base URL: https://platform.hyax.com · Replace YOUR_API_KEY with your team API key.

Request

curl -X GET 'https://platform.hyax.com/hyax-api/v1/posts/clx_example_id/redirects' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Response

{
  "success": true,
  "data": [
    { "id": "clx…", "from": "/old-name", "to": "/article/new-post", "statusCode": 301, "postId": "clx…" }
  ],
  "total": 1,
  "nextCursor": null
}