Send OTP button
Messages
Send OTP button
Send a message with a copy-to-clipboard button
POST
Send OTP button
Documentation Index
Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
With this method you can send text messages with a button to copy a value.Attributes
Header
Your instance ID. Available in the Z-API panel under Instances.
Your Z-API instance token.
Required
Recipient’s phone number (or group ID for group messages) in DDI DDD NUMBER format. E.g.: 551199999999
Message text
Value to be copied when the button is clicked
Optional
Image URL or Base64
Button text (default: “Copy code”)