Getting started
Overview
Use the Reporting API to load results from all areas and locations of your organization into your own data warehouse or BI tool: completed and missed tasks, HACCP measurements and incidents, defects, acknowledged instructions, and completed training courses. The API is read-only, returns JSON, and is designed for regular automated jobs, such as a nightly load.
At a glance
| Property | Value |
|---|---|
| Base URL | https://www.gastrotodo.de/api/v1/reporting |
| Authentication | Authorization: Bearer <API key> |
| Format | JSON, UTF-8, timestamps in ISO 8601 (UTC) |
| Method | GET only |
| Scope | All areas of your organization |
| Rate limit | 120 requests per minute per organization |
| Machine-readable specs | OpenAPI 3.1, BigQuery schemas |
Prerequisites
- Activate the API: Ask your gastrotodo contact to enable the Reporting API for your organization.
- Create a key: Someone with organization permissions then creates an API key under Integrations → Reporting API. See Authentication.
First request
curl -H "Authorization: Bearer $GASTROTODO_API_KEY" \
"https://www.gastrotodo.de/api/v1/reporting/task-outcomes?from=2026-11-30&to=2026-11-30"{
"data": [
{
"id": "2026-11-30:55120:4011",
"date": "2026-11-30",
"areaName": "Hamburg",
"locationName": "Harbor",
"taskTitle": "Check fridge temperature",
"status": "completed",
"...": "..."
}
],
"nextCursor": null,
"meta": { "dataset": "task-outcomes", "count": 1, "...": "..." }
}Datasets
| Dataset | Contents | Type |
|---|---|---|
| task-reports | Every report on a task | Events |
| haccp-measurements | HACCP measurements, with deviations flagged | Events |
| defects | Reported and resolved equipment defects | Events |
| instruction-acknowledgments | Acknowledgments of instructions | Events |
| training-completions | Completed training courses | Events |
| daily-reports | Daily report per business day and location | Daily outcomes |
| task-outcomes | Outcome of every due task per business day and location | Daily outcomes |
| haccp-incidents | HACCP deviations, missed checks, and canceled checks | Daily outcomes |
Which dataset for which question
| Question | Dataset |
|---|---|
| How reliably are tasks completed? | daily-reports for totals, task-outcomes for individual tasks |
| Who reported what, and when? | task-reports |
| Which temperatures were measured? | haccp-measurements |
| What went wrong in HACCP? | haccp-incidents |
| What is broken, and since when? | defects |
| Who acknowledged an instruction or completed a training course? | instruction-acknowledgments, training-completions |
All datasets are delivered for a time window. Pagination and time windows explains how to load pages and keep your data up to date.
Names and IDs
Each row contains the names that apply to it, such as areaName, locationName, taskTitle, and departmentName, so you do not have to join other tables. The IDs next to them (areaId, locationId, taskId, …) stay the same when something is renamed. Use the IDs for grouping and the names for display. BigQuery and Dataform shows how to always display the latest name.
- Data is current: Every request reads the current data. There is no nightly export to wait for.
- gastrotodo's own accounts: When someone from gastrotodo corrected an entry, the ID is delivered but the name is
null. - Areas are called regions in the app, and locations are called stores.
- The names of areas, locations, and departments, the department a task belongs to, and its
measurementPointare the current ones at the time of the request. taskReportId,measurementId, andtaskOutcomeIdrefer to theidof a row in task-reports, haccp-measurements, or task-outcomes.- How tasks are set up, for example their recurrence, is not part of the API.
What the API does not contain
- Outstanding acknowledgments and training courses: You can see who acknowledged or completed something, but not who still has to.
- Locations without results: A location appears only if it has rows in the time window.
- Your own location numbers: gastrotodo does not store them. Keep a mapping from
locationIdto your numbers in your warehouse.
Help
For questions or to report an outage, email support@gastrotodo.de. If a request failed, include the requestId from the response so that we can find it.
