# Create and send verification code **POST /api/experience/verification/verification-code** Create a new `CodeVerification` record and sends the code to the specified identifier. The code verification can be used to verify the given identifier. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Parameters ## Body parameters Content-type: application/json - **identifier** (object) The identifier (email address or phone number) to send the verification code to. - **interactionEvent** (string) The interaction event for which the verification code will be used. Supported values are `SignIn`, `Register`, and `ForgotPassword`. This determines the template for the verification code. ## Responses ### 200: The verification code has been successfully sent. #### Body Parameters: application/json (object) - **verificationId** (string) The unique ID of the verification record. Required to verify the code. ### 400: An invalid identifier was provided. ### 404: Not Found ### 501: The connector for sending the verification code is not configured. [Powered by Bump.sh](https://bump.sh)