Partner API: Authentication
API credentials
To access the Partner API, a partner must use the username and password of a user associated with their Partner account.
When a partner account is created, a full admin user is automatically generated. This admin user can then create additional users via the API. It is recommended to create a dedicated user specifically for API access.
The user credentials used must have the necessary permissions to perform the required actions. For more details, see: PMC User roles and permissions.
Basic authentication
Basic authentication is widely supported by many API tools, including Postman, as well as by various scripting and programming languages, such as PowerShell.
Postman example
PowerShell example
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" }