RecurringStack Reports API
The Reports API provides a powerful set of tools for generating, retrieving, and managing detailed analytics reports. This category is essential for gaining insights into various aspects of your business, such as subscriptions, invoices, and customer accounts. A key aspect of this API is its asynchronous nature. When you request a new report, it is queued for generation in the background. You can then poll the report's status using its report_id to determine when the data is ready for retrieval. Core Workflow The typical workflow involves creating a report with a POST request, periodically checking its status with a GET request until it is "Completed", and then processing the resulting data. Key Features Asynchronous Report Generation: Create reports via a POST request. The system processes them in the background, allowing your application to remain responsive. New reports start with a status of 'Queued' (0) and transition to 'Completed' (1) when ready. Versatile Report Types: Generate various types of reports, including subscriptions, invoices, accounts, payment, income, and tickets. Retrieve and List: Use GET requests to list all available reports or fetch a specific report by its unique report_id to check its status and access the data. JSON Data for Charting: Once a report is completed, its core analytical data is provided in a clean JSON format, making it easy to integrate with charting libraries and other data visualization tools. Simple Management: Unneeded reports can be easily removed using a DELETE request.