title: How can I access a local API using Amazon Alexa
body: <p>I intend to build a set of skills for <a href="https://developer.amazon.com/alexa-skills-kit" rel="noreferrer">Amazon Alexa</a> that will integrate with a custom software suite that runs on a RaspberryPi in my home.</p>
  
  <p>I am struggling to figure out how I can make the Echo / Dot itself make an API call to the raspberry pi directly - without going through the internet, as the target device will have nothing more then an <em>intranet</em> connection - it will be able to receive commands from devices on the local network, but is not accessible via the world.</p>
  
  <p>From what I have read, the typical workflow is as follows</p>
  
  <pre><code>Echo -&gt; Alexa Service -&gt; Lambda
  </code></pre>
  
  <p>Where a Lambda function will return a blob of data to the Smart Home device; using this return value</p>
  
  <blockquote>
    <p>Is it possible, and how can I make the Alexa device itself make an API request to a device on the local network, after receiving a response from lambda?</p>
  </blockquote>