---
title: "Get Portal Redirect URL"
method: GET
path: "/tenants/{tenant_id}/portal"
tags: ["Tenants"]
---

# Get Portal Redirect URL

`GET /tenants/{tenant_id}/portal`

Returns a redirect URL containing a JWT to authenticate the user with the portal. Requires Admin API Key.

## Query parameters

- `theme` 'light' | 'dark'

## Response `200`

Portal redirect URL.

- PortalRedirect
  - `redirect_url` string, url — Redirect URL containing a JWT to authenticate the user with the portal.
  - `tenant_id` string — The ID of the tenant associated with this portal session.

## Other responses

- `401` — Missing or invalid authentication credentials.
- `404` — Requested resource not found.
- `500` — Unexpected server error.

## Changes

- **2026-02-20** `c36d2dacd201` — 3 info
  - added the media type `application/json` for the response with the status `404`
  - added the non-success response with the status `401`
  - added the non-success response with the status `500`
- **2026-02-13** `42cbfe519754` — 1 info
  - the endpoint scheme security `AdminApiKey` was added to the API
- **2026-01-14** `07bb5388b476` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/hookdeck/apis/outpost-api/changes/tenants/:tenant_id/portal/get.md)

---

[API](https://skmtc.dev/hookdeck/apis/outpost-api.md) · [All operations](https://skmtc.dev/hookdeck/apis/outpost-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hookdeck/outpost-api/revisions/506c7bcee34b/schema)
