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

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body for creating an authenticated customer portal link.

input
object
required

Response

Auth link created

Response containing an authenticated customer portal link.

url
string
required

Authenticated URL the customer can use to access the portal.

Example:

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