iOS Shortcut
Create a Shortcut for each game:
- Add a web request action.
- Set method to
POST. - Set URL to your
/api/presence/playedroute. - Add
Authorization: Bearer <secret>. - Send JSON with
title,platform, optionalurl, and optionaloccurredAt. - Open the game as the final Shortcut action.
Example body:
json
{
"title": "MCOC",
"platform": "ios",
"url": "https://apps.apple.com/app/id1095691691"
}If occurredAt is omitted, the server records the current time.