(a) Not later than the 14th day after the date a subscriber or customer receives notice under Article 18B.402, the subscriber or customer may file a written motion to quash the subpoena or vacate the court order in the court that issued the subpoena or court order. The motion must contain an affidavit or other sworn statement stating:
(1) that the applicant is a subscriber or customer of the provider of an electronic communications service or the provider of a remote computing service from which the electronic customer data held in electronic storage for the subscriber or customer has been sought; and
(2) the applicant’s reasons for believing that the customer data sought is not relevant to a legitimate law enforcement inquiry or that there has not been substantial compliance with the provisions of this chapter in some other respect.
(b) The subscriber or customer shall give written notice to the applicable service provider of the challenge to the subpoena or court order. The authorized peace officer requesting the subpoena or court order must be served a copy of the filed papers by personal delivery or by registered or certified mail.

Terms Used In Texas Code of Criminal Procedure 18B.406

  • Appeal: A request made after a trial, asking another court (usually the court of appeals) to decide whether the trial was conducted properly. To make such a request is "to appeal" or "to take an appeal." One who appeals is called the appellant.
  • Rule: includes regulation. See Texas Government Code 311.005
  • Subpoena: A command to a witness to appear and give testimony.
  • sworn: includes affirm or affirmed. See Texas Government Code 312.011
  • Written: includes any representation of words, letters, symbols, or figures. See Texas Government Code 311.005

(c) The court shall order the authorized peace officer to file a sworn response to the motion filed by the subscriber or customer if the court determines that the subscriber or customer has complied with the requirements of Subsections (a) and (b). On request of the peace officer, the court may permit the response to be filed in camera. The court may conduct any additional proceedings the court considers appropriate if the court is unable to make a determination on the motion on the basis of the parties’ initial allegations and response.
(d) The court shall rule on the motion as soon as practicable after the filing of the peace officer’s response. The court shall deny the motion if the court finds that the applicant is not the subscriber or customer whose data is the subject of the subpoena or court order or that there is reason to believe that the peace officer’s inquiry is legitimate and that the data sought is relevant to that inquiry. The court shall quash the subpoena or vacate the court order if the court finds that the applicant is the subscriber or customer whose data is the subject of the subpoena or court order and that there is not a reason to believe that the data is relevant to a legitimate law enforcement inquiry or that there has not been substantial compliance with the provisions of this chapter.
(e) A court order denying a motion or application under this article is not a final order, and an interlocutory appeal may not be taken from the denial.