curl --location 'https://rest.qikberry.ai/v1/whatsapp/messages' \
--header 'x-phone-number: <WA_ID>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"to": "<USER_PHONE_NUMBER>",
"type": "interactive",
"interactive": {
"type": "location_request_message",
"body": {
"text": "Thanks for your order.\nPlease Send your location to proceed."
},
"action": {
"name": "send_location"
}
}
}'{
"message": "1 numbers accepted",
"data": [
{
"messageId": "<MESSAGE_ID>",
"mobile": "<USER_PHONE_NUMBER>"
}
]
}