---
title: "List allowed IP addresses"
method: GET
path: "/api/v1/sipaccounts/{sipaccount_id}/allowed_ips"
tags: ["SIP Accounts"]
---

# List allowed IP addresses

`GET /api/v1/sipaccounts/{sipaccount_id}/allowed_ips`

## Request

- Base URL: `https://app.didlogic.com`
- URL: `https://app.didlogic.com/api/v1/sipaccounts/{sipaccount_id}/allowed_ips`
- Auth: HTTP bearer

Retrieve list of IP addresses allowed to authenticate this SIP account.

`allowed_ips` feeds sipaccounts_allowed_ips_destroy as `ip`.

## Path parameters

- `sipaccount_id` string, required

## Response `200`

Successfully returns list of allowed IP addresses

- object
  - `allowed_ips` string[], required: List of allowed IP address strings

## Other responses

- `403`: Returns 403 error when API token is incorrect
- `404`: Returns the 404 error envelope when neither the SIP account name nor id matches an account you own

---

[API](https://skmtc.dev/didlogic/apis/get-started.md) · [All operations](https://skmtc.dev/didlogic/apis/get-started/llms.txt) · [OpenAPI document](https://skmtc.dev/didlogic/apis/get-started/revisions/dc972d592b34?raw)
