Create a customer portal session

Creates a portal session for the customer. Returns a short-lived URL to the customer portal.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Request

Body
customerIdstringOptional

The Paid customer ID (display ID or UUID). Either this or externalCustomerId must be provided.

externalCustomerIdstringOptional
Your external customer ID. Either this or customerId must be provided.
returnUrlstringOptionalformat: "uri"
expiresAtdatetimeOptional

Response

201
idstring
customerIdstring
urlstring
statusenum
Allowed values:
returnUrlstring or null
expiresAtdatetime
createdAtdatetime

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error