Get my subscription
curl --request GET \
--url https://dev.api.withconvexity.com/v1/subscriptions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.api.withconvexity.com/v1/subscriptions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.api.withconvexity.com/v1/subscriptions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": true,
"message": "Subscription retrieved successfully",
"data": {
"id": "9c3d5a7e-1b2c-4d5e-8f90-abcdef123456",
"projectId": "66f0a1b2c3d4e5f601234567",
"businessId": "42",
"planId": 3,
"billingCycle": "MONTHLY",
"status": "ACTIVE",
"subscriptionType": "RECURRING",
"startDate": "2026-06-01T00:00:00.000Z",
"endDate": "2026-07-01T00:00:00.000Z",
"autoRenew": true,
"creditAmount": 0,
"paymentRef": "sub_charge_9f2a1c",
"createdBy": "system",
"createdAt": "2026-06-01T09:15:00.000Z",
"updatedAt": "2026-06-01T09:15:00.000Z"
}
}{
"status": false,
"message": "Token has expired"
}{
"status": false,
"message": "Subscription not found"
}Subscriptions
Get my subscription
Returns a single subscription owned by the calling project. Returns 404 if it does not exist or is not owned by your project.
GET
/
v1
/
subscriptions
/
{id}
Get my subscription
curl --request GET \
--url https://dev.api.withconvexity.com/v1/subscriptions/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://dev.api.withconvexity.com/v1/subscriptions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://dev.api.withconvexity.com/v1/subscriptions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": true,
"message": "Subscription retrieved successfully",
"data": {
"id": "9c3d5a7e-1b2c-4d5e-8f90-abcdef123456",
"projectId": "66f0a1b2c3d4e5f601234567",
"businessId": "42",
"planId": 3,
"billingCycle": "MONTHLY",
"status": "ACTIVE",
"subscriptionType": "RECURRING",
"startDate": "2026-06-01T00:00:00.000Z",
"endDate": "2026-07-01T00:00:00.000Z",
"autoRenew": true,
"creditAmount": 0,
"paymentRef": "sub_charge_9f2a1c",
"createdBy": "system",
"createdAt": "2026-06-01T09:15:00.000Z",
"updatedAt": "2026-06-01T09:15:00.000Z"
}
}{
"status": false,
"message": "Token has expired"
}{
"status": false,
"message": "Subscription not found"
}⌘I
