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. Must match exactly one customer in the environment.
1"cus_9aZ"
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/portal/eyJ…"
When the portal session stops working, RFC 3339 in UTC. Create a fresh session after this.
"2026-06-01T10:30:00Z"