curl --location -g --request POST '/{{vendorUid}}/contact/send-message' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
// optional from phone number id is not given it will use default phone number id
"from_phone_number_id": "",
"phone_number": "{{phoneNumber}}",
"message_body": "your message body",
// if you want to create contact if it does not exist
"contact": {
"first_name" : "Johan",
"last_name" : "Doe",
"email" : "johndoe@doamin.com",
"country" : "Saudi Arabia",
"language_code" : "ar",
"groups" : "examplegroup1,examplegroup2",
"custom_fields" : {
"BDay" : "2026-04-22"
}
}
}'