v1

latestOpenAPI 3.1.02026-07-24571564.5 KB
Moments

Trigger moment

Trigger a moment for a specific subscription or customer. This endpoint is only available for moments with a trigger type of API. Note: unearning a moment is not yet supported.

post/moments/{momentId}/trigger

Path parameters

momentIdstring required

moment id

Request body

subscriptionContractGIdstring

Subscription id, required if customerGid is not provided

customerGIdstring

Customer id, required if subscriptionContractGId is not provided

triggerResultboolean

Whether the moment should be earned or unearned

Response

Moment triggered