title: Get the incoming message on my clickatell number through http api
body: <p>I want when someone message me on my clickatell number then I want to send this message on my email. I'm using the http request.I have check the http api pdf in which only showing the authentication and send message url . I want the url by whcih I get the message in my script.</p>
  
  <p>I'm using the curl function for request the page.</p>
  
  <pre><code>    $curl = curl_init();
       // Set some options - we are passing in a useragent too here
    curl_setopt_array($curl, array(
   CURLOPT_RETURNTRANSFER =&gt; 1,
  CURLOPT_URL =&gt; 'http://api.clickatell.com/http/auth?user=demo&amp; 
    password=demo&amp;api_id=123432',
  CURLOPT_USERAGENT =&gt; 'Codular Sample cURL Request',
     CURLOPT_POST =&gt; 1,
   CURLOPT_POSTFIELDS =&gt; array(
      item1 =&gt; 'value',
      item2 =&gt; 'value2'
  )
  ));
   // Send the request &amp; save response to $resp
     $resp = curl_exec($curl);
   print_r($resp);
    // Close request to clear up some resources
     curl_close($curl);
  </code></pre>
  
  <p>It is working and return me the session id and ok status. similarly can I get the incoming message ?</p>