Redirect

list of redirects

get

Get all redirects

Authorizations
AuthorizationstringRequired

Enter token in format (Bearer )

Responses
chevron-right
200

success

application/json
get
/redirect
200

success

create redirect

post
Authorizations
AuthorizationstringRequired

Enter token in format (Bearer )

Body
urlstringOptional

URL

Example: www.example.com
destinationstringOptional

Destination URL

Example: https://www.google.com
destinationsarray[string]Optional

More Destinations

Example: []
typestringOptional

Type

Example: 301
forward_pathbooleanOptional

whether forwarding slug to destination

Example: false
forward_querybooleanOptional

whether forwarding query params to destination

Example: false
Responses
chevron-right
200

success

application/json
dataobjectOptional
post
/redirect
200

success

Get details about a specific redirect by id

get
Authorizations
AuthorizationstringRequired

Enter token in format (Bearer )

Path parameters
idstring · stringRequired

redirect id

Example: 1639562002248499321
Responses
chevron-right
200

success

application/json
idstringOptional

Item id

Example: 72288a61-034e-4596-80c9-88751cf0a937
hoststringOptional

Hostname

Example: www.example.com
urlstringOptional

URL

Example: www.example.com
filestringOptional

URL file

Example: www.example.com/*
httpsbooleanOptional

whether HTTPS support

Example: true
destinationstringOptional

Destination URL

Example: https://www.google.com
destinationsarray[string]Optional

More Destinations

Example: []
typestringOptional

Type

Example: 301
statusstringOptional

Status

Example: active
forward_pathbooleanOptional

whether forwarding slug to destination

Example: false
forward_querybooleanOptional

whether forwarding query params to destination

Example: false
created_attimeOptional

created at

Example: 2023-11-15T15:09:14.000000Z
updated_attimeOptional

updated at

Example: 2023-11-15T15:09:14.000000Z
get
/redirect/{id}
200

success

update redirect

put
Authorizations
AuthorizationstringRequired

Enter token in format (Bearer )

Path parameters
idstring · stringRequired

redirect id

Example: 1639562002248499321
Body
urlstringOptional

URL

Example: www.example.com
destinationstringOptional

Destination URL

Example: https://www.google.com
destinationsarray[string]Optional

More Destinations

Example: []
typestringOptional

Type

Example: 301
forward_pathbooleanOptional

whether forwarding slug to destination

Example: false
forward_querybooleanOptional

whether forwarding query params to destination

Example: false
Responses
chevron-right
200

success

application/json
dataobjectOptional
put
/redirect/{id}
200

success

delete redirect

delete
Authorizations
AuthorizationstringRequired

Enter token in format (Bearer )

Path parameters
idstring · stringRequired

redirect id

Example: 1639562002248499321
Responses
chevron-right
200

success

application/json
dataobjectOptional
delete
/redirect/{id}
200

success