Subscriptions
GET /api/v1/subscriptions
GET /api/v1/subscriptionsResponse 200
200{
"data": [
{
"id": "sub_01H...",
"tenantId": "ten_01H...",
"productId": "prod_01H...",
"contactId": null,
"organizationId": "org_01H...",
"priceCents": 4900,
"currency": "USD",
"billingInterval": "month",
"status": "active",
"currentPeriodStart": "2026-04-01T00:00:00Z",
"currentPeriodEnd": "2026-05-01T00:00:00Z",
"createdAt": "2026-04-01T00:00:00Z"
}
],
"nextActions": [
{ "rel": "createSubscription", "method": "POST", "href": "/api/v1/subscriptions" }
]
}cURL
POST /api/v1/subscriptions
POST /api/v1/subscriptionsBody
Field
Type
Required
Description
Response 201
201cURL
GET /api/v1/subscriptions/{id}
GET /api/v1/subscriptions/{id}Response 200
200Errors
Status
When
cURL
POST /api/v1/subscriptions/{id}/change-plan
POST /api/v1/subscriptions/{id}/change-planBody
Field
Type
Description
Response 200
200Errors
Status
When
cURL
POST /api/v1/subscriptions/{id}/change-quantity
POST /api/v1/subscriptions/{id}/change-quantityBody
Field
Type
Required
Description
Response 200
200Errors
Status
When
cURL
POST /api/v1/subscriptions/{id}/cancel
POST /api/v1/subscriptions/{id}/cancelBody
Response 200
200Errors
Status
When
cURL
POST /api/v1/subscriptions/{id}/renew
POST /api/v1/subscriptions/{id}/renewResponse 200
200Errors
Status
When
cURL
Related
Last updated
Was this helpful?
