Export API

Written by Impact Atlas
Updated 1 year ago

Setup: Request Impact Atlas to add access tokens, one or more per cohort.

API Endpoint: /api/v1/exports

Type: GET

Parameters:

* @param token String - the token from settings (required)
* @param survey String - the machine name of the survey to export data for (required)
* @param startdate String (yyyy-mm-dd) - startdate (optional)
* @param enddate String (yyyy-mm-dd) - enddate (optional)
* @param language String - language of the export (default 'en') (optional)

If only startdate or enddate is provided, the response will default to the very first one as the startdate or NOW as the enddate.

With the correct user permissions, see available surveys on the website at “Data Export”.

https:// [your-subdomain] .impactactlas.com/data-export/raw-data

Example:
/api/v1/exports?token=4wu5fh8w475fw84hu5f&survey=farmer_registration

Returns JSON

Special fixed exports

Trainings

survey=trainings
survey=trainings_attendance
survey=topics_attendance
survey=trainings_groups





Did this answer your question?