Create a short-lived Paddle customer portal link (ADMIN+)
POST
/billing/portal-session
const url = 'https://api.invogi.com/v1/billing/portal-session';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/billing/portal-session \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Responses
Section titled “Responses”Portal link
Media typeapplication/json
object
url
required
string
Example generated
{ "url": "example"}Missing or invalid API key
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json
Resource not found
Media typeapplication/json