We’ve migrated our documentation to a new site, which means some URLs have changed. If you hit a broken link, submit a support ticket.
Subscriptions

How to export a report via API?

Use this section to choose the correct Piano API base URL and endpoint pattern for the report you want to generate.

Base URL guidance

  • Subscription Management + Billing log reports

    • Use this base URL when calling publisher/export/* endpoints: https://api.piano.io/api/v3.

    • These endpoints are usually available for subscription, transaction, or other Subscription Management + Billing log reports.

  • Composer reports

    • Use this base URL when calling /export/* endpoints: https://reports-api.piano.io/rest.

    • These endpoints are usually used for Composer reports.

Example endpoints

Subscription Management + Billing log reports (publisher/export/*)

Use this base URL when calling Subscription Management + Billing log report endpoints: https://api.piano.io/api/v3.

Composer reports (/export/*)

Use this base URL when calling Composer report endpoints: https://reports-api.piano.io/rest.

Last updated: