curl --request GET \
--url https://app.base44.com/api/billing/cancel-subscription/impact \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/billing/cancel-subscription/impact"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/billing/cancel-subscription/impact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.base44.com/api/billing/cancel-subscription/impact",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/billing/cancel-subscription/impact"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/billing/cancel-subscription/impact")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/billing/cancel-subscription/impact")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"apps": {
"limit": 5,
"total_count": 7,
"over_limit": true,
"items": [
{
"id": "6820f3a4e7b91d003c45a1f2",
"name": "Nordwind Furniture",
"logo_url": "https://media.base44.com/images/public/6820f3a4e7b91d003c45a1f2/logo.png",
"is_published": true,
"user_count": 128,
"agent_count": 1,
"automation_count": 2,
"workflow_count": 0,
"has_payments": true,
"custom_domain": "nordwind-furniture.com",
"active_users_30d": 42,
"is_user_managed": false
}
]
},
"backend_functions_stop": true,
"agent_phone_number": "+14155550123"
}Get cancellation impact
Shows what cancelling your workspace’s subscription would affect, without changing anything. Only the workspace owner can call this.
apps.items lists the workspace’s apps, with the ones that have the most at stake first: apps that take payments, then apps on a custom domain, then apps with the most active users. The counts are filled in for the first 50 apps only.
When apps.over_limit is true, the workspace has more apps than the Free plan allows. Choose which apps stay published with cancellation_selection in Cancel subscription.
curl --request GET \
--url https://app.base44.com/api/billing/cancel-subscription/impact \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.base44.com/api/billing/cancel-subscription/impact"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.base44.com/api/billing/cancel-subscription/impact', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.base44.com/api/billing/cancel-subscription/impact",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.base44.com/api/billing/cancel-subscription/impact"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.base44.com/api/billing/cancel-subscription/impact")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.base44.com/api/billing/cancel-subscription/impact")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"apps": {
"limit": 5,
"total_count": 7,
"over_limit": true,
"items": [
{
"id": "6820f3a4e7b91d003c45a1f2",
"name": "Nordwind Furniture",
"logo_url": "https://media.base44.com/images/public/6820f3a4e7b91d003c45a1f2/logo.png",
"is_published": true,
"user_count": 128,
"agent_count": 1,
"automation_count": 2,
"workflow_count": 0,
"has_payments": true,
"custom_domain": "nordwind-furniture.com",
"active_users_30d": 42,
"is_user_managed": false
}
]
},
"backend_functions_stop": true,
"agent_phone_number": "+14155550123"
}Authorizations
Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.
Response
The workspace's apps and what cancelling affects.
What cancelling the subscription affects.
The workspace's apps, and how many the Free plan allows.
Show child attributes
Show child attributes
true when the workspace's backend functions stop once the plan ends.
true
The workspace's active agent phone number, released when the plan ends. null when it has none.
"+14155550123"
Was this page helpful?