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
Authorizationheader:
π 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.