Returns a paged list of subscriptions for the tenant. Pass paging and filter fields in the body. Totals are returned inside Data (TotalDataCount).
bearerAuthAuthorizationBearer <token>Opaque bearer token obtained from POST /api/token (password grant). Send as Authorization: Bearer <token>.
application/json- body
[key: string]?anySuccess. The business payload is returned in the Data field of the standard envelope.
application/json- response
Standard response envelope returned by every endpoint except the token endpoint.
Data*unknownThe business payload. Shape depends on the operation; occasionally a JSON-encoded string.
Status*stringBusiness outcome. Check this, not just the HTTP code.
"SUCCESS""ERROR"StatusCode?|Optional numeric status code.
ErrorDetail?||array<any>|Raw error detail when Status is ERROR. Not a stable contract.
ErrorMessage?stringHuman-readable error message when Status is ERROR.
OperationType?|Reserved; usually null.
RequestCorrelationID?stringCorrelation id for the request, useful for support.
curl -X POST 'https://api-demo.saasify.ai/api/subscriptions/list' \ -H 'Content-Type: application/json' \ -d '{ "status": "Active", "pageSize": 20, "sortOrder": "desc", "pageNumber": 1, "searchText": "", "sortColumn": ""}'{ "Data": { "Data": [ { "planId": "PLAN-001", "status": "Active", "quantity": 10, "customerId": "CUST-001", "cloudProvider": "AWS", "subscriptionId": "SUB-001" } ], "PageSize": 20, "CurrentPageNo": 1, "TotalDataCount": 1 }, "Status": "SUCCESS", "StatusCode": 200, "ErrorDetail": null, "ErrorMessage": "", "OperationType": null, "RequestCorrelationID": "9f1c2d3e-4b5a-6789-0abc-def012345678"}