title: Sage One API - authorization
body: <p>I'm having trouble making an API call. Have got Token, Secret etc, no problem. Difficulties occur when trying to retrieve Contact information. I've tried to access the Sage Developers Forum but just get taken round in circles by the Sage sight.</p>
  
  <p>Here is my own trace.</p>
  
  <pre><code>ACCESS : 2a075f2f204a380505a4f27378056bfa326b582f
  REFRESH : 2de459f637c1c89bc7add9a424b04f4a2c29a6ec
  POST : POST&amp;https%3A%2F%2Fapi.sageone.com%2Faccounts%2Fv1%2Fcontacts&amp;contact_type=1&amp;1435822573
  SIGNING : 4c53564b7b9f1542838e65384b2c506b37bb5c28&amp;2a075f2f204a380505a4f27378056bfa326b582f
  HASH : NzY2ODE1ZjJmOTVlMmY5MWVjODI2MjdhMTAyMGMyNWM0N2MyNjA1Ng==
  CURL ARGS:
  
  URL : https://api.sageone.com/test/accounts/v1/contacts?contact_type=1
  
  AUTHORIZATION : Bearer 2a075f2f204a380505a4f27378056bfa326b582f
  X-SIGNATURE : NzY2ODE1ZjJmOTVlMmY5MWVjODI2MjdhMTAyMGMyNWM0N2MyNjA1Ng==
  X-NONCE : 1435822573
  ACCEPT : */*
  CONTENT-TYPE : application/x-www-form-urlencoded
  USER-AGENT : Great Water
  
  STRING : Authorization=Bearer 2a075f2f204a380505a4f27378056bfa326b582f&amp;X-Signature=NzY2ODE1ZjJmOTVlMmY5MWVjODI2MjdhMTAyMGMyNWM0N2MyNjA1Ng==&amp;X-Nonce=1435822573&amp;Accept=*/*&amp;Content-Type=application/x-www-form-urlencoded&amp;User-Agent=Great Water&amp;
  RESULTS
  
  {"error":"Authorization header is missing.","error_description":"Please provide an 'Authorization' header with the following format: Bearer xxxxx."}
  </code></pre>
  
  <p>As you can see, despite the Authorization argument being present, Sage is rejecting it.</p>
  
  <p>Any ideas?</p>