API Authentication Mechanisms
MetaDefender Cloud APIs are protected by a Basic authentication mechanism.
Basic authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that contains the word Basic word followed by a space and a base64-encoded string username:password.
All API users are required to include their apikey in the appropriate header when communicating with the public APIs. In order to obtain your apikey, follow the steps in our guide, Onboarding Process for MetaDefender Cloud API Users.
Authentication Examples
MetaDefender Cloud v4 API uses the custom HTTP header apikey. Every request must send this header. Please see MetaDefender Cloud API v4API for more information on the apikey header.
Successful API Authentication Request
Failed API Authentication Request
In case you provide a nonexistent API key, MetaDefender Cloud APIs will respond with a 401 Invalid API key request.