Requests to the Nestio API are authenicated using the HTTP Basic auth protocol. The username is your secret key and the password is blank. Most programming languages default libraries for making HTTP requests (such as PHP’s cURL) should handle adding the Basic auth header to your requests automatically when you provide the username and password.
If you need to implement HTTP Basic auth yourself, you’ll need to add a
Authorization header to any request you send to the nestio API. The contents of this header is the
Basic followed by a token, made up of your secret key the followed by a
: and base64 encoded. So the final header will look like this:
Authorization Basic YOUR_BASE64_ENCODED_TOKEN_HERE
For in-depth details: Http Basic Auth