curl --request POST \
--url https://api-message.nativehub.live/api/v1/dnc/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"numbers": [
"+8801812345678",
"+8801812345679",
"+8801812345680"
],
"reason": "Bulk opt-out"
}
'{
"added": 3,
"skipped": 0
}Add multiple phone numbers to Do Not Contact list
curl --request POST \
--url https://api-message.nativehub.live/api/v1/dnc/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"numbers": [
"+8801812345678",
"+8801812345679",
"+8801812345680"
],
"reason": "Bulk opt-out"
}
'{
"added": 3,
"skipped": 0
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.