All calls to the API require authentication via HTTP Basic Auth, using the M2M (Machine to Machine) username and password available at https://app.ahgora.com.br/plataforma/contas/usuarios of the service type.
The Basic authentication mechanism uses an HTTP header with Base64-encoded credentials in the following format:
Authorization: Basic <Base64(username:password)>
If the credentials are invalid or missing, the API will return error 401 Unauthorized: