Create a customer portal session
Creates a signed, time-limited portal link for one customer, identified by their external customer id. Hand the returned url to the customer so they can view their own invoices without your API key ever reaching them. The session expires after one hour; create a fresh one when it does.
Autorizaciones
API key sent as a bearer token in the Authorization header.
Cuerpo
The customer to create a portal session for.
Identifies the customer a portal session is created for.
External customer identifier from the originating integration (for example the Stripe customer id). The portal shows the invoices that belong to this customer.
1"cus_9aZ"
The integration the customer belongs to. Required only when your environment has more than one integration, because the same external customer id can refer to different customers across integrations; omit it when you have a single integration. If it is required but missing, the request fails with customer_ambiguous.
1"int_3kQ"
Respuesta
A signed link to a customer portal session.
A signed link to a customer portal session.
Portal URL carrying a signed, time-limited session token. Hand it to the customer so they can view their invoices without exposing your API key.
"https://app.easyverifactu.com/app/customer-portal/eyJ…"
When the portal session stops working, RFC 3339 in UTC. Create a fresh session after this.
"2026-06-01T10:30:00Z"