Webhook events
program_events/customer.rule_completed
This webhook is triggered when a customer completes an activity by triggering a rule.
To subscribe to this webhook, your access token needs to contain the
read_customers
and read_orders
scope.
Payload
Customer object with the same shape as the Customers API response
The activity that was completed. An object with the same shape as the Activities API response
The order linked to this activity, if any. An object with the same shape as the Orders API response
If this activity was linked to a social media rule, e.g. “Follow on Instagram”, this will be the URL of the social media profile that was involved
If this activity was linked to a review rule, this will contain information about the review
Example
Example