> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adrelay.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List Redirect URIs

> List all registered OAuth redirect URIs, including defaults.

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.adrelay.dev/v1/redirect-uris" \
    -H "X-API-Key: $ADRELAY_API_KEY"
  ```

  ```javascript Node.js theme={null}
  import { AdRelay } from "@adrelay/sdk";

  const client = new AdRelay({ apiKey: process.env.ADRELAY_API_KEY });
  const { data } = await client.redirectUris.list();

  console.log(data.defaults); // Pre-registered localhost URIs
  console.log(data.custom);   // Your registered URIs
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      "https://api.adrelay.dev/v1/redirect-uris",
      headers={"X-API-Key": "your-api-key-here"},
  )

  data = response.json()["data"]
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "defaults": [
        "http://localhost:3000/callback",
        "http://localhost:3001/callback",
        "http://localhost:5173/connect",
        "http://localhost:8080/callback"
      ],
      "custom": [
        {
          "id": "uri_abc123",
          "uri": "https://myapp.com/callback",
          "createdAt": "2026-03-24T12:00:00.000Z"
        }
      ]
    }
  }
  ```
</ResponseExample>

Returns two lists:

* **defaults** — Pre-registered localhost URIs that are always allowed for development
* **custom** — URIs you have registered (max 10)
