# Confirm Recipe Allergens

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Records that a person reviewed the recipe's allergen record and stands behind it. Send the `record_hash` of the record the person was shown and the recipe's current `version_id` as `If-Match`.

Refused while any row is `not_answered` or an ingredient's version could not be read (422 `allergens_not_confirmable`, with `reason`, `codes` and `ingredient_rows`), when the record changed since it was read (409 `allergens_record_changed`, with the current `record_hash`), or when the recipe changed since `If-Match`. The confirmation is kept outside the recipe's versions with its history; a later change to an answer, the ingredients or the allergen list makes it `stale`. Confirming the record that is already confirmed records nothing new (`created: false`).

A confirmation is the person's attestation, so it is refused when the request comes from an agent (403 `channel_not_permitted`): the person confirms in Studio or through the API.
