---
title: "Get Api Ip"
method: GET
path: "/api/CustData/get-ip"
tags: ["CustData"]
---

# Get Api Ip

`GET /api/CustData/get-ip`

Returns the IP address of the client making the request.

Returns a JSON response with a key-value pair of "client_ip" and the IP address of the client and "status" with a value of "success" if the IP address is successfully retrieved. If an exception occurs, it returns a JSON response with a key-value pair of "error" and the error message and "status" with a value of "failed".

:param request: The incoming request object.
:return: A JSON response object.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi.md) · [All operations](https://skmtc.dev/leapsurgebi/apis/leapsurgeapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leapsurgebi/leapsurgeapi/revisions/5a6b1464bfeb/schema)
