Using the API for synchronous exports

Last updated: 19 Nov 2026

KoboToolbox allows you to export project data in two ways:

  • Standard exports: Allow you to manually download project data in formats such as CSV or XLSX. These provide a snapshot of your data at the time of download and do not update automatically.

  • Synchronous exports: Provide a link that allows external applications, such as Microsoft Power BI, Excel, or Google Sheets, to retrieve updated project data automatically.

Synchronous exports are useful for monitoring data collection through dashboards, updating recurring reports, and keeping visualizations up to date without repeatedly downloading files.

This article covers generating a named export, retrieving the synchronous export link, and connecting your data to external applications using authentication.

Understanding synchronous exports

Synchronous exports are part of the KoboToolbox Application Programming Interface (API). They use the exports endpoint to retrieve project data in CSV or XLSX format based on saved export settings.

Synchronous exports use saved export settings, which allow you to choose question names or labels, select form languages, include repeat group data, and apply other advanced export options. Each saved export generates a synchronous export link that external applications can use to retrieve data based on these settings. The link remains the same, but the exported data is regenerated automatically when requested.

Unlike the data endpoint, which returns raw submission data in JSON format and typically requires additional scripting, synchronous exports provide ready-to-use CSV or XLSX files. This makes them easier to connect to reporting and analysis tools without advanced API configuration.

For an introduction to the KoboToolbox API, see Getting started with the API.

Connecting your data to an external application

After retrieving the synchronous export link, you can connect your data to your preferred external application. The method for integrating the synchronous export link will vary by application.

For example, you can:

Authentication

Many external applications can connect to your KoboToolbox data. However, not all support authenticated requests, which are requests that carry credentials (e.g., the API key or username and password) so the server can verify the caller’s identity. If the external application does not support authenticated requests, it will only be able to reach resources that have been made publicly accessible through an anonymous export link.

To connect your project without authentication (e.g., to Google Sheets), you will need to ensure the “Anyone can view submissions made to this form” setting is checked in SETTINGS > Sharing.

For more information about project sharing, see Sharing projects with project-level settings.

For projects with sensitive or private data, the “Anyone can view submissions made to this form” option should remain unchecked. In these cases, consider using only applications that support authenticated requests.

When using applications that support authenticated requests, such as Power BI, you will be asked for basic authentication with your username and password or for a token (also called API Key) to access the data. Your API Key is located in your ACCOUNT SETTINGS under the Security tab.

For more information about the API Key, see Getting started with the API.

Limitations

To maintain server reliability, synchronous exports have the following limitations:

  • Data refresh interval: Data in synchronous exports update every 5 minutes. Export requests made within this 5-minute window will not include new submission data received within the 5-minute interval.

  • Export completion time: Exports must complete within 120 seconds. Projects with a large number of submissions or questions may fail. To avoid this, add a query constraint in the export settings to limit submissions or filter out unnecessary questions. Refer to this Community Forum post for guidance.

Troubleshooting

Media URLs from older exports no longer work Users who rely on media URLs from older synchronous exports may notice that these links no longer work since API v1 was deprecated.

The affected URLs use the old format: https://kc.kobotoolbox.org/media/original?media_file=...

To fix this issue, re-create your synchronous exports with Include media URLs selected. The new export will include updated media URLs.