Subscriptions
The Subscriptions API provides read access plus CRM-side updates, cancel and delete.New to the API? Start with Getting started (base URL, response envelope, errors, pagination) and Authentication (API keys).
Identifier note: subscriptions are addressed by their numeric subscription_id.
Subscriptions are Stripe-gateway-driven. A subscription is provisioned against a Stripe product/price and activated by client checkout, so creating a subscription is not exposed by the API — it is managed via Stripe / the CRM UI. The gateway fields (product, price, interval, amounts) are owned by Stripe and exposed read-only.
Scope: the Stripe checkout/pay flow, the product-prices helper, bulk change-category and per-user pinning are out of API scope. Subscriptions do not support tags in this application.
The subscription object
| Field | Type | Notes |
|---|---|---|
id | integer | Subscription id. |
status | string | pending, active or cancelled. |
gateway | object | Stripe product/price/interval — read-only. |
category / client / project_id | object/int | Links. |
totals | object | Amounts (Stripe-managed) — read-only. |
dates | object | started, next_renewal, renewed, ended, created. |
notes | string | CRM-side note (editable). |
List / search subscriptions
status, client_id, project_id, category_id, search,
sort (subscription_date_started,subscription_date_next_renewal,subscription_final_amount,subscription_created),
order, limit, page.
Get a subscription
List a subscription’s invoices
Update a subscription
| Parameter | Type | Required |
|---|---|---|
subscription_categoryid | integer | yes |
subscription_projectid | integer | no |
subscription_notes | string | no |
Cancel a subscription
cancelled and queues the cancellation at Stripe (processed by the cron,
exactly as the UI does). No body. 409 if already cancelled.
Delete a subscription
Errors
See Getting started. Subscription-specific:| Status | Meaning |
|---|---|
404 Not Found | The subscription id does not exist. |
409 Conflict | The subscription is already cancelled. |
422 Unprocessable Entity | Validation failed (e.g. missing/invalid category). |