Basic Authentication
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.
Basic Authentication cannot be used to authenticate JavaScript clients. It is only used for the REST API.
Set a Authorization header to your requests by encoding the channel_id
and secret_key
using base64.
base64(channelId + ':' + secretKey)
Your Authorization header should look similar to this:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==