To generate any report via API
1. Create the desired report through the user interface or API
- Capture the Report ID from the URL
2. Go to Organization Settings
- Capture the OrgID
- Generate AuthKey
3. Call Generate Report
- Endpoint: https://api.integrate.com/api/organizations/{{OrgID}}/reports/generate/{{ReportID}}?callback={{CallbackUrl}}
- Example: https://api.integrate.com/api/organizations/d2c25ef1-4036-40ec-b613-c0b5b89523/reports/generate/d3cc1376-6982-4a13-9ae6-750c889f66?callback=https://requestb.in/rxqg72rx
- Headers: Authorization Bearer {{AuthKey}}
- Must specify callback URL
4. Response will be set to the callback URL specified in the Generate Report
- Response Example: {"reportUrl":"http://app.integrate.com/analytics/reports?download=eyJ0eXAiOiJ4OTUyMTRUifQ.bT_7e0jQPIvTYsR9MbOMHp3eENq_0UwACydom8i08"}
5. Download Report URL
- Headers: Authorization Bearer {{AuthKey}}
API documentation is available here