Create a new redirect
Creates a new redirect mapping from an old slug to a new slug for an item or generic path
POST
/api/v1/{team_slug}/{app_slug}/redirectsAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
Request body
requiredapplication/jsonRedirect payload
item_idstringlocalestringrequirednew_slugstringrequiredold_slugstringrequiredtypegithub_com_enadhq_nabbit_internal_pkg_webserver_models.RedirectTypeAllowed:
productpagecollectioncategoryproduct_bundlebrandseriecampaignResponses
200
Redirect created successfully
datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.RedirectsrequiredShow propertiesHide properties
idstringitem_idstring | nulllocalestringnew_slugstringold_slugstringtypegithub_com_enadhq_nabbit_internal_pkg_webserver_models.RedirectTypeAllowed:
productpagecollectioncategoryproduct_bundledetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequired400
Invalid request (e.g. bad UUID, validation error)
detailsstring[]messagestringsuccessbooleanrequired401
Unauthorized access
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired