gastrotodo

gastrotodo for developers

· Reporting API

Events

training-completions

GET/api/v1/reporting/training-completions

Completed training courses. The time window refers to completedAt. Load the last 7 days every day and replace that window; see Pagination and time windows.

Each time someone repeats a course, a new row is added.

locationId is the person's current home location, not the place where they completed the course. It is null if none is set.

Query parameters

fromdate | timestamp · optional · Default: 7 days before to

YYYY-MM-DD (UTC day) or timestamp with a time zone, inclusive

todate | timestamp · optional · Default: now

YYYY-MM-DD (UTC day, inclusive) or timestamp with a time zone (exclusive). The window can span at most 92 days

limitinteger · optional · Default: 500

Rows per page, 1 to 1000

cursorstring · optional

nextCursor of the previous page

Fields

idinteger

Completion ID

trainingIdinteger

Training ID

trainingTitlestring

Title of the training at the time of completion

trainingVersioninteger

Version at the time of completion

areaIdinteger · nullable

ID of the person's current area; null for organization accounts and removed people

areaNamestring · nullable

Name of that area

locationIdinteger · nullable

ID of the person's current home location, if one is set; null for organization accounts and removed people

locationNamestring · nullable

Name of that location

employeeIdinteger

Person who completed the training (employee ID)

employeeNamestring · nullable

Name of that person

completedAttimestamp

Completed at

scoreinteger · nullable

Number of questions answered correctly; null if there were no questions

maxScoreinteger · nullable

Number of questions asked; null if there were no questions

Request

bash
curl -G "https://www.gastrotodo.de/api/v1/reporting/training-completions" \
  -d from=2026-11-24 \
  -d to=2026-11-30 \
  -H "Authorization: Bearer $GASTROTODO_API_KEY"

Response

json
{
  "data": [
    {
      "id": 55,
      "trainingId": 88,
      "trainingTitle": "Cash register training",
      "trainingVersion": 2,
      "areaId": 812,
      "areaName": "Hamburg",
      "locationId": 4011,
      "locationName": "Harbor",
      "employeeId": 9021,
      "employeeName": "Mara Wolf",
      "completedAt": "2026-11-27T10:00:00.000Z",
      "score": 4,
      "maxScore": 5
    }
  ],
  "nextCursor": null,
  "meta": {
    "dataset": "training-completions",
    "count": 1,
    "generatedAt": "2026-12-01T06:00:00.000Z",
    "from": "2026-11-24T06:00:00.000Z",
    "to": "2026-12-01T06:00:00.000Z"
  }
}

Previous

instruction-acknowledgments

Next

daily-reports

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