---
title: "Get a customer portal URL"
method: GET
path: "/customers/{external_customer_id}/portal_url"
tags: ["customers"]
---

# Get a customer portal URL

`GET /customers/{external_customer_id}/portal_url`

Retrieves an embeddable link for displaying a customer portal.

This endpoint allows you to fetch the URL that can be embedded to provide customers access to a dedicated portal

## Path parameters

- `external_customer_id` string, required

## Response `200`

Portal URL

- object
  - `customer` object, required
    - `portal_url` string, required — An embeddable link for displaying a customer portal

## Other responses

- `401` — Unauthorized error
- `404` — Not Found error

---

[API](https://skmtc.dev/getlago/apis/lago-api-documentation.md) · [All operations](https://skmtc.dev/getlago/apis/lago-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/getlago/apis/lago-api-documentation/revisions/6e969ef3bb45?raw)
