Basic authentication is the easiest way of authenticating REST API calls. If you wish to define more specific permissions you can use JSON Web Token authentication.
Set a Authorization header to your requests by encoding the
secret_key using base64.
base64(channelId + ':' + secretKey)
Your Authorization header should look similar to this:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==