---
title: "Get path variable"
method: GET
path: "/kitchen-sink/request/path-variable/{pathVariable}"
tags: ["🚰 Kitchen Sink"]
---

# Get path variable

`GET /kitchen-sink/request/path-variable/{pathVariable}`

The API endpoint allows you to retrieve the path variable being supplied in the URL.

By accessing this endpoint, you can obtain the specific value provided as a path parameter in the URL.

This functionality is useful when you need to access and utilize **the dynamic portion of the URL** within your application or for further processing.

## Response `200`

Get path variable

- object
  - `data` object
    - `pathVariable` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/versions/a9f3a290e4dc/schema)
