Redirect

list of redirects

get

Get all redirects

Authorizations
AuthorizationstringRequired

Enter token in format (Bearer )

Responses
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
200

success

application/json
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
200

success

application/json
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
200

success

application/json
put
/redirect/{id}
200

success

delete redirect

delete
Authorizations
AuthorizationstringRequired

Enter token in format (Bearer )

Path parameters
idstring · stringRequired

redirect id

Example: 1639562002248499321
Responses
200

success

application/json
delete
/redirect/{id}
200

success