POST /v1/codes/qr-event

Calendar QR code

Scan it and the event lands in the calendar, with the time zone handled properly.

Make a scan-to-add event code now No key, no code — 2 credits either way.

curl -X POST "$DOATHING_API/v1/codes/qr-event" \
  -H "x-api-key: $DOATHING_KEY" \
  -H "content-type: application/json" \
  -d '{"title": "Product launch", "start": "2026-10-01T09:00:00", "end": "2026-10-01T10:30:00", "timezone": "Europe/London", "location": "Studio 4"}'

Scan it and the event lands in the calendar, with the time zone handled properly.

Generate a QR code carrying an iCalendar VEVENT with timezone-correct start and end times.

Response

The result carries your remaining balance alongside it, so you can track spend without a second call.

{
  "title": "Product launch",
  "start_utc": "20261001T080000Z",
  "end_utc": "20261001T093000Z",
  "duration_minutes": 90,
  "request_id": "37f01edb-0163-42a1-ac51-0acaef979800",
  "credits_remaining": 96
}

Cost

2 credits per call, whether it is run from the site or from the API — the credential differs, the price does not. A new account starts with 20 credits.

A rejected request still costs a credit: the authorizer decrements before the tool validates. A call rejected for a missing or invalid key is free.

Parameters

Generated from the endpoint’s own validation, so this is exactly what it accepts. A body field goes at the top level; an option goes inside options.

NameInTypeDefaultNotes
title *bodystring
start *bodystring (ISO 8601)ISO 8601, for example 2026-10-01T09:00:00.
end *bodystring (ISO 8601)ISO 8601. Must be after the start.
timezonebodystring"UTC"e.g. UTC, Europe/London, Europe/Dublin, Europe/Paris
locationbodystring
descriptionbodystring
error_correctionoptionsstring"M"one of L, M, Q, H
scaleoptionsinteger8Pixels per module. 1 to 40
borderoptionsinteger40 to 20
darkoptionsstring"#000000"
lightoptionsstring"#FFFFFF"