Skip to main content

Authentication

MescoMg API uses Basic Auth for authentication. MescoGo is the API service you integrate with; your account credentials are issued for your integration.

πŸ” Requirements​

  • All endpoints use HTTPS and Basic Auth unless explicitly stated otherwise.
  • MescoMg provides the API username and password for your account.
  • Send the credentials in the Authorization header:

πŸ“‹ Authentication Information​

Authorization: Basic base64(username:password)

Content-Type: application/json applies when you send a JSON request body.

Security requirements​

  • Use HTTPS for every request and keep the credentials in a server-side secret store.
  • Do not place the credentials in browser code, source control, URLs, logs, or error messages.
  • Send the header on every endpoint request, including static-data and service-status requests.