v1

latestOpenAPI 3.1.02026-08-062951103.4 KB
customer_portal

Create a customer portal session

post/customer_portal/sessions

Request body

platform_subscriber_idstring required

The ID of the customer from your connected subscription platform

return_urlstring uri required

The URL to redirect customers to when they leave the customer portal

Example request

{
  "platform_subscriber_id": "cus_Ne8IAatISPUTNi"
}

Response

Created

idstring required
urlstring uri required

The URL of the created customer portal session

created_atstring date-time required
expires_atstring date-time required

Example response

{
  "id": "psess_ShhcPknbB0aaPNk2jyOQajsH",
  "url": "https://app.prosperstack.com/p/portal/acct_6Ggu2ID13p2iPA3PPEP1e6Ps/session/psess_ShhcPknbB0aaPNk2jyOQajsH"
}