Authorizations
Headers
The idempotency key for the event.
Path Parameters
Unique reference of the metric as set when created.
Body
The user that triggered the event. An object with editable user fields.
The value to add to the user's current total for the given metric.
750
Event attributes as key-value pairs. Keys must match existing event attributes set up in the Trophy dashboard.
{
"category": "writing",
"source": "mobile-app"
}
Response
Created event
The unique ID of the event.
"0040fe51-6bce-4b44-b0ad-bddc4e123534"
The unique ID of the metric that was updated.
"d01dcbcb-d51e-4c12-b054-dc811dcdc623"
The user's new total progress against the metric.
750
Achievements completed as a result of this event.
The user's current streak.
A map of points systems by key.
A map of leaderboards by key.
The idempotency key used for the event, if one was provided.
Whether the event was replayed due to idempotency.