Create Portal Session
curl --request POST \
--url https://api.agentpowers.ai/v1/billing/portal \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentpowers.ai/v1/billing/portal"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentpowers.ai/v1/billing/portal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "<string>"
}billing
Create Portal Session
POST
/
v1
/
billing
/
portal
Create Portal Session
curl --request POST \
--url https://api.agentpowers.ai/v1/billing/portal \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.agentpowers.ai/v1/billing/portal"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.agentpowers.ai/v1/billing/portal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"url": "<string>"
}Was this page helpful?