Authorization: ********************{
"phone_numbers": [
"9876543210",
"+919876543211"
],
"communication_preference": "mute_all"
}curl --location --request POST '/api/v1/contacts/bulk_update_communication_preferences' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone_numbers": [
"9876543210",
"+919876543211"
],
"communication_preference": "mute_all"
}'{
"updated_contacts": [
{
"id": 1,
"name": "Alfred Hitchcock",
"phone_number": "+919876543210",
"email": "alfred@example.com",
"age": null,
"gender": null,
"language": "en",
"nickname": null,
"opted_out": false,
"communication_preference": "mute_all",
"timezone": null,
"metadata": {
"source": "website"
}
}
],
"errors": [],
"total_requested": 1,
"updated_count": 1,
"error_count": 0
}