Upload DNC Async

Upload a file containing a set of numbers that should not be contacted asynchronously.

The file must start with a header row. Valid headers are endpoint, subtype, and selector.

The endpoint is the phone number that should not be contacted. It should be formatted in the E164 format.

The subtype is an optional parameter for what type of contact should not be made. Valid values are sms and call, with sms being the default.

The selector is another optional parameter. This can either be an owned phone number or CUSTOMER_GLOBAL with the default being CUSTOMER_GLOBAL. Setting this value to something other than CUSTOMER_GLOBAL will only block sms/calls for the number specified.

If you need to add a DNC for both call and sms, two rows will be required.

The optional callback parameter will determine which mechanism is used for sending a callback. Valid values are websocket, an id of a webhook of type api_callback, or a url.

The optional incrementalCallback parameter if set to true will result in status results while the dnc list is being processed.

Language
URL
Click Try It! to start a request and see the response here!