Redirects

Create a new Redirect

post/api/redirects

Request

  • Base URL: https://hellosafe.com
  • URL: https://hellosafe.com/api/redirects
  • Auth: OAuth 2 (password, token URL /api//openapi-auth)

Query parameters

depthnumber
localestring

Request body

fromstring required
locale'fr' | 'en' | 'pt' | 'es' | 'it' | 'de' | 'tr' | 'pl' | 'ro' | 'cs' | 'hu' | 'sv' | 'da' | 'no' | 'fi' | 'nl' | 'sk' | 'bg' | 'hr' | 'sl' | 'lt' | 'lv' | 'et' | 'mt' | 'is' | 'el' | 'en-gb' | 'en-ie' | 'es-es' | 'es-mx' | 'es-ar' | 'pt-pt' | 'pt-br' | 'fr-ma' nullable

The locale of the destination page

statusCode'308' | '307' required

Permanent transfers ranking signals to the destination and drops the old URL from Google. Temporary keeps Google indexing the old URL, so only pick it if that URL is genuinely coming back — note browsers cache a permanent redirect indefinitely.

Response

Redirect object

messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.