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
Authorization
Path
LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"
curl --location --request GET "$LAGO_URL/api/v1/customers/:external_id/portal_url" \
--header "Authorization: Bearer $API_KEY"
{
"customer": {
"portal_url": "https://app.lago.com/customer-portal/1234567890"
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
external_customer_id
string
requiredExternal ID of the existing customer
Response
200 - application/json
customer
object
requiredWas this page helpful?
LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"
curl --location --request GET "$LAGO_URL/api/v1/customers/:external_id/portal_url" \
--header "Authorization: Bearer $API_KEY"
{
"customer": {
"portal_url": "https://app.lago.com/customer-portal/1234567890"
}
}