Skip to main content
POST
/
v1
/
customer-portal-session
Create customer portal session
curl --request POST \
  --url https://api.quentli.com/v1/customer-portal-session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "destination": "home",
    "customerId": "cus_1234567890abcdefghij"
  }
}
'
{
  "url": "https://portal.example.com/l/abc123"
}

Authorizations

Authorization
string
header
required

Organization API key using Authorization: Bearer sk_....

Body

application/json

Request body for creating an authenticated customer portal session.

input
object
required

Response

Customer portal session created

Response containing an authenticated customer portal session link.

url
string
required

Authenticated URL the customer can use to access the portal session.

Example:

"https://portal.example.com/l/abc123"