The /dnc/{phone} endpoint in the Taalk API checks if a given phone number is in the Do Not Call (DNC) list. When queried, it determines if the phone number exists in either the local or global DNC lists.

  • Parameters: phone (required, string) — The phone number to check.
  • Response: Returns a JSON object indicating if the number is in the DNC list:
    • Listed in local DNC.
    • Listed in global DNC.

This helps ensure compliance by preventing calls to restricted numbers.​