Get subscription management URL
curl --request GET \
  --url https://api.salesbricks.com/api/v2/subscriptions/{subscription_id}/billing-portal \
  --header 'X-SALESBRICKS-KEY: <api-key>'
{
  "url": "<string>",
  "url_expires_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-SALESBRICKS-KEY
string
header
required

API key for authentication

Path Parameters

subscription_id
string
required

The ID of the subscription

Response

200 - application/json

Successfully retrieved management URL

The response is of type object.