v1

latestOpenAPI 3.1.0AGPLv32026-07-26168262527.5 KB
customers

Get a customer 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

get/customers/{external_customer_id}/portal_url

Path parameters

external_customer_idstring required
Example:5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba

External ID of the existing customer

Response

Portal URL

Example response

{
  "customer": {
    "portal_url": "https://app.lago.com/customer-portal/1234567890"
  }
}