post https://example.td.commpeak.com/api/dnc/mass
Use the Mass Approve/Unapprove DNC numbers API endpoint if you want to approve/unapprove multiple Do Not Call (DNC) entries at once. You should add the following fields to the request body:
Request Body
create_missing
(boolean): Set to true to create missing DNC entries.
dnc
(array): An array of objects containing the following parameters for each DNC entry:phone
(string): The phone number for the DNC entry.
country_iso
(string): The country ISO code for the phone number.
approved
(integer): The approval status for the DNC entry.
permanent
(integer): The permanence status for the DNC entry.