Skip to main content
POST
Create a hosted billing portal session

Authorizations

Authorization
string
header
required

Opaque AMS machine token created by browser-assisted CLI login. Management requests are restricted to that machine profile's workspace and linked human membership.

Headers

Idempotency-Key
string
required

Stable caller-generated key for one logical write. Reuse it only when retrying identical input.

Required string length: 1 - 200

Path Parameters

workspace_id
string<uuid>
required

Exact workspace UUID.

Body

application/json

The body is of type object.

Response

A hosted Customer Portal session.

session_id
string
required
url
string<uri>
required