GET
/
customers
/
{external_customer_id}
/
portal_url
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
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

external_customer_id
string
required

External ID of the existing customer

Response

200 - application/json
customer
object
required