curl -X GET "https://api.adrelay.dev/v1/redirect-uris" \
-H "X-API-Key: $ADRELAY_API_KEY"
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
import requests
response = requests.get(
"https://api.adrelay.dev/v1/redirect-uris",
headers={"X-API-Key": "your-api-key-here"},
)
data = response.json()["data"]
{
"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"
}
]
}
}
- defaults — Pre-registered localhost URIs that are always allowed for development
- custom — URIs you have registered (max 10)