---
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.

---

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