Copy code authentication templates | Developer Documentation Copy code authentication templates Updated: Nov 4, 2025 Copy code authentication templates allow you to send a one-time password or code along with a copy code button to your users. When a WhatsApp user taps the copy code button, the WhatsApp client copies the password or code to the device’s clipboard. The user can then switch to your app and paste the password or code into your app. Note: The “I didn’t request a code” button is currently in beta and is being rolled out incrementally to business customers. Copy code button authentication templates consist of: Preset text: is your verification code.An optional security disclaimer: For your security, do not share this code.An optional expiration warning (optional): This code expires in minutes.A copy code button. Limitations URLs, media, and emojis are not supported. Sample app See our WhatsApp One-Time Password (OTP) Sample App⁠ for Android on Github. The sample app demonstrates how to send and receive OTP passwords and codes via the API, how to integrate the one-tap autofill and copy code buttons, how to create a template, and how to spin up a sample server.