API Documentation

Basic Authentication

To make API calls, your script must have the appropriate credentials, which can be obtained through the Keepit platform. You can authenticate API requests using your user credentials or by creating a separate user account.

Ensure the user has the necessary permissions to perform the required actions.

Basic Authentication is commonly supported in many API tools, like Postman. Various scripting and programming languages, such as PowerShell, also provide access to basic authentication.

Example of Postman auth

PowerShell

try { 
        $username = '<API Token username>' 
        $password = '<API Token password>' 
        $basicauth = [Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes("${username}:${password}")) 
        $headers = @{ 
            "User-Agent" = "PowerShell-Keepit-API-Agent-1.0" 
            "Authorization" = "Basic $basicauth" 
        }