REST API Authentication - 401 Unauthorised authentication failure
If you're getting this error, you're not using the correct authentication.
When using our REST API, Basic HTTP authentication should be used in the header. Our docs explain this here: https://developers.clicksend.com/docs/rest/v3/#authentication