ultrarouter docs
API reference

Access

Access endpoints.

Access endpoints.

This page is GENERATED from the OpenAPI spec (openapi.yaml) — it can never drift from the served API. Set UR_BASE_URL (required: your gateway’s URL) and UR_API_KEY (an ur_sk_* key); secrets are always the $UR_API_KEY placeholder.

Request access to the invite-only hosted service

POST /v1/access-requests

PUBLIC, unauthenticated intake behind the landing "Request access" form. Rate-limited per client IP. Idempotent per email; always returns the same acknowledgement and never reveals whether the email already requested or exists. The email and message are never logged.

Auth: Public (no auth).

curl -sS -X POST "$UR_BASE_URL/v1/access-requests" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "alex@example.com",
    "name": "Alex Rivera",
    "company": "Example Inc",
    "message": "Routing GPT and Claude for a support agent; want to compare models on our traffic."
  }'