Edit a knowledge snippet
Changes a snippet's name, content, where it applies, or the channels, stages and reservation fields it is limited to. Send only the fields to change. Needs the KnowledgeHub product on the account. Needs a key with the sparrow.write scope. Needs the key's creator to hold the KnowledgeHubEdit permission.
Body
Booking channels it applies to, such as AirBnb, BookingCom, Vrbo or Direct. Omit for every channel. On edit, omit to keep the current channels and send [] for every channel. Voice AI never uses a snippet limited to channels.
Reservation custom fields that must all match the guest's reservation: [{"field": "<label or id>", "is": ["<value>", ...]}] or [{"field": "<label or id>", "has_any_value": true}]. Fields resolve by label or id. On edit, omit to keep the current conditions and send [] to remove them. Voice AI never uses a snippet limited by reservation fields.
Where it applies: company (default), properties or property_groups. On edit, omit to keep where it applies.
company, properties, property_groupsResponse
Success