This doc provides recipes for running reports via API. Note that reports can also be run from the Persona dashboard.
Learn more in the Reports API documentation
Create your first report by creating a POST request to the reports resource:
After you submit the request, your report is processed as soon as possible. This usually happens within a second.
The HTTP response will include a report ID that you can use to poll for the report result:
Fetch the results of a report using the report ID:
Once the report status is ready, the results will be available in the response: