curl --request POST \
--url https://api-message.nativehub.live/api/v1/dnc \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phone": "+8801812345678",
"reason": "User opt-out request"
}
'{
"id": "b4c5d6e7-f8a9-0123-bc45-678901234567",
"tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"phone_number": "+8801812345678",
"reason": "User opt-out request",
"created_at": "2026-02-10T11:20:00Z"
}Add a phone number to Do Not Contact list
curl --request POST \
--url https://api-message.nativehub.live/api/v1/dnc \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"phone": "+8801812345678",
"reason": "User opt-out request"
}
'{
"id": "b4c5d6e7-f8a9-0123-bc45-678901234567",
"tenant_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
"phone_number": "+8801812345678",
"reason": "User opt-out request",
"created_at": "2026-02-10T11:20:00Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.