Initiatives
Add or replace a success metric
Changed onConfigure what counts as success for an initiative: a customer-data event, a record on a custom object, or a value extracted from the conversation, measured within 48 hours of the first message. Omit rootId to add a metric; pass an existing metric's rootId to replace it with a new version. This is not a patch — send the metric's complete configuration, because omitted fields are cleared. Successes are recalculated on every read, so replacing a metric also changes what the dashboard reports for past conversations. Use success_metrics_catalog to find the event, object type or variable to point at.
post/api/v1/initiatives/{id}/success-metrics
Request
- Base URLhttps://www.useboom.ai
- AuthHTTP bearer
Path parameters
idstring required
The initiative id.
Request body
Response
Success
Changes
- info
endpoint added
- info