gastrotodo

gastrotodo for developers

· Reporting API

Getting started

Authentication

Send your organization's API key in the Authorization header of every request:

http
GET /api/v1/reporting/task-outcomes HTTP/1.1
Host: www.gastrotodo.de
Authorization: Bearer gtr_…

Keys in the URL (?apiKey=…) are not accepted, because URLs end up in proxy and access logs.

Create a key

  1. Sign in to gastrotodo with an account that has organization permissions.
  2. Open Integrations → Reporting API.
  3. Choose Create API key, enter its purpose and lifetime (90, 180, or 365 days, or unlimited), and copy the key right away.

The key starts with gtr_ and is shown in full only once, because gastrotodo stores only a hash of it. After that, the app shows its first characters, purpose, expiry date, and when it was last used.

Rotate keys without downtime

An organization can have two keys at the same time, so you can switch without interrupting your loader:

  1. Create a second key.
  2. Switch your loader to the new key.
  3. Check under "Last used" that only the new key is in use.
  4. Revoke the old key.

A revoked key stops working immediately. Requests with an expired key fail with expired_api_key. If gastrotodo disables the Reporting API for your organization, all keys are deleted.

Restrict access by IP address

Under Allowed IP addresses, list the addresses that may send requests: IPv4 addresses, IPv6 addresses, or IPv4 ranges such as 198.51.100.0/24. Requests from any other address fail with 403 ip_not_allowed. If the list is empty, there is no restriction. Cloud services such as Cloud Run use changing addresses unless you route their traffic through a static outbound IP (Cloud NAT).

What a key can access

The key grants access to all areas assigned to your organization, and only those. A newly added area is included from the next request on. An area that is detached or deleted disappears from all datasets.

Previous

Overview

Next

Formats

Ready to structure your business?

Start with gastrotodo — try free for 7 days, then carry on with the plan that fits your business.

Start your 7-day free trialOr book a demo
gastrotodo

Structured operations for hospitality and retail — checklists, HACCP, training and daily reports in one app.

Contact
+49 451 58241800

Mon–Fri 9am–5pm CET

support@gastrotodo.de
App StoreGoogle Play
  • Servers in Germany
  • GDPR-compliant
  • Made in Europe
  • Free setup support

© 2023–2026 gastrotodo.de. All rights reserved.

ContactLegal noticePrivacy PolicyTerms of Service