How to search messages using REST API

if i want to get 1 hour ago until now data
how can i set timerange

tks