Authentication v1.x

Noteu uses an API token or 'secret' to access this API on behalf of your account. Every account has a complementary secret and can be used by anyone given access to it. If you decide you want to revoke your secret your can refresh it which will generate a new secret and delete your old one. You can acquire an secret either through Noteu's Auth window which is used by any third party wanting to accuire your secret or using a Noteu's API as shown below.

Getting your secret through the Auth Window

  1. You need a redirect url which you will be redirected too you with your requested secret.
  2. Make a HTTP GET request to http://noteu.co.uk/auth/v1/push/authorize/ with the following parameters
    • redirect_url (required) - your redirect url for example http://www.noteu.co.uk/getSecret.php
  3. For example http://noteu.co.uk/auth/v1/push/authorize/?redirect_url=http://www.noteu.co.uk/getSecret.php
  4. You will then be prompt to enter your email and password and give permission which should redirect you to your desired redirect url with your given secret as a GET variable!

Getting your secret through a request

  1. Choose your favorite programming langage or a request client such as http://wst.mytechlabs.com/
  2. Make a HTTP POST request to http://api.noteu.co.uk/v1/secret/get/ with the following parameters
    • email (required) - your account email
    • password (required) - your account password
  3. That's it! You should recieve a JSON response with your given secret!

Refreshing your secret

  1. Choose your favorite programming langage or a request client such as http://wst.mytechlabs.com/
  2. Make a HTTP POST request to http://api.noteu.co.uk/v1/secret/refresh/ with the following parameters
    • email (required) - your account email
    • password (required) - your account password
  3. That's it! You should recieve a JSON response with your new refreshed secret!