Rate this page:

Deactivations Resource

This resource retrieves a list of United States phone numbers that have been deactivated by mobile carriers. These phone numbers are no longer in service for the subscriber who used to own that number. Twilio updates the set of available reports daily.

These reports should be used periodically to remove deactivated phone numbers from your opted-in subscriber list. For more information how to use these reports, see the "Handling Deactivated Phone Numbers" Help Center article.

API requests to the Deactivations Resource are free of charge.

Deactivation properties

Resource Properties in REST API format
url Not PII

Returns an authenticated url that redirects to a file containing the deactivated numbers for the requested day. This url is valid for up to two minutes.

Fetch a Deactivation resource


Send a GET request to the Deactivations list resource to retrieve a list of deactivated numbers for a specific date.

You must include the Date parameter with a date value in YYYY-MM-DD format.

Twilio's response contains a redirect_to property with a signed URL for the requested date's deactivations list in .txt format.

Parameters in REST API format
get date<iso8601> Not PII

The request will return a list of all United States Phone Numbers that were deactivated on the day specified by this parameter. This date should be specified in YYYY-MM-DD format.

Example 1
Loading Code Sample...

        Fetch deactivations for August 14, 2023

        Rate this page:

        Need some help?

        We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

        Loading Code Sample...

              Thank you for your feedback!

              Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

              Sending your feedback...
              🎉 Thank you for your feedback!
              Something went wrong. Please try again.

              Thanks for your feedback!