This message can only be sent within the 24-hour customer service window. Outside that window, use a
template with the Share Contact Info button instead. It is not available for every WhatsApp connection:
if your app’s connection doesn’t support it, the request returns
400.Request
Usetype as interactive and set interactive.type to request_contact_info.
Field types
to: string (required) — phone number or WhatsApp user IDtype: string =interactive(required)interactive: object (required)interactive.type: string =request_contact_info(required)interactive.body: object (required)interactive.body.text: string (required)
Field behavior and limits
interactive.body.textis required, max 1024 characters.- The button text can’t be customized: WhatsApp shows it in the user’s language.
interactive.actionis set automatically; any value you send is ignored.