Request the user's phone number
Send a service-window interactive message that asks the WhatsApp user to share their phone number (REQUEST_CONTACT_INFO).
Use this when you only know the user by BSUID and the 24-hour customer service window is open. body is the text above the button. This method has no separate button label — WhatsApp sets that.
Outside that window, create a UTILITY or MARKETING template with a REQUEST_CONTACT_INFO button via POST /addTemplate (do not send text on the button) and send it with POST /sendTemplate. That button has no send-time parameters.
When the user shares the number, the inbound webhook is a contacts message with origin: contact_request. The phone is stored on the same BSUID, and the message is written to history.
JWT tokentoken<token>application/json- body
body*stringText shown above the share-contact button.
1 <= length <= 1024phone?stringRecipient phone with country code. Use phone, chatId, or bsuid.
chatId?stringRecipient chat ID ([email protected], BSUID @lid, or username @username).
bsuid?stringBusiness-scoped user id, for example US.13491208655302741918.
Server response example
application/json- response
sent?booleanid?stringunique message id
message?stringPosting status message
description?stringResult description
curl -X POST 'https://api.1msg.io/123/sendContactInfo' \ -H 'Content-Type: application/json' \ -d '{ "bsuid": "US.13491208655302741918", "body": "Please share your phone number so we can reach you."}'{ "sent": true, "id": "gBGGeRhGZTEfAgkJCh2wAz4ZH-8", "message": "Sent to [email protected]", "description": "Message has been sent to the provider"}