---
title: "Redirect to url"
method: GET
path: "/kitchen-sink/redirect/to"
tags: ["🚰 Kitchen Sink"]
---

# Redirect to url

`GET /kitchen-sink/redirect/to`

## Request

- Base URL: `https://api.freeapi.app/api/v1`
- URL: `https://api.freeapi.app/api/v1/kitchen-sink/redirect/to`
- Auth: none declared
- TypeScript: <https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi/docs/kitchen-sink/redirect/to/get.ts> (a function with typed inputs; its response is checked against the schema)

The API endpoint redirects the client to a URL specified in the query parameter.

When accessing this endpoint, the client's browser will be automatically redirected to the URL extracted from the query parameter.

This functionality is useful when you need to redirect clients to a different location or resource based on dynamic information included in the query parameter. It allows for flexible navigation and routing within your application or for redirecting to external resources.

## Query parameters

- `url` string

## Response `200`

Redirect to url

---

[API](https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi.md) - [All operations](https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) - [OpenAPI document](https://skmtc.dev/hiteshchoudhary-ssesph/apis/freeapi/revisions/a9f3a290e4dc?raw)
