Message Types
Contact Request
Send a message with a button to request the user’s contact information
POST
Available only on WhatsApp
Path parameters
string
required
Unique identifier of the bot sending the message.
Body parameters
string
required
Message type. Must be
"contact_info_request".string
required
Message recipient. Accepts a phone number in E.164 format without the leading
+ (e.g. 593999999999) or a BSUID (e.g. US.13491208655302741918) for users who have enabled phone number privacy in WhatsApp. See Identifying the recipient.string
required
Text shown with the share-contact button.
Response
boolean
true if the message was sent successfully.string
Identifier of the sent message.
Button text: WhatsApp displays the button with predefined text in the user’s language, since this button’s text cannot be customized. You can only set the message that goes with it in the
text field.Best Practices
Use Cases
- Registering a new customer
- Collecting details to follow up on a request
- Confirming the user’s identity before continuing a process
- Updating an existing customer’s contact information