{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"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`.\n\nRequires the `read_write_help_center_redirects_scope` OAuth scope.\n","properties":{"path":{"type":"object","properties":{"help_center_id":{"type":"string","examples":["123"],"description":"The unique identifier for the help center."}},"required":["help_center_id"],"additionalProperties":false},"headers":{"type":"object","properties":{"Intercom-Version":{"$ref":"#/definitions/intercom_version","enum":["2.17"]}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/create_help_center_redirect_request","examples":[{"from_url":"http://help-center.test/lovelyhelpcenter/old-page","locale":"en","target_type":"article","target_id":"11"}]}},"required":["path"],"additionalProperties":false,"definitions":{"intercom_version":{"description":"Intercom API version.</br>If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.","type":"string","enum":["1.0","1.1","1.2","1.3","1.4","2.0","2.1","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17"],"examples":["2.17"]},"create_help_center_redirect_request":{"description":"You can create a help center redirect.","type":"object","title":"Create Help Center Redirect Request Payload","properties":{"from_url":{"type":"string","description":"The source URL to redirect. Must be an absolute URL within the help center's URL space.","examples":["http://help-center.test/lovelyhelpcenter/old-page"]},"locale":{"type":"string","description":"The locale of the target translation (e.g. `en`, `fr`). For article targets this selects the ArticleContent variant.","examples":["en"]},"target_type":{"type":"string","description":"The type of the redirect target.","enum":["article","collection"],"examples":["article"]},"target_id":{"type":"string","description":"The unique identifier of the target article or collection. The target must be a member of the help center.","examples":["11"]}},"required":["from_url","locale","target_type","target_id"]}}},"name":"Create a redirect","id":"intercom.createhelpcenterredirect","example":{"path":{"help_center_id":"123"}},"maxRequests":1,"summary":false}}