Events

Every delivery is a POST with a JSON body and Content-Type: application/json; charset=utf-8. The signature covers those exact bytes, so keep the raw body until you have checked it. See Verifying signatures.

The envelope

{
  "version": 1,
  "event": "catalog_item.fulfillment_requested",
  "deliveryId": "019f0000-0000-7000-8000-000000000001",
  "occurredAtUtc": "2026-08-19T12:00:00+00:00",
  "data": {}
}
FieldTypeMeaning
versionintegerThe envelope version. Always 1 today. Check it before anything else.
eventstringThe event name, in resource.action form. Also sent as X-Gemifier-Event.
deliveryIdstring (UUID)What you de-duplicate on. The same on every retry, different between two occasions. Also sent as X-Gemifier-Delivery.
occurredAtUtcstring (ISO 8601 with offset)When the event happened, not when the request was made. A retry carries the original value.
dataobjectThe payload, different per event.

Keys inside data are camelCase, and a field with no value is left out rather than sent as null.

In the dashboard, each event you can subscribe to has a label of its own.

Dashboard labelArrives as event
Reward to delivercatalog_item.fulfillment_requested
Mission completedmission.completed
Streak milestonestreak.milestone_reached
Leaderboard period closedleaderboard.period_closed

Your endpoint also sees ping, which you cannot subscribe to. It is on Webhooks.

catalog_item.fulfillment_requested

The one event that asks you to do something. A player earned or bought a catalog item and only your system can hand it over. deliveryId is the reward id.

{
  "version": 1,
  "event": "catalog_item.fulfillment_requested",
  "deliveryId": "019f0000-0000-7000-8000-000000000001",
  "occurredAtUtc": "2026-08-19T12:00:00+00:00",
  "data": {
    "playerId": "player-42",
    "catalogItemKey": "free_spins",
    "valueType": "Number",
    "value": 20,
    "sourceType": "Mission",
    "sourceId": "019f0000-0000-7000-8000-000000000002"
  }
}
FieldTypeNotes
playerIdstringYour own ID for the player, the one you sent. Never a Gemifier ID.
catalogItemKeystringThe catalog item's key, for example free_spins.
valueTypestringOne of Number, String, Boolean.
valuenumber, string or booleanWhat to hand over. Left out when the item has no value, not null.
sourceTypestringWhat earned it. See below.
sourceIdstring (UUID)What that source points at, per sourceType.
sourceTypesourceId is
Missionthe completion, the same value mission.completed sends as occurrenceId
StreakMilestonethe crossing, the same value streak.milestone_reached sends as crossingId
MarketplacePurchasethe purchase, bought with points rather than earned
Leaderboardthe leaderboard, not the period that paid it

Accept a sourceType you do not recognise rather than refusing the delivery.

A reward the player has to claim is requested when they claim it, and never if they do not. occurredAtUtc still says when it was earned.

A 2xx here means you have the instruction and will carry it out, once, even if it arrives again. It does not mean the player has the item, and Gemifier cannot find that out. After your 2xx nothing sends it again unless somebody does so by hand.

mission.completed

One player finished one occurrence of one mission. deliveryId is the occurrence id, which is also data.occurrenceId.

{
  "version": 1,
  "event": "mission.completed",
  "deliveryId": "019f0000-0000-7000-8000-000000000002",
  "occurredAtUtc": "2026-08-19T12:00:00+00:00",
  "data": {
    "playerId": "player-42",
    "missionKey": "daily_deposit",
    "occurrenceId": "019f0000-0000-7000-8000-000000000002",
    "occurrenceNumber": 7,
    "completedAtUtc": "2026-08-19T12:00:00+00:00"
  }
}
FieldTypeNotes
playerIdstringYour own ID for the player.
missionKeystringThe mission's key.
occurrenceIdstring (UUID)This completion, not the mission. A recurring mission's next one is a different id.
occurrenceNumberintegerCounts from 0. See below.
completedAtUtcstring (ISO 8601 with offset)When the last objective was met.
claimIdstring (UUID)Only when the reward waits for the player to claim it. What to claim it by.

occurrenceNumber starts at 0, so the 7 above is the eighth. A mission that does not repeat always sends 0. A receiver that reads 0 as "missing" drops every one-time completion it is ever sent. Add one before showing it to a person.

None of these fields is an amount. To find out what the completion paid, match occurrenceId against sourceId on the fulfilments it caused. One completion paying three catalog items produces three of them sharing the id, and one paying only points produces none.

streak.milestone_reached

One player's run crossed one threshold on one day. deliveryId is the crossing id, which is also data.crossingId.

{
  "version": 1,
  "event": "streak.milestone_reached",
  "deliveryId": "019f0000-0000-7000-8000-000000000003",
  "occurredAtUtc": "2026-08-19T12:00:00+00:00",
  "data": {
    "playerId": "player-42",
    "streakKey": "daily_login",
    "crossingId": "019f0000-0000-7000-8000-000000000003",
    "threshold": 7,
    "runLength": 9,
    "crossedOn": "2026-08-19",
    "reachedAtUtc": "2026-08-19T12:00:00+00:00"
  }
}
FieldTypeNotes
playerIdstringYour own ID for the player.
streakKeystringThe streak's key.
crossingIdstring (UUID)Matches sourceId on the fulfilments this crossing caused.
thresholdintegerThe milestone reached.
runLengthintegerHow long the run was when it crossed. Can be more than threshold.
crossedOnstring, yyyy-MM-ddThe player's own day, not a UTC day and not a timestamp.
reachedAtUtcstring (ISO 8601 with offset)When the crossing was recorded.
claimIdstring (UUID)Only when the reward waits for the player to claim it. What to claim it by.

One day can carry a run past several milestones. Each is its own event with its own crossingId and the same crossedOn. Reaching the same threshold again after a break is a different crossing, so do not de-duplicate it against the first.

leaderboard.period_closed

A leaderboard's period settled. Ranks are final and prizes are paid. deliveryId is the period id, which is also data.periodId. On a board won by reaching a score, each place was paid when it was taken, and this marks the end of the period.

It is about the race rather than about a player, so it names none. Read the standings from the API.

{
  "version": 1,
  "event": "leaderboard.period_closed",
  "deliveryId": "019f0000-0000-7000-8000-000000000004",
  "occurredAtUtc": "2026-09-01T00:00:00+00:00",
  "data": {
    "leaderboardKey": "weekly_points",
    "periodId": "019f0000-0000-7000-8000-000000000004",
    "periodStartUtc": "2026-08-25T00:00:00+00:00",
    "periodEndUtc": "2026-09-01T00:00:00+00:00",
    "participants": 412,
    "settledAtUtc": "2026-09-01T00:00:00+00:00"
  }
}
FieldTypeNotes
leaderboardKeystringThe leaderboard's key.
periodIdstring (UUID)The period that closed. The next one is a different id.
periodStartUtcstring (ISO 8601 with offset)When the period opened.
periodEndUtcstring (ISO 8601 with offset)When it closed.
participantsintegerPlayers who scored in it.
settledAtUtcstring (ISO 8601 with offset)When the ranks became final.

Prizes arrive as their own fulfilments, and their sourceId is the leaderboard rather than this period.

Next

On this page