You can create a new URL redirect by making a POST request to https://api.intercom.io/help_center/help_centers/{help_center_id}/redirects.
Requires the read_write_help_center_redirects_scope OAuth scope. Set Intercom-Version: Preview.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
The source URL to redirect. Must be an absolute URL within the help center's URL space.
The locale of the target translation (e.g. en, fr). For article targets this selects the ArticleContent variant.
The type of the redirect target. help_center targets the help center's home page.
- The production API serverhttps://api.intercom.io/help_center/help_centers/{help_center_id}/redirects
- The european API serverhttps://api.eu.intercom.io/help_center/help_centers/{help_center_id}/redirects
- The australian API serverhttps://api.au.intercom.io/help_center/help_centers/{help_center_id}/redirects
- redirect created
- redirect to the help center home page
curl -i -X POST \
https://api.intercom.io/help_center/help_centers/123/redirects \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: Preview' \
-d '{
"from_url": "http://help-center.test/lovelyhelpcenter/old-page",
"locale": "en",
"target_type": "article",
"target_id": "11"
}'redirect created
The type of the object - help_center_redirect.
The source URL that is redirected. This is an absolute URL within the help center's URL space, or a relative path such as /old-page for some existing redirects.
The locale of the redirect's target. For article targets this is the bound translation's locale, which may differ from the requested locale if no translation exists in that locale.
The type of the redirect target. help_center targets the help center's home page.
The unique identifier of the target article, collection or help center. For article targets this is the Article ID.
{ "id": "26", "type": "help_center_redirect", "from_url": "http://help-center.test/lovelyhelpcenter/old-page", "locale": "en", "help_center_id": "7", "target_type": "article", "target_id": "11", "created_at": 1781619405, "updated_at": 1781619405 }