--- title: "Customer ID validation" slug: "customer-id-validation" description: "The user manual provides comprehensive guidance on using the Antavo Management UI for managing loyalty programs." updated: 2026-05-27T11:40:51Z published: 2026-05-27T11:40:51Z canonical: "docs.antavo.com/customer-id-validation" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.antavo.com/llms.txt > Use this file to discover all available pages before exploring further. # Customer ID validation Antavo’s Customer ID validation mechanism allows the creation of anonymous events, meaning that an event can be registered without a customer ID value in the `customer` attribute. Find the configuration page of the Customer ID validation module under the Modules menu. ## Guest events The interface has only one configuration option. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/customer_id_validation.png) If the **Guest events** checkbox is enabled and an incoming event has the {{guest: true}} flag, the following scenarios can occur: - If the customer is not included in the event request: Antavo considers it an anonymous event. No customer will be created or updated, and the event will not contain a `customer` property. - If the customer is included in the event request: the error `BadRequestException` is returned, as it is not possible to send a guest event with a customer. If the **Guest events** checkbox is not checked or no {{guest: true}} flag is present, the default mechanism will apply, meaning that all requests without a `customer` property will fail. Read more about guest transactions in the [Developer documentation](https://developers.antavo.com/docs/transactions#guest-checkout). ## Automatic customer ID generation If the Customer ID validation is enabled, the customer ID is automatically generated when adding a new customer manually under the [Customer insights](/v1/docs/customer-insights) menu. ![](https://cdn.document360.io/08a474ca-8fb4-4c3c-9cd8-665242086cd3/Images/Documentation/unique_id(1).png) The generated ID cannot be modified manually. However, you can still register customers with any customer ID via `opt_in` [events](https://developers.antavo.com/docs/api-events#opt_in) using the Events API.