Create a customer portal link

View as Markdown
Generates a new customer portal link. The link allows the customer to manage their subscriptions and payment methods.

Authentication

AuthorizationBearer
API key obtained from the Afternoon dashboard

Path parameters

idstringRequiredformat: "cuid"

Response

Portal link created
successboolean
urlstring
Customer portal URL
expires_atstring
ISO 8601 expiration timestamp for the token
request_idstring

Errors

401
Unauthorized Error
404
Not Found Error
500
Internal Server Error